Template:This is a/doc: Difference between revisions
Jump to navigation
Jump to search
1416006136 (talk | contribs) m (→See Also) |
1416006136 (talk | contribs) (added aliases) |
||
Line 15: | Line 15: | ||
|align="center"|<strong style=color:rgb(255,255,0)><nowiki>*</nowiki></strong>{{Code|style=1|{{param|type}}}} | |align="center"|<strong style=color:rgb(255,255,0)><nowiki>*</nowiki></strong>{{Code|style=1|{{param|type}}}} | ||
| The type of the entity. The following types are available: | | The type of the entity. The following types are available: | ||
:* {{Code|e0}} - [[Point entity]] | :* {{Code|e0}}, {{Code|point}} - [[Point entity]] | ||
:* {{Code|e1}} - [[Internal entity|Internal]] point entity | :* {{Code|e1}}, {{Code|int point}} - [[Internal entity|Internal]] point entity | ||
:* {{Code|e2}} - [[Brush entity]] | :* {{Code|e2}}, {{Code|brush}} - [[Brush entity]] | ||
:* {{Code|e3}} - Internal brush entity | :* {{Code|e3}}, {{Code|int brush}} - Internal brush entity | ||
:* {{Code|e4}} - [[Mesh entity]] ({{source2}}) | :* {{Code|e4}}, {{Code|mesh}} - [[Mesh entity]] ({{source2}}) | ||
:* {{Code|e5}} - [[Path entity]] ({{source2}}) | :* {{Code|e5}}, {{Code|path}} - [[Path entity]] ({{source2}}) | ||
:* {{Code|convar}} - [[Developer_Console#Submitting|Console Variable]] | :* {{Code|convar}} - [[Developer_Console#Submitting|Console Variable]] | ||
:* You can specify the entity type yourself. (See examples) | :* You can specify the entity type yourself. (See examples) | ||
Line 36: | Line 36: | ||
|align="center"|{{Code|style=1|{{param|engine}}}} | |align="center"|{{Code|style=1|{{param|engine}}}} | ||
| Which engine the entity belongs to. | | Which engine the entity belongs to. | ||
:* {{Code|1}} - {{gldsrc|4}} | :* {{Code|1}}, {{Code|gldsrc}} - {{gldsrc|4}} | ||
:* {{Code|2}} - {{source|4}} | :* {{Code|2}}, {{Code|source}} - {{source|4}} | ||
:* {{Code|3}} - {{source2|4}} | :* {{Code|3}}, {{Code|source2}} - {{source2|4}} | ||
:* Default - {{source|4}} | :* Default - {{source|4}} | ||
| | | |
Revision as of 09:04, 2 June 2023

This is a documentation subpage for Template:This is a.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
The template is the first sentence on each entity page that describes the basic information of an entity.
In addition, it can create basic information that describes things like console variables.
Parameters and Examples
*: Necessary parameters.
Parameter | Description | Example | Preview |
---|---|---|---|
*{{{type}}} | The type of the entity. The following types are available:
|
|
|
{{{engine}}} | Which engine the entity belongs to. | ||
{{{except}}} | This entity is available in all other games except this one. ![]() ![]() |
||
{{{since}}} | This entity is available since this game. ![]() ![]() |
||
{{{1}}} | The name of the entity. It will change the title of a page. The default value is "This". You can specify it to 0 to remove the entity name. | ||
{{{series}}} | The series that the entity is available in. | ||
{{{seriescs}}} | The series of Counter-Strike that the entity is available in. | ||
{{{game}}} | The game that the entity is available in. ![]() ![]() |
||
{{{notitlechange}}} | You can prevent title-changing from the template by using this parameter. Used in the /doc page. | ||
*{{{suf}}} | Specify the language suffix. The template supports multi-language and you can add more languages that the template supports. The following languages are available:
![]() If not specified, the template automatically selects the language. This parameter is necessary if you need to add a page to the corresponding language category. |
||
{{{internal}}} | If enabled (value is 1 or true), the page will be added to Category:Internal entities and "internal" will be displayed before "... entity".
![]() |
||
{{{cut}}} | If enabled, "cut" will be displayed before "(internal) ... entity"and the page will add to Category:Cut Entities. | ||
{{{sprite}}} | The icon of the entity:
|
||
{{{icon}}} | Make the game icon appear left-aligned.
|
||
{{{game1}}} ~ {{{game5}}} | If this entity is available in multiple games, use these parameters to describe. ![]() ![]() |
See Also
- {{Point ent}}
- {{Base point multi}}
- {{Brush ent}}
- {{Base brush multi}}
- {{Game name}}