Template:OS selector: Difference between revisions
Template page
More actions
m fix mac button |
No edit summary |
||
| Line 1: | Line 1: | ||
{{#if: {{yesno|{{{hideheader|}}}}} | <!-- no header --> | == Choose your operating system == }} | |||
<span class="invert-dark no-rounded-image"> | <span class="invert-dark no-rounded-image"> | ||
{{#if: {{yesno|{{{windows| {{{w|<noinclude>1</noinclude>}}} }}} }} | {{Clickable button 2|[[File:Font Awesome 5 brands microsoft.svg|x20px|link=]] Windows|url={{fullurl:{{FULLPAGENAME}}/Windows}}}} }} | {{#if: {{yesno|{{{windows| {{{w|<noinclude>1</noinclude>}}} }}} }} | {{Clickable button 2|[[File:Font Awesome 5 brands microsoft.svg|x20px|link=]] Windows|url={{fullurl:{{FULLPAGENAME}}/Windows}}}} }} | ||
Revision as of 23:49, 18 December 2023
Choose your operating system
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 |