GameCategory – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Fix template) |
Lou Montana (talk | contribs) m (Fix examples) |
||
Line 19: | Line 19: | ||
| {{n/a}} | | {{n/a}} | ||
|- | |- | ||
| <nowiki>{{GameCategory| | | <nowiki>{{GameCategory|arma}}</nowiki> | ||
| <tt><nowiki>[[Category:{{Name| | | <tt><nowiki>[[Category: {{Name|arma}}]]</nowiki></tt><br>End result: <tt>[[<nowiki/>Category: {{Name|arma}}]]</tt> | ||
|- | |- | ||
| <nowiki>{{GameCategory|arma3|Editing}}</nowiki> | | <nowiki>{{GameCategory|arma3|Editing}}</nowiki> | ||
| <tt><nowiki>[[Category:{{Name|arma3}}: Editing]]</nowiki></tt><br>End result: <tt><nowiki> | | <tt><nowiki>[[Category: {{Name|arma3}}: Editing]]</nowiki></tt><br>End result: <tt>[[<nowiki/>Category: {{Name|arma3}}: Editing]]</tt> | ||
|} | |} | ||
[[Category:Templates|{{uc:{{PAGENAME}}}}]] | [[Category:Templates|{{uc:{{PAGENAME}}}}]] | ||
</noinclude> | </noinclude> |
Revision as of 14:41, 26 July 2020
Adds a game (sub-)category to the proper format.
Usage
{{GameCategory|game|subCategory}}
- game: game id, see {{Name}}
- subCategory: (Optional, default empty) sub-category (e.g Editing)
Code | Result |
---|---|
{{GameCategory}} | N/A |
{{GameCategory|arma}} | [[Category: {{Name|arma}}]] End result: [[Category: Arma]] |
{{GameCategory|arma3|Editing}} | [[Category: {{Name|arma3}}: Editing]] End result: [[Category: Arma 3: Editing]] |