User:0.51: Difference between revisions
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
== | ==entity-kvalue template== | ||
This template presents a set of keyvalues for a given enitity together with the comments (optional). | |||
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-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 | ||||
![]() |
Name | you may name it as you want | ||
![]() |
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}}