Template:Csgo mode: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(All done (again). Time to add the tooltip on the text aswell.)
(Starting off with adding tooltips to Casual, Competitive and Wingman.)
Line 1: Line 1:
{{lang|Template:Csgo mode}}<!--
{{Uselangflags|en=1|de=1}}<!--


--><onlyinclude><includeonly><span style=white-space:nowrap><!--
--><onlyinclude><includeonly><span style=white-space:nowrap><!--
Line 6: Line 6:
| casual = [[File:Csgo icon casual.png|link={{{link|Creating a Classic Counter-Strike Map }}}|16px|{{Csgo mode/strings|Casual tooltip}}]]
| casual = [[File:Csgo icon casual.png|link={{{link|Creating a Classic Counter-Strike Map }}}|16px|{{Csgo mode/strings|Casual tooltip}}]]
| Casual = [[File:Csgo icon casual.png|link={{{link|Creating a Classic Counter-Strike Map }}}|16px|{{Csgo mode/strings|Casual tooltip}}]] <!--
| Casual = [[File:Csgo icon casual.png|link={{{link|Creating a Classic Counter-Strike Map }}}|16px|{{Csgo mode/strings|Casual tooltip}}]] <!--
   -->{{#if: {{{link|1}}} | [[{{{link|Creating a Classic Counter-Strike Map }}}|{{{2|{{Csgo mode/strings|Casual}}}}}]] | {{{2|{{Csgo mode/strings|Casual}}}}} }}
   -->{{#if: {{{link|1}}} | [[{{{link|Creating a Classic Counter-Strike Map }}}|{{{2|<span title="{{Csgo mode/strings|Casual tt}}">{{Csgo mode/strings|Casual}}</span>}}}]] | {{{2|<span title="{{Csgo mode/strings|Casual tt}}">{{Csgo mode/strings|Casual}}</span>}}} }}


| comp
| comp
Line 12: Line 12:
| Comp
| Comp
| Competitive = [[File:Csgo icon competitive.png|link={{{link|Creating a Classic Counter-Strike Map }}}|16px|{{Csgo mode/strings|Comp tt}}]] <!--
| Competitive = [[File:Csgo icon competitive.png|link={{{link|Creating a Classic Counter-Strike Map }}}|16px|{{Csgo mode/strings|Comp tt}}]] <!--
   -->{{#if: {{{link|1}}} | <span title="{{Csgo mode/strings|Comp tt}}">[[{{{link|Creating a Classic Counter-Strike Map }}}|{{{2|{{Csgo mode/strings|Competitive}}}}}]] | {{{2|{{Csgo mode/strings|Competitive}}}}} }}
   -->{{#if: {{{link|1}}} | [[{{{link|Creating a Classic Counter-Strike Map }}}|{{{2|<span title="{{Csgo mode/strings|Comp tt}}">{{Csgo mode/strings|Competitive}}</span>}}}]] | <span title="{{Csgo mode/strings|Comp tt}}">{{{2|{{Csgo mode/strings|Competitive}}}}}</span> }}


| wingman = [[File:Csgo icon wingman.png|link={{{link|Counter-Strike: Global Offensive/Game Modes/Wingman }}}|16px|{{Csgo mode/strings|Wingman tt}}]]
| wingman = [[File:Csgo icon wingman.png|link={{{link|Counter-Strike: Global Offensive/Game Modes/Wingman }}}|16px|{{Csgo mode/strings|Wingman tt}}]]
| Wingman = [[File:Csgo icon wingman.png|link={{{link|Counter-Strike: Global Offensive/Game Modes/Wingman }}}|16px|{{Csgo mode/strings|Wingman tt}}]] <!--
| Wingman = [[File:Csgo icon wingman.png|link={{{link|Counter-Strike: Global Offensive/Game Modes/Wingman }}}|16px|{{Csgo mode/strings|Wingman tt}}]] <!--
   -->{{#if: {{{link|1}}} | <span title="{{Csgo mode/strings|Wingman tt}}">[[{{{link|Counter-Strike: Global Offensive/Game Modes/Wingman }}}|{{{2|{{Csgo mode/strings|Wingman}}}}}]]</span> | {{{2|{{Csgo mode/strings|Wingman}}}}} }}
   -->{{#if: {{{link|1}}} | [[{{{link|Counter-Strike: Global Offensive/Game Modes/Wingman }}}|{{{2|<span title="{{Csgo mode/strings|Wingman tt}}">{{Csgo mode/strings|Wingman}}</span>}}}]] | {{{2|<span title="{{Csgo mode/strings|Wingman tt}}">{{Csgo mode/strings|Wingman}}</span>}}} }}


| we
| we

Revision as of 22:44, 2 March 2024

English (en)Deutsch (de)
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.
Strings not recognized "String info "

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 CS:GO/CS2 Casual
competitive, comp CS:GO/CS2 Competitive
wingman CS:GO/CS2 Wingman
weaponsexpert, we Weapons Expert
armsrace, ar CS:GO/CS2 Arms Race
demolition, demo CS:GO/CS2 Demolition
deathmatch, dm CS:GO/CS2 Deathmatch
custom Custom
training, tr CS:GO Training
guardian, gd CS:GO/CS2 Guardian
coopstrike, coop CS:GO/CS2 Co-op Strike
skirmish CS:GO/CS2 War Games
dangerzone, dz CS:GO Danger Zone
flyingscoutsman, fs CS:GO/CS2 Flying Scoutsman
retakes CS:GO/CS2 Retakes
Counter-Strike 2 only ▼
trainingday, td Error: Unknown gamemode "td", see Template:Csgo mode!
workshop Error: Unknown gamemode "workshop", see Template:Csgo 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.pngNote: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.
Obsolete-notext.pngDeprecated: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.

Examples

{{csgo mode|competitive}} CS:GO/CS2 Competitive
{{csgo mode|Competitive}} CS:GO/CS2 Competitive Competitive
{{csgo mode|dz|Запретная Зона|suf=:ru}} CS:GO Danger Zone
{{csgo mode|Dz|Запретная Зона|suf=:ru}} CS:GO Danger Zone Запретная Зона
{{csgo mode|casual|link=}} CS:GO/CS2 Casual
{{csgo mode|Casual|link=}} CS:GO/CS2 Casual Casual
{{csgo mode|rubbish}} Error: Unknown gamemode "rubbish", see Template:Csgo mode!

See also