User:0.51: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 1: Line 1:
==Templates==
==entity-kvalue template==
 
This template presents a set of keyvalues for a given enitity together with the comments (optional).
entity-kvalue
Example:
example:
{{entity-kvalue-start|[[npc_alyx]]}}
{{entity-kvalue-start|[[npc_alyx]]}}
{{entity-kvalue|Name|dropship-1|you may name it as you want}}
{{entity-kvalue|Name|dropship-1|you may name it as you want}}
Line 8: Line 7:
{{entity-kvalue|Name|dropship-1|}}
{{entity-kvalue|Name|dropship-1|}}
{{entity-kvalue-end}}
{{entity-kvalue-end}}
 
Syntax:
 
<pre>
{{entity-kvalue-start|class}}
{{entity-kvalue|key|value|comment}}
{{entity-kvalue-end}}
</pre>
where
*class is class
Paste-in:
<pre>
<pre>
{{entity-kvalue-start|}}
{{entity-kvalue-start|}}
{{entity-kvalue|||}}
{{entity-kvalue|||comment}}
{{entity-kvalue|||}}
{{entity-kvalue|||}}
{{entity-kvalue|||}}
{{entity-kvalue-end}}
{{entity-kvalue-end}}
</pre>
</pre>
entity-flag
entity-flag



Revision as of 06:51, 12 March 2006

entity-kvalue template

This template presents a set of keyvalues for a given enitity together with the comments (optional). Example:

Class: npc_alyx
Keyvalues Comments
Name dropship-1 you may name it as you want
Name you may name it as you want
Name dropship-1

Syntax:

{{entity-kvalue-start|class}}
{{entity-kvalue|key|value|comment}}
{{entity-kvalue-end}}

where

  • class is class

Paste-in:

{{entity-kvalue-start|}}
{{entity-kvalue|||comment}}
{{entity-kvalue-end}}

entity-flag

Flag
Checkbox-on.png Name you may name it as you want
Checkbox-off.png Name you may name it as you want
{{entity-flag-start|}}
{{entity-flag||on|}}
{{entity-flag||off|}}
{{entity-flag-end}}

entity-output

My output Target entity Target input Parameter Delay Only once Comments
File:Entity-output-iconName.png on you may name it as you want {{{8}}}
File:Entity-output-iconName.png off you may name it as you want {{{8}}}
{{entity-output-start|}}
{{entity-output|||||||}}
{{entity-output|||||||}}
{{entity-output-end}}