Template:Enemy/doc: Difference between revisions

Updated doc
 
(16 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
|console=
|console=GBC
|romanji=
|romanji= chingchow
|hp=
|kanji= ninanana
|mp=
|hp= 400
|attack=
|mp= 20
|defense=
|attack= 23
|agility=
|defense=44
|experience=
|agility=33
|gold=
|wisdom=99
|droppedItem=
|experience=400
|skills=
|gold=21
|spells=
|droppedItem=Club
|family=
|skills=Ninjitsu
|bestiaryNumber=
|spells=Kamikaze
|captureRate=
|family=[[Slime family]]
|description=
|level=10
|locations=
|bestiaryNumber=24
|}}
|captureRate=1/32
|description=This is a test enemy.
|locations=South of Mercado, North of Coburg
}}
</pre>
</pre>
==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 <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.