Difference between revisions of "Template:Gamecompany/doc"

From Hgames Wiki
Jump to: navigation, search
(Created page with "The {{t|gamecompany}} template is for creating game company's nav headers in the wiki. Usage: <pre>{{gamecompany |company=CompanyName |category=CategoryUsed |modpage=Foo }}</...")
 
(updated documentation)
Line 10: Line 10:
 
* company: The name of the game company. Required
 
* company: The name of the game company. Required
 
* category: The name of the category this page and all game pages should be in. Defaults to CompanyName
 
* category: The name of the category this page and all game pages should be in. Defaults to CompanyName
* modpage: Prefix of a modding page for that company. Link will point to "<nowiki>{{{modpage}}}</nowiki> modding guide". Defaults to "general modding guide".
+
* modpage: The name or prefix of the modding guide page. If ommited, no link will be displayed. if given and the page exists a link will be displayed. If given and page does not exist, will be used as a prefix - Link will point to "<nowiki>{{{modpage}}}</nowiki> modding guide".
  
 
For the game list, requires a separate template <nowiki>'''{{{company}}}Games'''</nowiki>.
 
For the game list, requires a separate template <nowiki>'''{{{company}}}Games'''</nowiki>.
  
 
Will put the Page also in the Category "Game Company"
 
Will put the Page also in the Category "Game Company"

Revision as of 11:22, 23 March 2014

The {{gamecompany}} template is for creating game company's nav headers in the wiki.

Usage:

{{gamecompany
|company=CompanyName
|category=CategoryUsed
|modpage=Foo
}}
  • company: The name of the game company. Required
  • category: The name of the category this page and all game pages should be in. Defaults to CompanyName
  • modpage: The name or prefix of the modding guide page. If ommited, no link will be displayed. if given and the page exists a link will be displayed. If given and page does not exist, will be used as a prefix - Link will point to "{{{modpage}}} modding guide".

For the game list, requires a separate template '''{{{company}}}Games'''.

Will put the Page also in the Category "Game Company"