Difference between revisions of "Help:Templates"

From Data Crystal
Jump to: navigation, search
(Added GBA Template)
(added mention of GB template.)
Line 19: Line 19:
 
; [[:Template:Genesis]] : Should be at the top of all pages documenting [[Sega Genesis|Genesis]] games. Takes many arguments, which are described on its [[Template talk:Genesis|talk page]].
 
; [[:Template:Genesis]] : Should be at the top of all pages documenting [[Sega Genesis|Genesis]] games. Takes many arguments, which are described on its [[Template talk:Genesis|talk page]].
 
; [[:Template:GBA]] : Should be at the top of all pages documenting [[Nintendo Game Boy Advance|GBA]] games. Takes many arguments, which are described on its [[Template talk:GBA|talk page]].
 
; [[:Template:GBA]] : Should be at the top of all pages documenting [[Nintendo Game Boy Advance|GBA]] games. Takes many arguments, which are described on its [[Template talk:GBA|talk page]].
 +
; [[:Template:GB]] : Should be at the top of all pages documenting [[Nintendo Game Boy|GB]] games. Takes many arguments, which are described on its [[Template talk:GBA|talk page]].

Revision as of 00:08, 6 January 2007

Templates are special pages which reduce the need for writing the same thing multiple times. For general information on creating and using templates, see Meta-Wiki's page on templates. This page will list and explain the templates available on this wiki.

One important feature of templates is their ability to take arguments. A template with no arguments is called as

{{template name}}

Note that the "Template:" part of the name is left out. To send arguments, one writes

{{template name|argument1=value1|argument2=Some other value}}
Template:Clear 
Makes sure that the following text will not overlap any floats.
Template:Tl 
Displays the name of a template as a link to that template.
Template:Stub 
Put at the bottom of a page to mark it as lacking in content. The page will be put into Category:Stubs.
Template:Moreinfo wikipedia 
Makes a link to wikipedia to the page specified by the page variable given to the template.
Template:Rommap 
Should be at the top of every ROM map. Takes the argument game, which should be a wiki-link to the game which the page is a ROM map for.
Template:Rammap 
Should be at the top of every RAM map. Takes the argument game, which should be a wiki-link to the game which the page is a RAM map for.
Template:Infobox table 
Should be at the top of all pages documenting data tables. Takes many arguments, which are described on its talk page.
Template:Infobox utility 
Should be at the top of all pages documenting ROM hacking utilities. Takes many arguments, which are described on its talk page.
Template:Infobox hack 
Should be at the top of all pages documenting ROM hacks. Takes many arguments, which are described on its talk page.
Template:INES 
Should be at the top of all pages documenting NES games. Takes many arguments, which are described on its talk page.
Template:SNES 
Should be at the top of all pages documenting SNES games. Takes many arguments, which are described on its talk page.
Template:Genesis 
Should be at the top of all pages documenting Genesis games. Takes many arguments, which are described on its talk page.
Template:GBA 
Should be at the top of all pages documenting GBA games. Takes many arguments, which are described on its talk page.
Template:GB 
Should be at the top of all pages documenting GB games. Takes many arguments, which are described on its talk page.