Editing
Template:EnemyList/doc
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
The EnemyList template is used to display roaming enemy information for various locations in Dragon Quest games. ==Usage== In almost all cases, using this template should be preceded by a heading such as '''<nowiki>Roaming Enemies</nowiki>''' on the article it is being transcluded onto. This is because there is no label marking the table as roaming enemy data within this template. This is consistent with other location templates. ===Header=== A header call to this template should be the first usage of this template on any page. <pre>{{EnemyList|header|include=drops|title={{DQ2}}|subtitle=NES}}</pre> *header: A required parameter which marks this as the start of a enemy list table. *include: An optional parameter consisting of a string containing "drops", "haunts", or both. Formats the table headers to display item drop and/or haunt information. *title: Title to be used on the table. This should be the name of the game if there is more than one enemy list on an article. Can be an interwiki link when applicable. *subtitle: Subtitle to be included on the table header. This parameter is optional and most often will be the console version of the game name which is used for the title. ===Entries=== Each entry in the enemy table is represented by a single template call. <pre>{{Enemy|entry|enemy=[[Slime]]|gold=1|exp=200}}</pre> *entry: A required parameter which marks this as a single shop table entry. *enemy: An interwiki link to the enemy article. *gold: The amount of gold earned when the enemy is defeated. *experience: The amount of experience earned when the enemy is defeated. *drop: An optional parameter for specifying an item or items that the enemy might drop. Should be used only when 'includeDrops' is specified in the header. *rate: An optional parameter for specifying the drop rate for a drop item or items. Should be used only when 'includeDrops' is specified in the header. *drop2: Same as drop, for a second item. *rate2: Same as rate, for a second item. *haunt: The monster's haunt. ===Footer=== The footer call marks the end of the enemy table. <pre>{{EnemyList|footer}}</pre> *footer: A required parameter marking the template as the footer. *note: An optional parameter adding a footnote after the table for additional information about the enemy list, such as "Enemy A can only be fought at night!" ==Example== ===Sample=== {{EnemyList|header|title={{DQ4}}|subtitle=DS}} {{EnemyList|entry|enemy=[[Slime]]|gold=1|exp=1}} {{EnemyList|entry|enemy=[[Zoma]]|gold=2|exp=2}} {{EnemyList|entry|enemy=[[Healslime]]|gold=3|exp=4}} {{EnemyList|entry|enemy=[[Wiggly]]|gold=4|exp=5}} {{EnemyList|footer}} {{EnemyList|header|include=drops|title={{DQ5}}|subtitle=DS}} {{EnemyList|entry|enemy=[[Flamethrower]]|gold=10|exp=1000|drop=Medicinal herbs|rate=1/64}} {{EnemyList|entry|enemy=[[Shadow]]|gold=10|exp=102|drop=None|rate=N/A}} {{EnemyList|footer|note=Flamers only appear after defeating the Witch King boss}} ===Code=== <pre> {{EnemyList|header|title={{DQ4}}|subtitle=DS}} {{EnemyList|entry|enemy=[[Slime]]|gold=1|exp=1}} {{EnemyList|entry|enemy=[[Zoma]]|gold=2|exp=2}} {{EnemyList|entry|enemy=[[Healslime]]|gold=3|exp=4}} {{EnemyList|entry|enemy=[[Wiggly]]|gold=4|exp=5}} {{EnemyList|footer}} {{EnemyList|header|include=drops|title={{DQ5}}|subtitle=DS}} {{EnemyList|entry|enemy=[[Flamethrower]]|gold=10|exp=1000|drop=Medicinal herbs|rate=1/64}} {{EnemyList|entry|enemy=[[Shadow]]|gold=10|exp=102|drop=None|rate=N/A}} {{EnemyList|footer|note=Flamers only appear after defeating the Witch King boss}} </pre>
Summary:
Please note that all contributions to Dragon Quest Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Dragon Quest Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:DQ4
(
edit
)
Template:DQ5
(
edit
)
Template:EnemyList
(
edit
)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit source
View history
More
Search
Navigation
Main page
About
Community portal
Recent changes
Random page
Discord
Tools
What links here
Related changes
Special pages
Page information
Latest Updates
New Articles
New Files
Wanted Articles
Recurring aspects
What is Dragon Quest?
Heroes
Skills & spells
Monsters
Affiliates
Dragon's Den
Mystery Dungeon Franchise Wiki
Dragon Quest Plushes Wiki