Welcome to the Lylat Wiki, all about the Star Fox series! If you'd like to help out, please take a look at our community portal.
Difference between revisions of "Template:Console-code"
From Lylat Wiki, your source on Star Fox information. By Fans, for Fans.
Jump to navigationJump to search
Line 11: | Line 11: | ||
| virtual console | | virtual console | ||
| vc = {{#vardefine: output-text | {{#var: vc-text}} }} | | vc = {{#vardefine: output-text | {{#var: vc-text}} }} | ||
| game boy advance | |||
| gba = {{#vardefine: output-text | {{#var: gba-text}} }} | |||
| nintendo ds | | nintendo ds | ||
| ds | | ds | ||
| nds = {{#vardefine: output-text | {{#var: nds-text}} }} | | nds = {{#vardefine: output-text | {{#var: nds-text}} }} | ||
| | | nintendo 3ds | ||
| | | 3ds = {{#vardefine: output-text | {{#var: 3ds-text}} }} | ||
| #default = | | #default = | ||
}}[[{{#var: output-text | Consoles }}]]{{#ifeq: {{{cat|}}} | yes | [[Category:{{#var: output-text }}|{{{sortkey|}}}]] }} | }}[[{{#var: output-text | Consoles }}]]{{#ifeq: {{{cat|}}} | yes | [[Category:{{#var: output-text }}|{{{sortkey|}}}]] }} | ||
<noinclude>{{doc}}{{auto-cat2|Console Templates|Code Templates}}</noinclude> | <noinclude>{{doc}}{{auto-cat2|Console Templates|Code Templates}}</noinclude> |
Revision as of 07:30, 27 October 2010
Peppy Hare: "Falco, this template's documentation needs to be improved to meet LW:TS." | |
Falco Lombardi: "Why are you asking me? Isn't that Slippy's job?"
|
Name | Console-code |
---|---|
Link | {{Console-code}} |
Info |
Purpose
Usage
By putting in a specific text, the template will auto-generate a link to the requested Console page. By adding cat = yes
, it automatically adds the page to a category of the same name as the console page. This category link uses a sortkey given through {{{sortkey}}}. This is helpful with sorting box art, screenshots, and other pages
Parameters
Name | Description | Value information | |||||||
---|---|---|---|---|---|---|---|---|---|
(the first one) |
|
||||||||
cat | yes | ||||||||
sortkey | |||||||||
Notes:
|
Example
{{Console-code | #1 }}