Difference between revisions of "Template:Old button"
From LFS Manual
Jump to navigationJump to searchm |
(template documentation) |
||
Line 2: | Line 2: | ||
--><span class="nowrap" style="color: black; padding: 3px 6px; border: 0; background-color: {{{2|#c9c9c9}}}; box-shadow: inset 2px 2px 2px rgba(255,255,255,0.5), inset -2px -2px 2px rgba(120,120,120,0.5); font-weight: bold; {{{style|}}}">{{{text|{{{1|Hello, World!}}}}}}</span><!-- | --><span class="nowrap" style="color: black; padding: 3px 6px; border: 0; background-color: {{{2|#c9c9c9}}}; box-shadow: inset 2px 2px 2px rgba(255,255,255,0.5), inset -2px -2px 2px rgba(120,120,120,0.5); font-weight: bold; {{{style|}}}">{{{text|{{{1|Hello, World!}}}}}}</span><!-- | ||
--><noinclude> | --><noinclude> | ||
− | + | == Template documentation == | |
+ | This template allows you to illustrate LFS buttons in the "old" style, mostly used in the LFS Editor. | ||
+ | === Parameters === | ||
+ | * first (required): shown text | ||
+ | * second (optional): colour for the button (hex), if not set, grey | ||
+ | === Examples === | ||
+ | <pre> | ||
+ | {{Old button|main object}} | ||
+ | </pre> | ||
+ | Renders as: {{Old button|main object}} | ||
+ | <pre> | ||
+ | {{Old button|layers|#a1a1ff}} | ||
+ | </pre> | ||
+ | Renders as: {{Old button|layers|#a1a1ff}} | ||
</noinclude> | </noinclude> |
Revision as of 00:43, 14 December 2021
Hello, World!
Template documentation
This template allows you to illustrate LFS buttons in the "old" style, mostly used in the LFS Editor.
Parameters
- first (required): shown text
- second (optional): colour for the button (hex), if not set, grey
Examples
{{Old button|main object}}
Renders as: main object
{{Old button|layers|#a1a1ff}}
Renders as: layers