Template:Enemy/doc: Difference between revisions
From Dragon Quest Wiki
FlyingRagnar (talk | contribs) (Updated doc) |
FlyingRagnar (talk | contribs) (Added example) |
||
Line 36: | Line 36: | ||
*''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. | *''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. | *Any unknown fields should be left blank. They will not show up in the rendered template. | ||
==Example== | |||
===Sample=== | |||
{{Enemy | |||
|float=left | |||
|image=[[Image:Zoma.png]] | |||
|name=Test | |||
|game=Dragon Quest XXVI | |||
|console=GBC | |||
|romanji= chingchow | |||
|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 | |||
}} | |||
===Code=== | |||
<pre> | |||
{{Enemy | |||
|float=left | |||
|image=[[Image:Zoma.png]] | |||
|name=Test | |||
|game=Dragon Quest XXVI | |||
|console=GBC | |||
|romanji= chingchow | |||
|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 | |||
}} | |||
</pre> |
Revision as of 13:50, 19 February 2010
{{Enemy |float= |image=[[Image:|200px]] |name= |game= |console= |romanji= |hp= |mp= |attack= |defense= |agility= |experience= |gold= |droppedItem= |skills= |spells= |family= |bestiaryNumber= |captureRate= |description= |locations= |}}
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 <br/> 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
Sample
#24 - Test | |||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
File:Zoma.png | |||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
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 | ||||||||||||||||||||||||||||||||||||||||||
Romanized Jap. | chingchow | ||||||||||||||||||||||||||||||||||||||||||
Description | This is a test enemy. |
Code
{{Enemy |float=left |image=[[Image:Zoma.png]] |name=Test |game=Dragon Quest XXVI |console=GBC |romanji= chingchow |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 }}