Difference between revisions of "Template:Button/doc"
From LFS Manual
Jump to navigationJump to searchm |
|||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| + | <noinclude>{{documentation subpage}}</noinclude> | ||
| + | |||
This template allows you to illustrate LFS buttons in the current style. For the old-styled buttons, see template: [[Template:Old button|Old button]]. | This template allows you to illustrate LFS buttons in the current style. For the old-styled buttons, see template: [[Template:Old button|Old button]]. | ||
| − | + | == Examples == | |
{{markup| | {{markup| | ||
| − | <nowiki>{{button| | + | <nowiki>{{button|Display}}</nowiki>|{{button|Display}}}}<!-- Template:Mra --> |
{{markup| | {{markup| | ||
| − | <nowiki>{{button| | + | <nowiki>{{button|in car|light}}</nowiki>|{{button|in car|light}}}}<!-- Template:Mra --> |
{{markup| | {{markup| | ||
| − | <nowiki>{{button| | + | <nowiki>{{button|in car|ok}}</nowiki>|{{button|in car|ok}}}}<!-- 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 --> | ||
| + | {{markup| | ||
| + | <nowiki>{{button|quit|cancel}}</nowiki>|{{button|quit|cancel}}}}<!-- Template:Mra --> | ||
| + | |||
| + | == See also == | ||
| + | |||
| + | * [[Template:Old button]] | ||
<includeonly> | <includeonly> | ||
[[Category:LFS button templates]] | [[Category:LFS button templates]] | ||
</includeonly> | </includeonly> | ||
Latest revision as of 09:14, 14 February 2026
| This is a documentation subpage for Template:Button.
It may contain usage information, categories and other content that is not part of the original page. |
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|ok}}
|
in car |
| Markup | Renders as |
|---|---|
{{button|Button with (parentheses)}}
|
Button with (parentheses) |
| Markup | Renders as |
|---|---|
{{button|quit|cancel}}
|
quit |
See also