Difference between revisions of "Template:Gamecompany/doc"

From Hgames Wiki
Jump to: navigation, search
(updated documentation)
(updated documentation)
 
Line 3: Line 3:
 
Usage:
 
Usage:
 
<pre>{{gamecompany
 
<pre>{{gamecompany
|company=CompanyName
+
|company=Foo Inc.
|category=CategoryUsed
+
|category=Foo Inc. Games
|modpage=Foo
+
|modpage=Foo Inc Modding Guide
 
}}</pre>
 
}}</pre>
  
* company: The name of the game company. Required
+
* '''company''': The name of the game company. Defaults to the name of the page (''<nowiki>{{BASEPAGENAME}}</nowiki>'').
* 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 ''<nowiki>{{BASEPAGENAME}} Games</nowiki>''.
* 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".
+
* '''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"

Latest revision as of 13:32, 23 March 2014

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

Usage:

{{gamecompany
|company=Foo Inc.
|category=Foo Inc. Games
|modpage=Foo Inc Modding Guide
}}
  • company: The name of the game company. Defaults to the name of the page ({{BASEPAGENAME}}).
  • category: The name of the category this page and all game pages should be in. Defaults to {{BASEPAGENAME}} Games.
  • 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"