Template:Enemy/doc: Difference between revisions

From Dragon Quest Wiki
No edit summary
Line 22: Line 22:
|description=
|description=
|locations=
|locations=
|collapsed=
|}}
|}}
</pre>
</pre>


==Usage==
==Usage==
Most parameters are self-explanatoryHere are notes on a few of them:
The enemy template is used to display statistics about a specific enemy/monster/bossIt is setup to display information about an enemy from a '''single game and console''' (i.e. Dragon Warrior - GBC).
*''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.
==Paramters==
*The ''game'' parameter should be an article link.
*float: whether the template should be floated left or right (default is left)
*The ''float'' parameter corresponds to the CSS float property which should be 'left', 'right', or 'none'.  The default is 'right'.
*image: wikitext for the sprite image of this monster
*''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)
*name: the name of the enemy
*''bestiaryNumber'' is for games which have a bestiary listing.
*game: the name of the game
*''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.
*console: the name of the console version of the game
*''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.
*romanji: the romanji version of the monster's name
*Any unknown fields should be left blank. They will not show up in the rendered template.
*kanji: the kanji version of the monster's name
*'collapsed' specifies whether the displayed table should be collapsed or not. Specifying 'false' or 'no' will not collapse the table, any other value, or omitting this parameter will cause the table to be collapsed by default.
*hp: the enemy's hit points
*mp: the enemy's magic points
*attack: the enemy's attack power
*defense: the enemy's defense power
*agility: the enemy's agility/speed
*experience: the experience points for defeating the enemy
*gold: the gold for defeating the enemy
*droppedItem: the item that might be dropped when the enemy is defeated. should include percentage or ratio.
*skills: any skills the enemy uses. use wikitext to link.
*spells: any spells the enemy uses use wikitext to link.
*bestiaryNumber: the identifying number of the enemy in the bestiary
*captureRate: the capture rate of enemies which can be captured.  should be a percentage or ratio.
*description: any notes or other information about this monster
*locations: where the enemy can be found


==Example==
==Example==
Line 63: Line 75:
|description=This is a test enemy.
|description=This is a test enemy.
|locations=South of Mercado, North of Coburg
|locations=South of Mercado, North of Coburg
|collapsed=false
}}
}}


Line 75: Line 86:
|console=GBC
|console=GBC
|romanji= chingchow
|romanji= chingchow
|kanji= ninanana
|hp= 400
|hp= 400
|mp= 20
|mp= 20
Line 90: Line 102:
|description=This is a test enemy.
|description=This is a test enemy.
|locations=South of Mercado, North of Coburg
|locations=South of Mercado, North of Coburg
|collapsed=false
}}
}}
</pre>
</pre>