Difference between revisions of "Template:Button"

From LFS Manual
Jump to navigationJump to search
(added template documentation)
m
Line 21: Line 21:
 
</pre>
 
</pre>
 
Renders as: {{button|in car|light}}
 
Renders as: {{button|in car|light}}
 +
[[Category:LFS button templates]]
 
</noinclude>
 
</noinclude>

Revision as of 23:46, 1 December 2023

{{{1}}}

Template documentation

This template allows you to illustrate LFS buttons in the current style. For the old-styled buttons, see template: Old button.

Variants: default light

Parameters

  • first (required): shown text
  • second (optional): variant; set to "light" for the light variant

Examples

{{button|Display}}

Renders as: Display

{{button|in car|light}}

Renders as: in car