Template:Csgo mode
来自Valve Developer Community
跳转到导航
跳转到搜索
文档页面 Template:Csgo mode/doc/zh 不存在。
模板将改为显示英文文档。如果此消息后没有任何内容,则很可能该文档甚至不存在英文版本。
模板将改为显示英文文档。如果此消息后没有任何内容,则很可能该文档甚至不存在英文版本。
本模板使用字符串子页面
请遵循该子页面上的格式添加翻译。
请遵循该子页面上的格式添加翻译。
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.
| 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 |
|
| Counter-Strike 2 only ▼ | |
trainingday, td |
Training Day |
workshop |
Workshop |
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.
注意: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! |