Difference between revisions of "Help:CustomTemplates"

From ZFGCpedia
Jump to: navigation, search
Line 28: Line 28:
  
 
== Examples ==
 
== Examples ==
 +
__FORCETOC__
 +
{{Game
 +
|title=Skyward Sword
 +
|release=EU Nov 18, 2011<br />
 +
NA Nov 20, 2011<br />
 +
JP Nov 23, 2011<br />
 +
AU Nov 24, 2011
 +
|genre=Action-Adventure
 +
|developer=Nintendo EAD<br />
 +
Nintendo SPD<br />
 +
Monolith Soft
 +
|publisher=Nintendo
 +
|ESRB=E10+
 +
|platform=Wii
 +
}}
 
  <code><nowiki>__FORCETOC__
 
  <code><nowiki>__FORCETOC__
 
  {{</nowiki></code>Game
 
  {{</nowiki></code>Game
Line 43: Line 58:
 
</nowiki>
 
</nowiki>
 
</code>
 
</code>
 
 
 
  <code><nowiki>__FORCETOC__
 
  <code><nowiki>__FORCETOC__
 
  {{</nowiki></code>Game
 
  {{</nowiki></code>Game
Line 54: Line 67:
 
</nowiki>
 
</nowiki>
 
</code>
 
</code>
 +
__FORCETOC__
 +
{{Game
 +
|title=Star Fox 2
 +
|genre=Action-Adventure, Shooter
 +
|developer=Nintendo EAD
 +
|platform=SNES
 +
}}

Revision as of 12:12, 25 September 2012

Here on ZFGCpedia, we deploy use of some custom-written templates. This page is to provide documentation on those templates.

A Note on templates: You do NOT need to satisfy each variable in order for a template to draw. Click here to see examples

Game Template

Template:Game The game template is used to create a metadata info "badge" of sorts detailing information on the given title.

Syntax

In a wiki article, to employ the user of the game template, the following has to be entered:

{{Game
|title=
|release=
|genre=
|developer=
|publisher=
|ESRB=
|platform=
 }}
  • title - For specifying the title of the game.

Ex: |title=Legend of Zelda

  • release - For sepcifying the release date. Append a <br /> should you want to add a line break for additional release date information(this applies to any entry here).

Ex: |release=NA: July 1, 1999

  • genre - For specifying the genre of the title.
  • developer - Who are the developer(s) working on the game
  • ESRB - ESRB rating, if applicable.
  • platform - Platform(s) the title was published on.

Examples

Game Information
About Skyward Sword:
Date Released: EU Nov 18, 2011

NA Nov 20, 2011
JP Nov 23, 2011
AU Nov 24, 2011

Genre: Action-Adventure
Developer: Nintendo EAD

Nintendo SPD
Monolith Soft

Publisher: Nintendo
ESRB Rating: E10+
Platform(s): Wii


__FORCETOC__
 {{Game
|title=Skyward Sword
|release=EU Nov 18, 2011<br />
NA Nov 20, 2011<br />
JP Nov 23, 2011<br />
AU Nov 24, 2011 |genre=Action-Adventure |developer=Nintendo EAD<br />
Nintendo SPD<br />
Monolith Soft |publisher=Nintendo |ESRB=E10+ |platform=Wii }}

__FORCETOC__
 {{Game
|title=Star Fox 2
|genre=Action-Adventure, Shooter
|developer=Nintendo EAD
|platform=SNES
}}


Game Information
About Star Fox 2:
Date Released: {{{release}}}
Genre: Action-Adventure, Shooter
Developer: Nintendo EAD
Publisher: {{{publisher}}}
ESRB Rating: {{{ESRB}}}
Platform(s): SNES