Difference between revisions of "Template:Old button"
From LFS Manual
Jump to navigationJump to searchBokujishin (talk | contribs) |
(use <samp> tag inside <kbd>) |
||
| Line 1: | Line 1: | ||
<!-- | <!-- | ||
| − | -->< | + | --><kbd class="nowrap" style="display: inline-block; color: {{{3|black}}}; padding: 1px 6px; border: 0; background-color: {{#switch: {{{2|}}} |
| palegreen = #a1ffa1 | | palegreen = #a1ffa1 | ||
| paleorange = #ffd3a1 | | paleorange = #ffd3a1 | ||
| Line 16: | Line 16: | ||
| orange = #ffa13b | | orange = #ffa13b | ||
| {{{2|#c9c9c9}}} | | {{{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!}}}}}}</ | + | }}; 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|}}}"><samp style="font-family: sans-serif">{{{text|{{{1|Hello, World!}}}}}}</samp></kbd><!-- |
--><noinclude> | --><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 09:02, 14 February 2026
Hello, World!
Template documentation
This template allows you to illustrate LFS buttons in the "old" style, mostly used in the LFS Editor. For the new style, see template Button.
| Markup | Renders as |
|---|---|
{{Old button|main object}}
|
main object |
| Markup | Renders as |
|---|---|
{{Old button|layers|#a1a1ff}}
|
layers |
Available named colours
| Markup | Renders as |
|---|---|
{{Old button|lightgrey|lightgrey}}
{{Old button|grey|grey}}
{{Old button|darkgrey|darkgrey}}
{{Old button|palegreen|palegreen}}
{{Old button|green|green}}
{{Old button|palecyan|palecyan}}
{{Old button|paleviolet|paleviolet}}
{{Old button|palered|palered}}
{{Old button|orange|orange}}
{{Old button|paleorange|paleorange}}
{{Old button|lightyellow|lightyellow}}
{{Old button|yellow|yellow}}
{{Old button|paleyellow|paleyellow}}
{{Old button|palepink|palepink}}
|
lightgrey |