Template:Game icon/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Replaced content with "<noinclude>{{delete|reason=deprecated}}</noinclude>")
Tag: Replaced
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Doc/subpage}}
<noinclude>{{delete|reason=deprecated}}</noinclude>
This template takes the full game name and delivers the game's icon, if existent.
__NOTOC__
== Parameters ==
* {{param|1}} - The full name of the game. See {{tl|Game icon name}} for a list of available names. Unknown names generate nothing so this template can be used carelessly without breaking anything.
* {{param|suf}} - The language suffix for the icon link to link to the correct language page. Do include the full suffix, including the colon, for example <code>:ru</code>, see below.
 
== Examples ==
{| style="background: none;"
| <code><nowiki>{{game icon|Half-Life 2}}</nowiki></code>
| → {{game icon|Half-Life 2}}
|-
| <code><nowiki>{{game icon|Half-Life 2|suf=:es}}</nowiki></code>
| → {{game icon|Half-Life 2|suf=:es}}
|-
| <code><nowiki>{{game icon|hl2}}</nowiki></code>
| → {{game icon|hl2}}
| {{note|The use of <code>#ifexist</code> can make sense but also cause [[Special:WantedTemplates|wanted templates]] to be generated if this template has been used carelessly.}}
|}
 
== See also ==
{{tl2|Game icon name}}

Latest revision as of 22:58, 24 September 2025

Warning icon.png
This template has been marked as a candidate for speedy deletion because it has been deprecated.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.