(Created page with "Shows a set of buttons to allow the user to choose their operating system. It links to a subpage. Set the parameters <code>|windows=1</code>, <code>|linux=1</code>, or <code>|mac=1</code>. Shortened aliases are available: <code>|w=1</code>, <code>|l=1</code>, <code>|m=1</code>, <templatedata> { "params": { "windows": { "aliases": [ "w" ], "label": "Windows", "description": "Link to Windows subpage", "type": "boolean" }, "linux": { "aliases...") |
(add hideheader param) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Shows a set of buttons to allow the user to choose their operating system. It links to a subpage. | Shows a set of buttons to allow the user to choose their operating system. It links to a subpage. | ||
Set the parameters <code>|windows=1</code>, <code>|linux=1</code>, or <code>|mac=1</code>. Shortened aliases are available: <code>|w=1</code>, <code>|l=1</code>, <code>|m=1</code> | Set the parameters <code>|windows=1</code>, <code>|linux=1</code>, or <code>|mac=1</code>. Shortened aliases are available: <code>|w=1</code>, <code>|l=1</code>, <code>|m=1</code> | ||
== TemplateData == | |||
<templatedata> | <templatedata> | ||
Line 28: | Line 30: | ||
"label": "Mac", | "label": "Mac", | ||
"description": "Link to Mac subpage", | "description": "Link to Mac subpage", | ||
"type": "boolean" | |||
}, | |||
"hideheader": { | |||
"label": "Hide header", | |||
"description": "Don't show the \"Choose your operating system\" header", | |||
"type": "boolean" | "type": "boolean" | ||
} | } | ||
Line 35: | Line 42: | ||
"windows", | "windows", | ||
"linux", | "linux", | ||
"mac" | "mac", | ||
"hideheader" | |||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> |
Latest revision as of 23:50, 18 December 2023
Shows a set of buttons to allow the user to choose their operating system. It links to a subpage.
Set the parameters |windows=1
, |linux=1
, or |mac=1
. Shortened aliases are available: |w=1
, |l=1
, |m=1
TemplateData
Link to per-OS subpages
Parameter | Description | Type | Status | |
---|---|---|---|---|
Windows | windows w | Link to Windows subpage | Boolean | optional |
Linux | linux l | Link to Linux subpage | Boolean | optional |
Mac | mac m | Link to Mac subpage | Boolean | optional |
Hide header | hideheader | Don't show the "Choose your operating system" header | Boolean | optional |