Template:Enemy/doc: Difference between revisions

From Dragon Quest Wiki
 
(12 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.
|collapsed=
* level: the level of the monster (used by [[Holy Protection]], etc.)
|}}
*bestiaryNumber: the identifying number of the enemy in the bestiary
</pre>
*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.
*'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.
==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 62: Line 53:
|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
}}
}}
===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 78: Line 70:
|defense=44
|defense=44
|agility=33
|agility=33
|wisdom=99
|experience=400
|experience=400
|gold=21
|gold=21
Line 84: Line 77:
|spells=Kamikaze
|spells=Kamikaze
|family=[[Slime family]]
|family=[[Slime family]]
|level=10
|bestiaryNumber=24
|bestiaryNumber=24
|captureRate=1/32
|captureRate=1/32
|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>

Latest revision as of 16:10, 22 April 2020

Usage[edit]

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 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 Monster Infobox template was created.

Parameters[edit]

  • 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[edit]

Sample[edit]

#24 - Test
Orgodemir DQVII PSX.gif
HP MP Experience Gold
400 20 400 21
Attack Defense Speed
23 44 33
Dropped Item Club
Locations South of Mercado, North of Coburg
Skills Ninjitsu
Spells Kamikaze
Family Slime family
Capture Rate 1/32
Bestiary # 24
Game Dragon Quest XXVI
Console GBC
Japanese Name ninanana
Romanized Jap. chingchow
Description This is a test enemy.

Wiki markup[edit]

{{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
|wisdom=99
|experience=400
|gold=21
|droppedItem=Club
|skills=Ninjitsu
|spells=Kamikaze
|family=[[Slime family]]
|level=10
|bestiaryNumber=24
|captureRate=1/32
|description=This is a test enemy.
|locations=South of Mercado, North of Coburg
}}