Template:Enemy/doc: Difference between revisions

mNo edit summary
 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==Usage==
The enemy template is used to display statistics about a specific enemy/monster/boss.  It is setup to display information about an enemy from a '''single game and console''' (i.e. Dragon Warrior - GBC).  This template is the general enemy template and should be used for all games/versions which do not have a specially designed template.  For example, enemies in Dragon Quest IX should use [[Template:DQ9Enemy|DQ9Enemy]] to display their information (from Dragon Quest IX only) as that template is more specific for that game.
Note that this template is used in the body of an article and not at the top.  For that purpose, the [[Template:Monster Infobox|Monster Infobox template]] was created.
==Parameters==
*float: whether the template should be floated left or right (default is left)
*image: wikitext for the sprite image of this monster
*name: the name of the enemy
*game: the name of the game
*console: the name of the console version of the game
*romanji: the romanji version of the monster's name
*kanji: the kanji version of the monster's name
*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.
* level: the level of the monster (used by [[Holy Protection]], etc.)
*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. can include wikimarkup for links.
==Example==
===Sample===
{{Enemy
|float=left
|image=[[Image:Orgodemir DQVII PSX.gif]]
|name=Test
|game=Dragon Quest XXVI
|console=GBC
|romanji= chingchow
|kanji= ninanana
|hp= 400
|mp= 20
|attack= 23
|defense=44
|agility=33
|experience=400
|gold=21
|droppedItem=Club
|skills=Ninjitsu
|spells=Kamikaze
|family=[[Slime family]]
|bestiaryNumber=24
|captureRate=1/32
|description=This is a test enemy.
|locations=South of Mercado, North of Coburg
}}
===Wiki markup===
<pre>
<pre>
{{Enemy
{{Enemy
|float=
|float=left
|image=[[Image:|200px]]
|image=[[Image:Orgodemir DQVII PSX.gif]]
|name=
|name=Test
|game=
|game=Dragon Quest XXVI
|romanji=
|console=GBC
|hp=
|romanji= chingchow
|mp=
|kanji= ninanana
|attack=
|hp= 400
|defense=
|mp= 20
|agility=
|attack= 23
|experience=
|defense=44
|gold=
|agility=33
|droppedItem=
|wisdom=99
|skills=
|experience=400
|spells=
|gold=21
|family=
|droppedItem=Club
|bestiaryNumber=
|skills=Ninjitsu
|captureRate=
|spells=Kamikaze
|description=
|family=[[Slime family]]
|locations=
|level=10
|}}
|bestiaryNumber=24
|captureRate=1/32
|description=This is a test enemy.
|locations=South of Mercado, North of Coburg
}}
</pre>
</pre>
*The float parameter corresponds to the CSS float property which should be 'left', 'right', or 'none'.  The default is 'right'.
*Note image, name, and game appearance are the only 'required' fields.
*captureRate only applies to enemies which can be captured.  This would apply to games like [[Dragon Quest V]] or [[Dragon Quest Monsters]].
*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]].
*Any unknown fields should be left blank.
*locations should be a list of locations separated by <nowiki><br/></nowiki> tags.