Template:List of Entities: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Adding more info on which string is wrong)
Line 1: Line 1:
{{Doc}}
{{Doc}}
<onlyinclude><includeonly>
<onlyinclude><includeonly>
<div style="color:white; font-weight:700; font-size:132%">{{#switch:{{{1|}}}|Valve|valve={{List of Entities/strings|Valve Games}}|Mod|mod|Third-Party|third-party={{List of Entities/strings|Third-Party Games}}|#default=<small>{{error|???}}</small> }} {{#switch:{{{2|}}}|Source|source={{source|4}}|GoldSrc|goldsrc|gldsrc={{gldsrc|4}}|Source 2|source 2={{source 2|4}}|#default=<small>{{error|???}}</small> }}</div>
<div style="color:white; font-weight:700; font-size:132%">{{#switch:{{{1|}}}|Valve|valve={{List of Entities/strings|Valve Games}}|Mod|mod|Third-Party|third-party={{List of Entities/strings|Third-Party Games}}|#default=<small>{{error|???}}</small> }} {{#switch:{{{2|}}}|Source|source={{source|4}}|GoldSrc|goldsrc|gldsrc={{gldsrc|4}}|Source 2|source 2={{source 2|4}}|#default=<small>{{error|???}}</small> }}</div>


{{#switch:{{{1}}}|Valve|valve=
{{#switch:{{{1}}}|Valve|valve=
{{#switch:{{{2}}}|Source|source=
{{#switch:{{{2}}}
|Source|source=
* [[List of base entities|{{List of Entities/strings|Base entities}} ]]
* [[List of base entities|{{List of Entities/strings|Base entities}} ]]
* [[List of CS:S entities|{{List of Entities/strings|CS:S entities}} ]]
* [[List of CS:S entities|{{List of Entities/strings|CS:S entities}} ]]
Line 22: Line 22:
* [[List of Portal 2 Entities|{{List of Entities/strings|Portal 2 entities}} ]]
* [[List of Portal 2 Entities|{{List of Entities/strings|Portal 2 entities}} ]]
* [[List of Counter-Strike: Global Offensive Entities|{{List of Entities/strings|CS:GO entities}} ]]
* [[List of Counter-Strike: Global Offensive Entities|{{List of Entities/strings|CS:GO entities}} ]]
|GoldSrc|goldsrc|gldsrc=
|GoldSrc|goldsrc|gldsrc=
* [[List of Half-Life entities|{{List of Entities/strings|Half-Life entities}} ]]
* [[List of Half-Life entities|{{List of Entities/strings|Half-Life entities}} ]]
Line 34: Line 33:
* [[List of Half-Life: Alyx Entities|{{List of Entities/strings|Half-Life: Alyx Entities}} ]]
* [[List of Half-Life: Alyx Entities|{{List of Entities/strings|Half-Life: Alyx Entities}} ]]
* [[List of Counter-Strike 2 Entities|{{List of Entities/strings|Counter-Strike 2 Entities}} ]]
* [[List of Counter-Strike 2 Entities|{{List of Entities/strings|Counter-Strike 2 Entities}} ]]
|{{error|Invalid string or string not set!}}
|{{error|{{#if:{{{2|}}}|Invalid string: {{{2}}}!|String not set for 2!}} }}
}}
}}
|Mod|mod|Third-Party|third-party=
|Mod|mod|Third-Party|third-party=
{{#switch:{{{2}}}|Source|source=
{{#switch:{{{2}}}|Source|source=
Line 50: Line 50:
* [[List of VTMB Entities|{{List of Entities/strings|VTMB entities}} ]]
* [[List of VTMB Entities|{{List of Entities/strings|VTMB entities}} ]]
* [[List of Zombie Panic! Source Entities|{{List of Entities/strings|ZPS Entities}} ]]
* [[List of Zombie Panic! Source Entities|{{List of Entities/strings|ZPS Entities}} ]]
|GoldSrc|goldsrc|gldsrc= {{error|No Mods or Third-Party games using Gold Source!}}
|GoldSrc|goldsrc|gldsrc= {{error|No Mods or Third-Party games using Gold Source!}}
|Source 2|source 2= {{error|No Mods or Third-Party games using Source 2!}}
|Source 2|source 2= {{error|No Mods or Third-Party games using Source 2!}}
|{{error|Invalid string or string not set!}}
 
|{{error|{{#if:{{{2|}}}|Invalid string: {{{2}}}!|String not set for 2!}} }}
}}
}}
|{{error|Invalid string or string not set!}}
 
|{{error|{{#if:{{{1|}}}|Invalid string: {{{1}}}!|String not set for 1!}} }}
}}
}}
</includeonly></onlyinclude>
</includeonly></onlyinclude>

Revision as of 07:27, 15 March 2025

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.
Number of strings:38
Approximate status of translation:English (en) 100% Русский (ru) 100% 中文 (zh) 76.32% 

This template contains a list of pages that contains lists of entities from different valve games and mods.

Accepted keywords for {{{1}}} :

  • Valve
  • Mod
  • Third-Party

Accepted keywords for {{{2}}} :

  • Source
  • GoldSrc
  • Source 2


Parameters and examples

{{List of Entities|Mod|GoldSrc}}

Mods and Third-Party Games: GoldSrc GoldSrc

No Mods or Third-Party games using Gold Source!

{{List of Entities|Mod|Source 2}}

Mods and Third-Party Games: Source 2 Source 2

No Mods or Third-Party games using Source 2!

Error examples

{{List of Entities|Valve|Example}}

Valve Games: ???

Invalid string: Example!

{{List of Entities|Valve}}

Valve Games: ???

String not set for 2!

{{List of Entities|Example 1|Source}}

??? Source Source

Invalid string: Example 1!

{{List of Entities|Example 1|Example 2}}

??? ???

Invalid string: Example 1!

{{List of Entities}}

??? ???

String not set for 1!