Template:Entity fields begin
From Blood Wiki
(Difference between revisions)
m |
|||
| (8 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
-->{| cellspacing=0 cellpadding=5 border=1 style="border-collapse: collapse" | -->{| cellspacing=0 cellpadding=5 border=1 style="border-collapse: collapse" | ||
| − | ! width=10% | + | ! width=10% | Key |
| − | + | ! width=80% | Description | |
| − | ! width= | + | ! width=10% | Default value<!-- |
| − | ! width=10% | + | |
--></includeonly><noinclude> | --></includeonly><noinclude> | ||
To insert entity keys block use the following construction: | To insert entity keys block use the following construction: | ||
| − | <nowiki>{{</nowiki>entity fields<nowiki>}}</nowiki> | + | <nowiki>{{</nowiki>entity fields begin<nowiki>}}</nowiki> |
|- | |- | ||
| '''''Entity key #1''''' | | '''''Entity key #1''''' | ||
| − | | ''''' | + | | '''''Description''''' |
| − | + | ||
|- | |- | ||
| '''''Entity key #2''''' | | '''''Entity key #2''''' | ||
| − | | ''''' | + | | '''''Description''''' |
| − | + | ||
... | ... | ||
| − | <nowiki>{{</nowiki>entity | + | <nowiki>{{</nowiki>entity fields end<nowiki>}}</nowiki> |
= Example = | = Example = | ||
| − | {{entity fields}} | + | {{entity fields begin}} |
|- | |- | ||
| − | |||
| health | | health | ||
| Starting health of a monster | | Starting health of a monster | ||
|- | |- | ||
| − | |||
| deadflag | | deadflag | ||
| − | | | + | | Death form. If set, monster spawns dead |
{{entity fields end}} | {{entity fields end}} | ||
| − | [[Category: | + | [[Category:Special templates]] |
| + | [[Category:Entity templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 23:48, 15 May 2014
To insert entity keys block use the following construction:
{{entity fields begin}}
|-
| Entity key #1
| Description
|-
| Entity key #2
| Description
...
{{entity fields end}}
[edit] Example
| Key | Description | Default value |
|---|---|---|
| health | Starting health of a monster | |
| deadflag | Death form. If set, monster spawns dead |