Template:Csgo map/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 8: Line 8:
=== Examples ===
=== Examples ===
:{{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|de_mirage}} → {{{{ROOTPAGENAME}}|de_mirage}}
:{{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|de_mirage}} → {{{{ROOTPAGENAME}}|de_mirage}}
:{{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|de_dust2|Dust II}} → {{{{ROOTPAGENAME}}|de_dust2|Dust II}}
:{{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|de_dust2|Dust II (de_dust2)}} → {{{{ROOTPAGENAME}}|de_dust2|Dust II (de_dust2)}}
:{{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|lobby_mapveto|name{{=}}1}} → {{{{ROOTPAGENAME}}|lobby_mapveto|name=1}}
:{{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|de_fenestration}} → {{{{ROOTPAGENAME}}|de_fenestration}}
:{{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|de_fenestration}} → {{{{ROOTPAGENAME}}|de_fenestration}}
:{{tlc|{{lcfirst:{{ROOTPAGENAME}}}}}} → {{{{ROOTPAGENAME}}|}}
:{{tlc|{{lcfirst:{{ROOTPAGENAME}}}}}} → {{{{ROOTPAGENAME}}|}}

Revision as of 00:25, 18 August 2023

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

Usage

This is a template for Counter-Strike: Global Offensive Counter-Strike: Global Offensive maps. It delivers the map icon [[File:<mapname>.png]] followed by the given map name which links to a subsection of List of CS:GO Maps. If the icon does not exist, it uses File:No csgo map icon.png instead.

Parameters

  • {{{1}}} - The map name, e.g. de_mirage.
  • {{{2}}} - The display text of the link. {{{1}}} by default.

Examples

{{csgo map|de_mirage}}de_mirage de_mirage
{{csgo map|de_dust2|Dust II (de_dust2)}}Dust II (de_dust2) Dust II (de_dust2)
{{csgo map|lobby_mapveto|name=1}}lobby_mapveto Pick/Ban
{{csgo map|de_fenestration}}de_fenestration de_fenestration
{{csgo map}}No map selected! See Template:Csgo map