Template:Entity fields begin

From Blood Wiki
(Difference between revisions)
Jump to: navigation, search
m (VorteX moved page Template:Entity fields caption to Template:Entity fields table without leaving a redirect)
m
 
(24 intermediate revisions by one user not shown)
Line 1: Line 1:
== Entity fields ==
+
<includeonly><!--
 
+
-->{| cellspacing=0 cellpadding=5 border=1 style="border-collapse: collapse"
{| cellspacing=0 cellpadding=5 border=1 style="border-collapse: collapse"
+
 
! width=10% | Key
 
! width=10% | Key
! width=10% | Name
+
! width=80% | Description
! width=70% | Description
+
! width=10% | Default value<!--
! width=10% | Default value
+
--></includeonly><noinclude>
 +
To insert entity keys block use the following construction:
 +
 
 +
<nowiki>{{</nowiki>entity fields begin<nowiki>}}</nowiki>
 +
|-
 +
| '''''Entity key #1'''''
 +
| '''''Description'''''
 +
|-
 +
| '''''Entity key #2'''''
 +
| '''''Description'''''
 +
...
 +
<nowiki>{{</nowiki>entity fields end<nowiki>}}</nowiki>
 +
 
 +
= Example =
 +
 
 +
{{entity fields begin}}
 +
|-
 +
| health
 +
| Starting health of a monster
 +
|-
 +
| deadflag
 +
| Death form. If set, monster spawns dead
 +
{{entity fields end}}
 +
 
 +
[[Category:Special templates]]
 +
[[Category:Entity templates]]
 +
</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
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox