Difference between revisions of "Template:Option"

From LFS Manual
Jump to navigationJump to search
(Created page with "<includeonly>{{button|{{{1}}}|light}} {{#if:{{{2|}}}|{{button|{{{2}}}|light}}}} {{#if:{{{3|}}}|{{button|{{{3}}}|light}}}} {{#if:{{{4|}}}|{{button|{{{4}}}|light}}}}</includeonl...")
 
(support 6 options)
 
Line 1: Line 1:
<includeonly>{{button|{{{1}}}|light}} {{#if:{{{2|}}}|{{button|{{{2}}}|light}}}} {{#if:{{{3|}}}|{{button|{{{3}}}|light}}}} {{#if:{{{4|}}}|{{button|{{{4}}}|light}}}}</includeonly><noinclude>{{documentation}}</noinclude>
+
<includeonly>{{button|{{{1}}}|light}} {{#if:{{{2|}}}|{{button|{{{2}}}|light}}}} {{#if:{{{3|}}}|{{button|{{{3}}}|light}}}} {{#if:{{{4|}}}|{{button|{{{4}}}|light}}}} {{#if:{{{5|}}}|{{button|{{{5}}}|light}}}} {{#if:{{{6|}}}|{{button|{{{6}}}|light}}}}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 20:07, 5 December 2023

Template Info-Icon.png

Template documentation

View - Edit

Used to indicate options selectable by user, for a specific setting. A maximum of 6 options are allowed.

Usage

Markup Renders as
{{option|one}}

one

Markup Renders as
{{option|one|two|three|four|five|six}}

one two three four five six