User:0.51: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 7: | Line 7: | ||
{{entity-kvalue-end}} | {{entity-kvalue-end}} | ||
Syntax: | Syntax: | ||
< | <nowiki>{{entity-kvalue-start|</nowiki>'''class'''<nowiki>}}</nowiki> | ||
{{entity-kvalue-start|class}} | <nowiki>{{entity-kvalue|<nowiki>key</nowiki>|<nowiki>value</nowiki>|<nowiki>comment</nowiki>}}</nowiki> | ||
{{entity-kvalue|key|value|comment}} | <nowiki>{{entity-kvalue-end}}</nowiki> | ||
{{entity-kvalue-end}} | |||
</pre> | </pre> | ||
where: | where: | ||
Line 35: | Line 34: | ||
{{entity-flag||on|}} | {{entity-flag||on|}} | ||
{{entity-flag||off|}} | {{entity-flag||off|}} | ||
{{entity-flag-end}} | |||
</pre> | |||
Paste-in: | |||
<pre> | |||
{{entity-flag-start|}} | |||
{{entity-flag|||}} | |||
{{entity-flag|||}} | |||
{{entity-flag-end}} | {{entity-flag-end}} | ||
</pre> | </pre> | ||
==entity-output template== | ==entity-output template== | ||
This template presents a set of outputs for a given enitity together with the comments (optional). | |||
Example: | |||
{{entity-output-start|[[npc_alyx]]}} | {{entity-output-start|[[npc_alyx]]}} | ||
Line 43: | Line 51: | ||
{{entity-output|Name|off|you may name it as you want||||}} | {{entity-output|Name|off|you may name it as you want||||}} | ||
{{entity-output-end}} | {{entity-output-end}} | ||
Syntax: | |||
Paste-in: | |||
<pre> | <pre> | ||
{{entity-output-start|}} | {{entity-output-start|}} |
Revision as of 13:39, 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 |
Number of grenades | 5 | ..dont get them too many |
Syntax: {{entity-kvalue-start|class}} {{entity-kvalue|<nowiki>key|value|comment}}</nowiki> {{entity-kvalue-end}}
where:
- class - entity class
- key - parameter name
- value - parameter value
Paste-in:
{{entity-kvalue-start|}} {{entity-kvalue|||comment}} {{entity-kvalue-end}}
entity-flag template
This template presents a set of flags for a given enitity together with the comments (optional). Example:
Flag | ||||
![]() |
Template NPC | you may name it as you want | ||
![]() |
Start burrowed | you may name it as you want | ||
{{entity-flag-start|}} {{entity-flag||on|}} {{entity-flag||off|}} {{entity-flag-end}}
Paste-in:
{{entity-flag-start|}} {{entity-flag|||}} {{entity-flag|||}} {{entity-flag-end}}
entity-output template
This template presents a set of outputs for a given enitity together with the comments (optional). Example:
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}}} | |||||
Syntax:
Paste-in:
{{entity-output-start|}} {{entity-output|||||||}} {{entity-output|||||||}} {{entity-output-end}}