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
(does this work?)
 
(One intermediate revision by the same user not shown)
Line 19: Line 19:
| 3ds = {{#vardefine: output-text | {{#var: 3ds-text}} }}
| 3ds = {{#vardefine: output-text | {{#var: 3ds-text}} }}
| #default =  
| #default =  
}}[[{{#var: output-text | Consoles }}]]{{#ifeq: {{{cat|}}} | yes | [[Category:{{#var: output-text }}|{{{sortkey|}}}]] }}
}}[[{{#var: output-text | Category:Consoles|Consoles }}]]{{#ifeq: {{{cat|}}} | yes | [[Category:{{#var: output-text }}|{{{sortkey|}}}]] }}
<noinclude>{{doc}}{{auto-cat2|Console Templates|Code Templates}}</noinclude>
<noinclude>{{doc}}[[Category:Console Templates]]</noinclude>

Latest revision as of 04:05, 27 January 2019

Peppy Hare SF0 headshot icon.png 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?"
.....
"Fine. I'll do it."
Falco Lombardi SF0 headshot icon.png
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:

  1. Required parameters are in bold, followed by explanation of usage. Italicized parameters have a related behavior change, when a certain value is inserted.
  2. For if anything happens because a specific related value is not entered.

Example

{{Console-code | #1 }}