Template:Enemy/doc: Difference between revisions

From Dragon Quest Wiki
mNo edit summary
(Updated doc)
Line 5: Line 5:
|name=
|name=
|game=
|game=
|console=
|romanji=
|romanji=
|hp=
|hp=
Line 24: Line 25:
</pre>
</pre>


*The float parameter corresponds to the CSS float property which should be 'left', 'right', or 'none'.  The default is 'right'.
==Usage==
*Note image, name, and game appearance are the only 'required' fields.
Most parameters are self-explanatory.  Here are notes on a few of them:
*captureRate only applies to enemies which can be captured.  This would apply to games like [[Dragon Quest V]] or [[Dragon Quest Monsters]].
*''image'', ''name'', ''game'', and ''console'' are required fields.  They should be filled out for any enemy. 
*bestiaryNumber is for games which have a bestiary listing.
*The ''image'' parameter should contain all the images which are relevant for that game/console combination.
*family should be a link to the category article for the family of enemies the enemy belongs to, for example [[Slime family]].
*The ''game'' parameter should be an article link.
*Any unknown fields should be left blank.
*The ''float'' parameter corresponds to the CSS float property which should be 'left', 'right', or 'none'.  The default is 'right'.
*locations should be a list of locations separated by <nowiki><br/></nowiki> tags.
*''captureRate'' only applies to enemies which can be captured.  This would apply to games like [[Dragon Quest V]] or [[Dragon Quest Monsters]]. Its value should be game-specific (i.e. for DQV it would be a ratio like 1/256)
*''bestiaryNumber'' is for games which have a bestiary listing.
*''family'' should be a link to the category article for the family of enemies the enemy belongs to, for example [[Slime family]]. Not all enemies belong to a family category.
*''locations'' should be a list of locations separated by <nowiki><br/></nowiki> tags.  This makes them easy to read.  If possible, the locations should be article links.
*Any unknown fields should be left blank. They will not show up in the rendered template.

Revision as of 01:57, 13 February 2010

{{Enemy
|float=
|image=[[Image:|200px]]
|name=
|game=
|console=
|romanji=
|hp=
|mp=
|attack=
|defense=
|agility=
|experience=
|gold=
|droppedItem=
|skills=
|spells=
|family=
|bestiaryNumber=
|captureRate=
|description=
|locations=
|}}

Usage

Most parameters are self-explanatory. Here are notes on a few of them:

  • image, name, game, and console are required fields. They should be filled out for any enemy.
  • The image parameter should contain all the images which are relevant for that game/console combination.
  • The game parameter should be an article link.
  • The float parameter corresponds to the CSS float property which should be 'left', 'right', or 'none'. The default is 'right'.
  • captureRate only applies to enemies which can be captured. This would apply to games like Dragon Quest V or Dragon Quest Monsters. Its value should be game-specific (i.e. for DQV it would be a ratio like 1/256)
  • bestiaryNumber is for games which have a bestiary listing.
  • family should be a link to the category article for the family of enemies the enemy belongs to, for example Slime family. Not all enemies belong to a family category.
  • locations should be a list of locations separated by <br/> tags. This makes them easy to read. If possible, the locations should be article links.
  • Any unknown fields should be left blank. They will not show up in the rendered template.