(Wii support) |
m (fix link mistake) |
||
Line 3: | Line 3: | ||
{{#if: {{yesno|{{{wiiu|<noinclude>Wii U:Things to do</noinclude>}}} }} | {{console selector/button|console=Wii U|page={{#ifeq: {{{wiiu<noinclude>|1</noinclude>}}} | 1 | Wii U:{{FULLPAGENAME}} | {{{wiiu}}} <!-- ifeq -->}}}} <!-- if -->}} | {{#if: {{yesno|{{{wiiu|<noinclude>Wii U:Things to do</noinclude>}}} }} | {{console selector/button|console=Wii U|page={{#ifeq: {{{wiiu<noinclude>|1</noinclude>}}} | 1 | Wii U:{{FULLPAGENAME}} | {{{wiiu}}} <!-- ifeq -->}}}} <!-- if -->}} | ||
{{#if: {{yesno|{{{switch|<noinclude>Switch:Things to do</noinclude>}}} }} | {{console selector/button|console=Nintendo Switch|page={{#ifeq: {{{switch<noinclude>|1</noinclude>}}} | 1 | Switch:{{FULLPAGENAME}} | {{{switch}}} <!-- ifeq -->}}}} <!-- if -->}} | {{#if: {{yesno|{{{switch|<noinclude>Switch:Things to do</noinclude>}}} }} | {{console selector/button|console=Nintendo Switch|page={{#ifeq: {{{switch<noinclude>|1</noinclude>}}} | 1 | Switch:{{FULLPAGENAME}} | {{{switch}}} <!-- ifeq -->}}}} <!-- if -->}} | ||
{{#if: {{yesno|{{{wii|<noinclude>Wii:Things to do</noinclude>}}} }} | {{console selector/button|console=Wii|page={{#ifeq: {{{wii<noinclude>|1</noinclude>}}} | 1 | Wii:{{FULLPAGENAME}} | {{{ | {{#if: {{yesno|{{{wii|<noinclude>Wii:Things to do</noinclude>}}} }} | {{console selector/button|console=Wii|page={{#ifeq: {{{wii<noinclude>|1</noinclude>}}} | 1 | Wii:{{FULLPAGENAME}} | {{{wii}}} <!-- ifeq -->}}}} <!-- if -->}} | ||
</span><noinclude>{{Documentation}} | </span><noinclude>{{Documentation}} |
Revision as of 15:53, 2 November 2023
This is a button selector for disambiguation pages where each console has a different page.
This provides three arguments: |3ds=
, |wiiu=
, |switch=
, and |wii=
. Set 1
to link to the same page in the console namespace (e.g. if the page is "Cheats", |3ds=1
will link to "3DS:Cheats"). Set to a page title to link to a specific one, including namespace (e.g. |3ds=3DS:Game plugins
).
TemplateData
Link to console-specific page
Parameter | Description | Type | Status | |
---|---|---|---|---|
3DS page | 3ds | Set to 1 to link to same page in 3DS namespace, or to a specific page name to link to that | String | optional |
Wii U page | wiiu | Set to 1 to link to same page in Wii U namespace, or to a specific page name to link to that | String | optional |
Switch page | switch | Set to 1 to link to same page in Switch namespace, or to a specific page name to link to that | String | optional |
Wii page | wii | Set to 1 to link to same page in Wii namespace, or to a specific page name to link to that | String | optional |