Difference between revisions of "Template:Hl3cu/doc"

From Valve Developer Community
Jump to: navigation, search
m (Examples: clean up)
m (Replaced content with "{{delete}}")
(Tag: Replaced)
 
Line 1: Line 1:
<noinclude>{{Doc/subpage}}</noinclude>
+
{{delete}}
== Usage ==
 
Delivers the icon and/or a link of the game that has this abbreviation. Can also obtain the game color.
 
 
 
This template is based on {{tl2|Software}}.
 
 
 
=== Parameters ===
 
* {{Param}} – Optional: The representation, see the examples below. Can be set to: {{Code|1}}, {{Code|2}}, {{Code|3}}, {{Code|3.1}}, {{Code|4}}, {{Code|4.1}}, {{Code|col}}, {{Code|in}}, {{Code|also}}, {{Code|only}}, {{Code|since}}, {{Code|removed}}, {{Code|not}};
 
* {{Param|nt}} – Optional: This option allows you to select a custom game and software name if it is specified in the template. 0 is most often a game abbreviation. You can click on "Edit" to view the available game/software names.
 
* {{Param|addtext}} – Optional: If {{Param}} is set to {{Code|in}}, {{Code|also}}, {{Code|only}}, {{Code|since}}, {{Code|removed}} or {{Code|not}}, then the value of this parameter is inserted right after the game icon. Useful for multiple game icons.
 
 
 
=== Translations ===
 
Some Translations are handled by the {{tl|link=In text}} Template. Others (such as game title/software title, etc...) will use {{tl|link=Autolang}}.
 
 
 
=== Examples ===
 
{{Note|Some of the examples given may lead to non-existent pages.}}
 
{| class="wikitable"
 
|-
 
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}}}
 
| → {{ {{ROOTPAGENAME}} }}
 
|-
 
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|1}}
 
| → {{{{ROOTPAGENAME}}|1}}
 
|-
 
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|2}}
 
| → {{{{ROOTPAGENAME}}|2}}
 
|-
 
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|3}}
 
| → {{{{ROOTPAGENAME}}|3}}
 
|-
 
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|3.1}}
 
| → {{{{ROOTPAGENAME}}|3.1}}
 
|-
 
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4}}
 
| → {{{{ROOTPAGENAME}}|4}}
 
|-
 
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4.1}}
 
| → {{{{ROOTPAGENAME}}|4.1}}
 
|-
 
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4|nt{{=}}0}}
 
| → {{{{ROOTPAGENAME}}|4|nt=0}}
 
|-
 
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4|nt{{=}}1}}
 
| → {{{{ROOTPAGENAME}}|4|nt=1}}
 
|-
 
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4|nt{{=}}2}}
 
| → {{{{ROOTPAGENAME}}|4|nt=2}}
 
|-
 
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4|nt{{=}}3}}
 
| → {{{{ROOTPAGENAME}}|4|nt=3}}
 
|-
 
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4|nt{{=}}4}}
 
| → {{{{ROOTPAGENAME}}|4|nt=4}}
 
|-
 
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|col}}
 
| → {{{{ROOTPAGENAME}}|col}}
 
|-
 
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|in}}
 
| → {{{{ROOTPAGENAME}}|in}}
 
|-
 
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|only}}
 
| → {{{{ROOTPAGENAME}}|only}}
 
|-
 
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|since}}
 
| → {{{{ROOTPAGENAME}}|since}}
 
|-
 
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|not}}
 
| → {{{{ROOTPAGENAME}}|not}}
 
|-
 
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|removed}}
 
| → {{{{ROOTPAGENAME}}|removed}}
 
|-
 
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|also|addtext{{=}}{{tlf|{{#ifeq:{{FULLPAGENAME}}|Template:Csgo|portal2|csgo}}}} {{tlf|l4d2}}}}
 
| → {{{{ROOTPAGENAME}}|also|addtext={{#ifeq:{{FULLPAGENAME}}|Template:Csgo|{{portal2}}|{{csgo}}}} {{l4d2}}}}
 
|}
 
 
 
{{Doc/Sandbox other|
 
[[Category:Software icons]]
 
}}
 

Latest revision as of 07:45, 14 February 2024

Warning icon.png
This template has been marked as a candidate for speedy deletion.
If you object to this decision, then please discuss why hereIf 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 - Remember to check if anything links here and the page history (last edit) before deleting.