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/doc"

From Lylat Wiki, your source on Star Fox information. By Fans, for Fans.
Jump to navigationJump to search
m (Text replace - 'Category:Documentation' to '{{PAGENAME}}')
(→‎Parameters: remove)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{documentation-improvement | date = August 2010 }}
{{documentation shell
{{documentation shell
| name = Console-code
| name = Console-code
| info =  
| info =  
| see also =  
| see also =  
{{Console-Templates}}
----
{{Code Templates}}
}}
}}


==Purpose==
==Purpose==
==Usage==
==Usage==
By putting in a specific text, the template will auto-generate a link to the requested Console page. By adding <code>cat = yes</code>, it automatically adds the page to a category of the same name as the console page. This category link uses a [[Lylat Wiki:sortkey|sortkey]]  given through <nowiki>{{{sortkey}}}</nowiki>. This is helpful with sorting Box art, Screen shots, and other [[Lylat Wiki:Page Types|Image types]].
By putting in a specific text, the template will auto-generate a link to the requested Console page. By adding <code>cat = yes</code>, it automatically adds the page to a category of the same name as the console page. This category link uses a [[Lylat Wiki:sortkey|sortkey]]  given through <nowiki>{{{sortkey}}}</nowiki>. This is helpful with sorting box art, screenshots, and other pages




Line 23: Line 28:
* [[Virtual Console]] - virtual console, vc  
* [[Virtual Console]] - virtual console, vc  
* [[Nintendo DS]] - Nintendo ds, ds, nds  
* [[Nintendo DS]] - Nintendo ds, ds, nds  
* Other - [[Consoles]]
* Game Boy Advance - Game Boy Advance, gba
|
|
|-
|-
Line 41: Line 46:
{{Console-code | #1 }}
{{Console-code | #1 }}
</pre> <!-- note: use an actual less than sign than the html equivalent &lt; -->
</pre> <!-- note: use an actual less than sign than the html equivalent &lt; -->
<includeonly>
<noinclude>[[Category:Documentation|{{PAGENAME}}]]</noinclude><includeonly>[[Category:Console Templates]]</includeonly>
[[Category:Console Template]]
<!-- cats -->
</includeonly>
<noinclude>[[Category:Documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 04:07, 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 }}