Template:Entity fields begin

From Blood Wiki
(Difference between revisions)
Jump to: navigation, search
m
 
(3 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% bgcolor=#EEE | Name
+
! width=10% | Key
! width=10% bgcolor=#EEE | Key
+
! width=80% | Description
! width=70% bgcolor=#EEE | Description
+
! width=10% | Default value<!--
! width=10% bgcolor=#EEE | Default value<!--
+
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
 
To insert entity keys block use the following construction:
 
To insert entity keys block use the following construction:
Line 11: Line 10:
 
  |-
 
  |-
 
  | '''''Entity key #1'''''
 
  | '''''Entity key #1'''''
  | '''''keyname'''''
+
  | '''''Description'''''
| '''''description'''''
+
 
  |-
 
  |-
 
  | '''''Entity key #2'''''
 
  | '''''Entity key #2'''''
  | '''''keyname'''''
+
  | '''''Description'''''
| '''''description'''''
+
 
  ...
 
  ...
 
  <nowiki>{{</nowiki>entity fields end<nowiki>}}</nowiki>
 
  <nowiki>{{</nowiki>entity fields end<nowiki>}}</nowiki>
Line 24: Line 21:
 
  {{entity fields begin}}
 
  {{entity fields begin}}
 
  |-
 
  |-
| Health
 
 
  | health
 
  | health
 
  | Starting health of a monster
 
  | Starting health of a monster
 
  |-
 
  |-
| Death form
 
 
  | deadflag
 
  | deadflag
  | Monster already dead
+
  | Death form. If set, monster spawns dead
 
  {{entity fields end}}
 
  {{entity fields end}}
  
 +
[[Category:Special templates]]
 
[[Category:Entity 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
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox