Difference between revisions of "Template:Button/doc"

From LFS Manual
Jump to navigationJump to search
m
(→‎Examples: example markups fixed)
Line 4: Line 4:
  
 
{{markup|
 
{{markup|
<nowiki>{{button|Button}}</nowiki>|{{button|Display}}}}<!-- Template:Mra -->
+
<nowiki>{{button|Display}}</nowiki>|{{button|Display}}}}<!-- Template:Mra -->
 
{{markup|
 
{{markup|
<nowiki>{{button|Button|light}}</nowiki>|{{button|in car|light}}}}<!-- Template:Mra -->
+
<nowiki>{{button|in car|light}}</nowiki>|{{button|in car|light}}}}<!-- Template:Mra -->
 
{{markup|
 
{{markup|
<nowiki>{{button|Button|green}}</nowiki>|{{button|in car|green}}}}<!-- Template:Mra -->
+
<nowiki>{{button|in car|green}}</nowiki>|{{button|in car|green}}}}<!-- Template:Mra -->
 
{{markup|
 
{{markup|
 
<nowiki>{{button|Button with (parentheses)}}</nowiki>|{{button|Button with (parentheses)}}}}<!-- Template:Mra -->
 
<nowiki>{{button|Button with (parentheses)}}</nowiki>|{{button|Button with (parentheses)}}}}<!-- Template:Mra -->

Revision as of 14:55, 9 December 2023

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

Examples

Markup Renders as
{{button|Display}}

Display

Markup Renders as
{{button|in car|light}}

in car

Markup Renders as
{{button|in car|green}}

in car

Markup Renders as
{{button|Button with (parentheses)}}

Button with (parentheses)