GameCategory/SortKey – Template

From Bohemia Interactive Community
< Template:GameCategory
Revision as of 13:01, 27 December 2020 by R3vo (talk | contribs) (Text replacement - "Category:Templates" to "{{uc:{{PAGENAME}}}}")
Jump to navigation Jump to search

Returns a category sort key for the provided page.

Usage

{{GameCategory/SortKey|categoryName|pageName}}

  • categoryName: the game's full name (e.g Arma 2, not arma2)
  • pageName: the page name from which to get the key, will be uppercased
Examples
Code Result
{{GameCategory/SortKey}}
{{GameCategory/SortKey|Arma 2}}
{{GameCategory/SortKey|Arma 2|Arma 2}} ARMA 2
{{GameCategory/SortKey|Arma 2|Arma 2: Editing}} EDITING
{{GameCategory/SortKey|Arma 3|Arma 3 Editing}} EDITING