GameCategory – Template
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|arma2}} | [[Category:{{Name|arma2}}]] End result: [[Category:Arma 2]] |
| {{GameCategory|arma3|Editing}} | [[Category:{{Name|arma3}}: Editing]] End result: [[Category:Arma 3: Editing]] |