Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Console selector/doc: Difference between revisions

Template page
(wii=)
(Created page with "This is a button selector for disambiguation pages where each console has a different page. This provides three arguments: <code>|3ds=</code>, <code>|wiiu=</code>, and <code>|switch=</code>. Set <code>1</code> to link to the same page in the console namespace (e.g. if the page is "Cheats", <code>|3ds=1</code> will link to "3DS:Cheats"). Set to a page title to link to a specific one, including namespace (e.g. <code>|3ds=3DS:Game plugins</code>). == TemplateData == <tem...")
Line 1: Line 1:
This is a button selector for disambiguation pages where each console has a different page.
This is a button selector for disambiguation pages where each console has a different page.


This provides three arguments: <code>|3ds=</code>, <code>|wiiu=</code>, <code>|switch=</code>, and <code>|wii=</code>. Set <code>1</code> to link to the same page in the console namespace (e.g. if the page is "Cheats", <code>|3ds=1</code> will link to "3DS:Cheats"). Set to a page title to link to a specific one, including namespace (e.g. <code>|3ds=3DS:Game plugins</code>).
This provides three arguments: <code>|3ds=</code>, <code>|wiiu=</code>, and <code>|switch=</code>. Set <code>1</code> to link to the same page in the console namespace (e.g. if the page is "Cheats", <code>|3ds=1</code> will link to "3DS:Cheats"). Set to a page title to link to a specific one, including namespace (e.g. <code>|3ds=3DS:Game plugins</code>).


== TemplateData ==
== TemplateData ==
Line 21: Line 21:
"label": "Switch page",
"label": "Switch page",
"description": "Set to 1 to link to same page in Switch namespace, or to a specific page name to link to that",
"description": "Set to 1 to link to same page in Switch namespace, or to a specific page name to link to that",
"type": "string"
},
"wii": {
"label": "Wii page",
"description": "Set to 1 to link to same page in Wii namespace, or to a specific page name to link to that",
"type": "string"
"type": "string"
}
}

Revision as of 05:21, 2 March 2023

This is a button selector for disambiguation pages where each console has a different page.

This provides three arguments: |3ds=, |wiiu=, and |switch=. 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

Template parameters

ParameterDescriptionTypeStatus
3DS page3ds

Set to 1 to link to same page in 3DS namespace, or to a specific page name to link to that

Stringoptional
Wii U pagewiiu

Set to 1 to link to same page in Wii U namespace, or to a specific page name to link to that

Stringoptional
Switch pageswitch

Set to 1 to link to same page in Switch namespace, or to a specific page name to link to that

Stringoptional