Template:This is a/doc: Difference between revisions
Jump to navigation
Jump to search
1416006136 (talk | contribs) (update) |
1416006136 (talk | contribs) |
||
Line 14: | Line 14: | ||
|- | |- | ||
|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 | | The type of the object need to describe. The following types are available:<br> | ||
'''Entities:''' | |||
:* {{Code|e0}}, {{Code|point}} - [[Point entity]] | :* {{Code|e0}}, {{Code|point}} - [[Point entity]] | ||
:* {{Code|e1}}, {{Code|int point}} - [[Internal entity|Internal]] point entity | :* {{Code|e1}}, {{Code|int point}} - [[Internal entity|Internal]] point entity | ||
Line 21: | Line 22: | ||
:* {{Code|e4}}, {{Code|mesh}} - [[Mesh entity]] ({{source2}}) | :* {{Code|e4}}, {{Code|mesh}} - [[Mesh entity]] ({{source2}}) | ||
:* {{Code|e5}}, {{Code|path}} - [[Path entity]] ({{source2}}) | :* {{Code|e5}}, {{Code|path}} - [[Path entity]] ({{source2}}) | ||
'''Console Variables, Commands, QC Commands:''' | |||
:* {{Code|c2}}, {{Code|convar}} - [[Developer_Console#Submitting|Console Variables]] | :* {{Code|c2}}, {{Code|convar}} - [[Developer_Console#Submitting|Console Variables]] | ||
:* {{Code|c1}}, {{Code|command}} - [[Developer_Console#Submitting|Console Commands]] | :* {{Code|c1}}, {{Code|command}} - [[Developer_Console#Submitting|Console Commands]] |
Revision as of 12:20, 15 August 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 object need to describe. The following types are available: Entities:
Console Variables, Commands, QC Commands:
![]() |
|
|
{{{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. | ||
{{{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. ![]() ![]() |
||
{{{nocat}}} | Don't place any categories. | N/A | |
{{{except-multi}}} | Similar to {{{except}}}, but can specify multiple games simultaneously. | ||
{{{notext}}} | Only change the title (unless {{{notitlechange}}} is 1) and add categories (unless {{{nocat}}} is 1). Useful for the base page of a page using the {{MultiPage}} template. ![]() {{MultiPage}} in order to change the title. |
See Also
- {{Point ent}}
- {{Base point multi}}
- {{Brush ent}}
- {{Base brush multi}}
- {{Game name}}