(fix broken links when values were anything but 1) |
(Created page with "<span class="invert-dark no-rounded-image"> {{#if: {{yesno|{{{3ds|<noinclude>3DS:Things to do</noinclude>}}} }} | {{Clickable button 2|{{#ifeq: {{{3ds<noinclude>|1</noinclude>}}} | 1 | 3DS:{{FULLPAGENAME}} | {{{3ds}}} <!-- ifeq -->}}|Nintendo 3DS <!-- cb2 -->}} <!-- if -->}} {{#if: {{yesno|{{{wiiu|<noinclude>Wii U:Things to do</noinclude>}}} }} | {{Clickable button 2|{{#ifeq: {{{wiiu<noinclude>|1</noinclude>}}} | 1 | Wii U:{{FULLPAGENAME}} | {{{wiiu}}} <!-- ifeq -->}}|Wi...") |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<span class="invert-dark no-rounded-image"> | <span class="invert-dark no-rounded-image"> | ||
{{#if: {{yesno|{{{3ds|<noinclude>3DS:Things to do</noinclude>}}} }} | {{ | {{#if: {{yesno|{{{3ds|<noinclude>3DS:Things to do</noinclude>}}} }} | {{Clickable button 2|{{#ifeq: {{{3ds<noinclude>|1</noinclude>}}} | 1 | 3DS:{{FULLPAGENAME}} | {{{3ds}}} <!-- ifeq -->}}|Nintendo 3DS <!-- cb2 -->}} <!-- if -->}} | ||
</span><noinclude>{{Documentation}} | {{#if: {{yesno|{{{wiiu|<noinclude>Wii U:Things to do</noinclude>}}} }} | {{Clickable button 2|{{#ifeq: {{{wiiu<noinclude>|1</noinclude>}}} | 1 | Wii U:{{FULLPAGENAME}} | {{{wiiu}}} <!-- ifeq -->}}|Wii U <!-- cb2 -->}} <!-- if -->}} | ||
{{#if: {{yesno|{{{switch|<noinclude>Switch:Things to do</noinclude>}}} }} | {{Clickable button 2|{{#ifeq: {{{switch<noinclude>|1</noinclude>}}} | 1 | Switch:{{FULLPAGENAME}} | {{{switch}}} <!-- ifeq -->}}|Nintendo Switch <!-- cb2 -->}} <!-- if -->}} | |||
</span> | |||
<noinclude>{{Documentation}} |
Revision as of 05:15, 2 March 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 |