Template:Entity fields begin

From Blood Wiki
(Difference between revisions)
Jump to: navigation, search
Line 8: Line 8:
 
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<nowiki>}}</nowiki>
 
  |-
 
  |-
 
  | '''''Entity key #1'''''
 
  | '''''Entity key #1'''''
Line 18: Line 18:
 
  | '''''description'''''
 
  | '''''description'''''
 
  ...
 
  ...
  <nowiki>{{</nowiki>entity_fields_end<nowiki>}}</nowiki>
+
  <nowiki>{{</nowiki>entity fields_end<nowiki>}}</nowiki>
  
 
= Example =
 
= Example =
  
  {{entity_fields}}
+
  {{entity fields}}
 
  |-
 
  |-
 
  | Health
 
  | Health
Line 31: Line 31:
 
  | deadflag
 
  | deadflag
 
  | Monster already dead
 
  | Monster already dead
  {{entity_fields_end}}
+
  {{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
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox