GameCategory

From Bohemia Interactive Community
Revision as of 02:58, 26 July 2020 by Lou Montana (talk | contribs) (Template creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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)


Examples
Code Result
{{GameCategory}} N/A
{{GameCategory|arma2}} [[Category:{{Name|arma2}}]]
End result: [[Category:Arma 2]]
{{GameCategory|arma3|Editing}} [[Category:{{Name|arma3}}: Editing]]
End result: [[Category:Arma 3: Editing]]