Difference between revisions of "Help:CustomTemplates"

From ZFGCpedia
Jump to: navigation, search
(Created page with "Here on ZFGCpedia, we deploy use of some custom-written templates. This page is to provide documentation on those templates. = Game Template = Template:Game The game temp...")
 
 
(5 intermediate revisions by the same user not shown)
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 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 ==
 
In a wiki article, to employ the user of the game template, the following has to be entered:
 
In a wiki article, to employ the user of the game template, the following has to be entered:
  {{
+
  {{Game
Game
 
 
  |title=
 
  |title=
 
  |release=
 
  |release=
Line 15: Line 16:
 
  |publisher=
 
  |publisher=
 
  |ESRB=
 
  |ESRB=
  |platform=
+
  |platform=<code><nowiki>
<code><nowiki>
 
 
  }}</nowiki></code>
 
  }}</nowiki></code>
 
 
*title - For specifying the title of the game.  
 
*title - For specifying the title of the game.  
 
Ex: |title=Legend of Zelda
 
Ex: |title=Legend of Zelda
*release - For sepcifying the release date. Append a <code><nowiki><br /></nowiki></code> should you want to add a line break for additional release date information.
+
*release - For sepcifying the release date. Append a <code><nowiki><br /></nowiki></code> 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
 
Ex: |release=NA: July 1, 1999
 
*genre - For specifying the genre of the title.
 
*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
 +
|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>
 +
{{</nowiki></code>Game
 +
|title=Skyward Sword
 +
|release=EU Nov 18, 2011<code><nowiki><br /></nowiki></code><br />
 +
NA Nov 20, 2011<code><nowiki><br /></nowiki></code><br />
 +
JP Nov 23, 2011<code><nowiki><br /></nowiki></code><br />
 +
AU Nov 24, 2011
 +
|genre=Action-Adventure
 +
|developer=Nintendo EAD<code><nowiki><br /></nowiki></code><br />Nintendo SPD<code><nowiki><br /></nowiki></code><br />Monolith Soft
 +
|publisher=Nintendo
 +
|ESRB=E10+
 +
|platform=Wii
 +
<code><nowiki>}}
 +
</nowiki>
 +
</code>
 +
 +
= 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 ==
 +
<code><nowiki>{{</nowiki></code>UserProfile
 +
|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>
 +
 +
= King Of Thieves Item Template =
 +
This is the template for drawing ONLY ITEM information. Should there be content in King of Thieves using this template, it must be replaced with a proper template for said content.
 +
 +
''NOTE: Not ALL attributes have to be met for this template''
 +
 +
<code><nowiki>{{</nowiki></code>ItemInfoBox
 +
|title=
 +
|img1=
 +
|type=
 +
|location=
 +
|required=
 +
|cost=
 +
|damagerate=
 +
|ammo=
 +
<code><nowiki>}}</nowiki></code>
 +
 +
== Examples ==
 +
{{ItemInfobox
 +
|title = Sea Cog
 +
|img1 = <!-- Insert some type of art here later on -->
 +
|obtained = [[KOT:Lake Hylia Temple|Lake Hylia Temple]]
 +
}}
 +
<code><nowiki>{{</nowiki></code>ItemInfobox
 +
|title = Sea Cog
 +
|img1 = <!-- Insert some type of art here later on -->
 +
|obtained = [[KOT:Lake Hylia Temple|Lake Hylia Temple]]
 +
<code><nowiki>}}</nowiki></code>

Latest revision as of 12:30, 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
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



 {{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:
Gm112 avatar.png
Profile: Profile Stats
Gender: Male
Location: Ohio
Notes: gm112 smellz
{{UserProfile
|avatar=gm112_avatar.png
|userid=15168
|gender=Male
|location=Ohio
|notes=gm112 smellz
}}

King Of Thieves Item Template

This is the template for drawing ONLY ITEM information. Should there be content in King of Thieves using this template, it must be replaced with a proper template for said content.

NOTE: Not ALL attributes have to be met for this template

{{ItemInfoBox
|title=
|img1=
|type=
|location=
|required=
|cost=
|damagerate=
|ammo=
}}

Examples

Sea Cog
Obtained Lake Hylia Temple
{{ItemInfobox
|title = Sea Cog
|img1 = 
|obtained = Lake Hylia Temple
}}