Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!
Difference between revisions of "Template:Spawns"
m |
|||
Line 1: | Line 1: | ||
− | <includeonly>{{Monster link|{{{1|}}} | + | <includeonly>{{Monster link|{{{1|}}}|class={{{class|}}}}} {{#ifeq:{{{show dungeon|}}}|y|in [[{{{dungeon|{{PAGENAME}}}}}]] {{#ifeq:{{{hell|n}}}|y|(Hell Mode)}}|}}<!-- |
− | |||
− | |||
− | }} {{#ifeq:{{{show dungeon|}}}|y|in [[{{{dungeon|{{PAGENAME}}}}}]] {{#ifeq:{{{hell|n}}}|y|(Hell Mode)}}|}}<!-- | ||
-->{{#if: {{NAMESPACE}} | <!-- don't create subobj within namespace --> |{{#subobject:spawn{{#vardefineecho:spawnnumber|{{#expr:{{#var:spawnnumber|-1}}+1}}}} | -->{{#if: {{NAMESPACE}} | <!-- don't create subobj within namespace --> |{{#subobject:spawn{{#vardefineecho:spawnnumber|{{#expr:{{#var:spawnnumber|-1}}+1}}}} |
Revision as of 13:10, 19 March 2016
Contents
Description
This template creates a spawn record using monster and dungeon and displays the monster name.
It creates a subobject with the following properties:
- Spawns monster
- Has monster location
- Is tied to hell mode
Usage
{{Spawns |<monster> | dungeon = | class = | hell = | show dungeon = }}
Parameters
All parameters are optional unless stated otherwise.
- monster
- Required. The wiki page of the monster.
- dungeon
- Required. The wiki page of the dungeon. Defaults to the name of the base article (
{{PAGENAME}}
) - class
- Monster classification. Set to named if the monster is a green named monster, or boss if the monster has a boss health bar.
- hell
- Set to y if the monster spawns in hell mode.
- show dungeon
- Set to y to display the dungeon where the monster is spawned. Hides the dungeon name by default.
Examples
{{Spawns|Nilvas Gracia|class=boss|dungeon=Black Crusade}}
{{Spawns|Humanoid Kanuluk|dungeon=Furtz Power Plant|show dungeon=y|hell=y}}
Humanoid Kanuluk in Furtz Power Plant (Hell Mode)