Template:GameCategory/SortKey

From Bohemia Interactive Community
< Template:GameCategory
Revision as of 19:35, 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

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: Editing}} EDITING
{{GameCategory/SortKey|Arma 3|Arma 3 Editing}} EDITING
https://community.bistudio.com/wiki?title=Template:GameCategory/SortKey&oldid=155754
community.bistudio.com
crawl=CC-MAIN-2021-31
20457
application/http; msgtype=response
sha1:4ODB4NAGTPM55TEK7O67ZT7ZMJ44ETGJ
<urn:uuid:3aea89ac-ed0a-459f-9ba8-c47d58108a9b>
2021-07-27T08:57:55Z
213.192.54.136
text/html
sha1:F7U7ER4OOGHEZBREYI7BRT3K7F7YADHY
<urn:uuid:037e2823-aaef-401c-ba87-577b475b0fcf>
https://community.bistudio.com/wiki?title=Template:GameCategory/SortKey&oldid=155754
response
<urn:uuid:ce16b3c4-e715-4c10-a724-d87579e75657>
isPartOf: CC-MAIN-2021-31
publisher: Common Crawl
description: Wide crawl of the web for July/August 2021
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-129.ec2.internal
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.2-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/