Template:Button
From LFS Manual
Jump to navigationJump to search{{{1}}}
Template documentation
[[ This template allows you to illustrate LFS buttons in the current style. For the old-styled buttons, see template: Old button.
Parameters
- first (required): shown text
- second (optional): variant; set to "light" for the light variant
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 |
/doc|View]] - Edit
{{: This template allows you to illustrate LFS buttons in the current style. For the old-styled buttons, see template: Old button.
Parameters
- first (required): shown text
- second (optional): variant; set to "light" for the light variant
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 |
/doc}}