Difference between revisions of "Help:CustomTemplates"
Line 1: | Line 1: | ||
Here on ZFGCpedia, we deploy use of some custom-written templates. This page is to provide documentation on those templates. | 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 | + | ''A Note on templates: You do NOT need to satisfy each attribute in order for certain templates to draw. [[Help:CustomTemplates#Examples|Click here to see examples]]'' |
= Game Template = | = Game Template = | ||
[[Template:Game]] | [[Template:Game]] | ||
− | The game template is used to create a metadata info "badge" of sorts detailing information on the given title. | + | The game template is used to create a metadata info "badge" of sorts detailing information on the given title. You ''MUST'' fill in all of the attributes for this template to draw properly. |
== Syntax == | == Syntax == | ||
Line 28: | Line 28: | ||
== Examples == | == Examples == | ||
− | |||
{{Game | {{Game | ||
|title=Skyward Sword | |title=Skyward Sword | ||
Line 43: | Line 42: | ||
|platform=Wii | |platform=Wii | ||
}} | }} | ||
− | <code><nowiki> | + | <code><nowiki> |
{{</nowiki></code>Game | {{</nowiki></code>Game | ||
|title=Skyward Sword | |title=Skyward Sword | ||
Line 58: | Line 57: | ||
</nowiki> | </nowiki> | ||
</code> | </code> | ||
− | <code><nowiki> | + | |
− | + | = User Badge Templates = | |
− | | | + | I will use my own user badge as an example here. Mediawiki gives each user a personal page associated with their user account. |
− | | | + | |
− | | | + | ''NOTE: You DO NOT need to satisfy each attribute for this template to draw properly.'' |
− | | | + | |
− | <code><nowiki>}} | + | == Syntax == |
− | </nowiki> | + | <code><nowiki>{{</nowiki></code>UserProfile |
− | </code> | + | |avatar= |
− | + | |userid= | |
− | {{ | + | |gender= |
− | | | + | |location= |
− | | | + | |notes= |
− | | | + | <code><nowiki>}}</nowiki></code> |
− | | | + | |
− | }} | + | == Example == |
+ | {{UserProfile | ||
+ | |avatar=gm112_avatar.png | ||
+ | |userid=15168 | ||
+ | |gender=Male | ||
+ | |location=Ohio | ||
+ | |notes=gm112 smellz | ||
+ | }} | ||
+ | <code><nowiki>{{</nowiki></code>UserProfile | ||
+ | |avatar=gm112_avatar.png | ||
+ | |userid=15168 | ||
+ | |gender=Male | ||
+ | |location=Ohio | ||
+ | |notes=gm112 smellz | ||
+ | <code><nowiki>}}</nowiki></code> |
Revision as of 12:20, 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 attribute in order for certain templates 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. You MUST fill in all of the attributes for this template to draw properly.
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 |
Genre: | Action-Adventure |
Developer: | Nintendo EAD Nintendo SPD |
Publisher: | Nintendo |
ESRB Rating: | E10+ |
Platform(s): | Wii |
{{
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}}
User Badge Templates
I will use my own user badge as an example here. Mediawiki gives each user a personal page associated with their user account.
NOTE: You DO NOT need to satisfy each attribute for this template to draw properly.
Syntax
{{
UserProfile |avatar= |userid= |gender= |location= |notes=}}
Example
User Information | |
About CustomTemplates: | |
Avatar: | |
Profile: | Profile Stats |
Gender: | Male |
Location: | Ohio |
Notes: | gm112 smellz |
{{
UserProfile |avatar=gm112_avatar.png |userid=15168 |gender=Male |location=Ohio |notes=gm112 smellz}}