Template:Csgo mode/doc: Difference between revisions
Jump to navigation
Jump to search
Important:The suf-based translation aswell as {{Lang}} used on this template is currently being replaced by Autolang and strings subpage respectively. Please do not use the {{{suf}}} parameters on newly created pages as these will be deprecated soon.
Deprecated:The {{{suf}}} parameter has been deprecated in favor of automatic translation (via {{Autolang}} template) and strings subpage respectively, to add a new translations, visit the strings subpage instead.
No edit summary |
No edit summary |
||
Line 43: | Line 43: | ||
* {{Param|2}} - optional link text. Has no effect if {{Param|1}} starts with a lower case letter. | * {{Param|2}} - optional link text. Has no effect if {{Param|1}} starts with a lower case letter. | ||
* {{Param|link}} - the page that the icon (and link text) links to. Set it to nothing (<code>link=</code>) if you just want the icon and no link. | * {{Param|link}} - the page that the icon (and link text) links to. Set it to nothing (<code>link=</code>) if you just want the icon and no link. | ||
<!-- currently broken for now | |||
* {{Param|nocat}} - Only use this for previewing the error message, without adding the page to [[:Category:Pages with template errors]] category. | * {{Param|nocat}} - Only use this for previewing the error message, without adding the page to [[:Category:Pages with template errors]] category. | ||
{{Deprecated|The {{Param|suf}} parameter has been deprecated in favor of automatic translation (via {{T|Autolang}} template) and [[/strings|strings subpage]] respectively, to add a new translations, visit the [[/strings|strings]] subpage instead. | --> | ||
{{Deprecated|The {{Param|suf}} parameter has been deprecated in favor of automatic translation (via {{T|Autolang}} template) and [[/strings|strings subpage]] respectively, to add a new translations, visit the [[/strings|strings]] subpage instead.}} | |||
== Examples == | == Examples == |
Revision as of 22:54, 2 March 2024

This is a documentation subpage for Template:Csgo mode.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

Value for {{{1}}} | Result |
---|---|
casual |
![]() |
competitive, comp |
![]() |
wingman |
![]() |
weaponsexpert, we |
Weapons Expert |
armsrace, ar |
![]() |
demolition, demo |
![]() |
deathmatch, dm |
![]() |
custom |
Custom |
training, tr |
![]() |
guardian, gd |
![]() |
coopstrike, coop |
![]() |
skirmish |
![]() |
dangerzone, dz |
![]() |
flyingscoutsman, fs |
![]() |
retakes |
![]() |
This Counter-Strike: Global Offensive and Counter-Strike 2 template is used to generate a game mode icon which links directly to the appropriate page of the game mode.
Parameters
- {{{1}}} - the name of the game mode. When starting the parameter with a capital letter, the game mode icon is followed by the game mode name, also linking to its page.
Note:There are game modes that have no icon:
custom, weaponsexpert
. If used in lower case, they show the text (with link) instead. - {{{2}}} - optional link text. Has no effect if {{{1}}} starts with a lower case letter.
- {{{link}}} - the page that the icon (and link text) links to. Set it to nothing (
link=
) if you just want the icon and no link.

Examples
{{csgo mode|competitive}} |
→ ![]() |
{{csgo mode|Competitive}} |
→ ![]() |
{{csgo mode|dz|Запретная Зона|suf=:ru}} |
→ ![]() |
{{csgo mode|Dz|Запретная Зона|suf=:ru}} |
→ ![]() |
{{csgo mode|casual|link=}} |
→ ![]() |
{{csgo mode|Casual|link=}} |
→ ![]() |
{{csgo mode|rubbish}} |
→ Error: Unknown gamemode "rubbish", see Template:Csgo mode! |