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)
 
(One intermediate revision by the same user not shown)
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: 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"

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