Template:Csgo mode/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{| class="wikitable" style="float:right;" ! Value for {{param|1}} ! Result |- | <code>casual</code> || {{csgo mode|casual}} |- | <code>competitive, comp</code> || {{csgo mode|...") |
m (Changed examples table background to transparent.) |
||
| Line 44: | Line 44: | ||
== Examples == | == Examples == | ||
{| | {| style="background: none" | ||
| <code><nowiki>{{csgo mode|competitive}}</nowiki></code> || → {{csgo mode|competitive}} | | <code><nowiki>{{csgo mode|competitive}}</nowiki></code> || → {{csgo mode|competitive}} | ||
|- | |- | ||
Revision as of 06:20, 2 October 2021
| 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 |
|
dangerzone, dz |
|
skirmish |
|
flyingscoutsman, fs |
|
retakes |
This Template:Game name 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. - {{{suf}}} - a suffix (ending) for the default linked page name. Has no effect if {{{link}}} is used already. For example, use
suf=:ruto link to the Russian game mode page, if existent.
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! |