Template:Entity fields begin
From Blood Wiki
(Difference between revisions)
Line 8: | Line 8: | ||
To insert entity keys block use the following construction: | To insert entity keys block use the following construction: | ||
− | <nowiki>{{</nowiki> | + | <nowiki>{{</nowiki>entity fields<nowiki>}}</nowiki> |
|- | |- | ||
| '''''Entity key #1''''' | | '''''Entity key #1''''' | ||
Line 18: | Line 18: | ||
| '''''description''''' | | '''''description''''' | ||
... | ... | ||
− | <nowiki>{{</nowiki> | + | <nowiki>{{</nowiki>entity fields_end<nowiki>}}</nowiki> |
= Example = | = Example = | ||
− | {{ | + | {{entity fields}} |
|- | |- | ||
| Health | | Health | ||
Line 31: | Line 31: | ||
| deadflag | | deadflag | ||
| Monster already dead | | Monster already dead | ||
− | {{ | + | {{entity fields end}} |
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 11:06, 16 July 2012
To insert entity keys block use the following construction:
{{entity fields}} |- | Entity key #1 | keyname | description |- | Entity key #2 | keyname | description ... {{entity fields_end}}
Example
Key | Description | Default value |
---|---|---|
Health | health | Starting health of a monster |
Death form | deadflag | Monster already dead |