Template:Enemy/doc: Difference between revisions

mNo edit summary
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<pre>
==Usage==
{{Enemy
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.
|float=
 
|image=[[Image:|200px]]
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.
|name=
 
|game=
==Parameters==
|console=
*float: whether the template should be floated left or right (default is left)
|romanji=
*image: wikitext for the sprite image of this monster
|hp=
*name: the name of the enemy
|mp=
*game: the name of the game
|attack=
*console: the name of the console version of the game
|defense=
*romanji: the romanji version of the monster's name
|agility=
*kanji: the kanji version of the monster's name
|experience=
*hp: the enemy's hit points
|gold=
*mp: the enemy's magic points
|droppedItem=
*attack: the enemy's attack power
|skills=
*defense: the enemy's defense power
|spells=
*agility: the enemy's agility/speed
|family=
*experience: the experience points for defeating the enemy
|bestiaryNumber=
*gold: the gold for defeating the enemy
|captureRate=
*droppedItem: the item that might be dropped when the enemy is defeated.  should include percentage or ratio.
|description=
*skills: any skills the enemy uses. use wikitext to link.
|locations=
*spells: any spells the enemy uses use wikitext to link.
|}}
* level: the level of the monster (used by [[Holy Protection]], etc.)
</pre>
*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.


==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 'left'.
*''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.
==Example==
==Example==
===Sample===
===Sample===
{{Enemy
{{Enemy
|float=left
|float=left
|image=[[Image:Zoma.png]]
|image=[[Image:Orgodemir DQVII PSX.gif]]
|name=Test
|name=Test
|game=Dragon Quest XXVI
|game=Dragon Quest XXVI
|console=GBC
|console=GBC
|romanji= chingchow
|romanji= chingchow
|kanji= ninanana
|hp= 400
|hp= 400
|mp= 20
|mp= 20
Line 61: Line 54:
|locations=South of Mercado, North of Coburg
|locations=South of Mercado, North of Coburg
}}
}}
===Code===
 
===Wiki markup===
<pre>
<pre>
{{Enemy
{{Enemy
|float=left
|float=left
|image=[[Image:Zoma.png]]
|image=[[Image:Orgodemir DQVII PSX.gif]]
|name=Test
|name=Test
|game=Dragon Quest XXVI
|game=Dragon Quest XXVI
|console=GBC
|console=GBC
|romanji= chingchow
|romanji= chingchow
|kanji= ninanana
|hp= 400
|hp= 400
|mp= 20
|mp= 20
Line 75: Line 70:
|defense=44
|defense=44
|agility=33
|agility=33
|wisdom=99
|experience=400
|experience=400
|gold=21
|gold=21
Line 81: Line 77:
|spells=Kamikaze
|spells=Kamikaze
|family=[[Slime family]]
|family=[[Slime family]]
|level=10
|bestiaryNumber=24
|bestiaryNumber=24
|captureRate=1/32
|captureRate=1/32