Template:Area/doc: Difference between revisions
Jump to navigation
Jump to search
>Qetuth (added support for mission areas and hideout areas) |
>Qetuth (added support for tilesets, second example copy/paste source) |
||
| Line 30: | Line 30: | ||
|- | |- | ||
| '''flavourtext''' || Flavour text for the area | | '''flavourtext''' || Flavour text for the area | ||
|- | |||
| '''tileset''' || Tileset for the area | |||
|} | |} | ||
| Line 45: | Line 47: | ||
| mlvl3 = | | mlvl3 = | ||
| flavourtext = | | flavourtext = | ||
| tileset = | |||
}}</nowiki></pre> | |||
===Other areas=== | |||
<pre><nowiki>{{area | |||
| name = | |||
| type = | |||
| difficulty = | |||
| mlvl1 = | |||
| tileset = | |||
}}</nowiki></pre> | }}</nowiki></pre> | ||
Revision as of 00:51, 19 November 2014
This subpage provides documentation for Template:Area.
The area template is used to show a area info card.
Parameters
All parameters except for name are optional. They can be excluded or left blank.
| Parameter | Description |
|---|---|
| name | Name of the area |
| pagename | Name of the area's wiki page, if different than name |
| type | Type of the area – Possible values are: Act, Corrupted, Hideout, Map, Mission, Descent, and Descent: Champions.
|
| act | Act the area belongs to, if type is set to Act
|
| icon | Area icon – Predefined icons for values: Normal, Waypoint, and Town.
|
| difficulty | The difficulty of the area, if type is set to Descent or Descent: Champions. Possible values are Normal, Cruel, and Merciless.
|
| mlvl1 | Monster level for the area; for Normal difficulty if type is set to Act
|
| mlvl2 | Monster level for Cruel difficulty if type is set to Act
|
| mlvl3 | Monster level for Merciless difficulty if type is set to Act
|
| image | Area screenshot – Defaults to name zone screenshot.jpg
|
| flavourtext | Flavour text for the area |
| tileset | Tileset for the area |
Code templates
Copy and paste a code template to get started.
Act area
{{area
| name =
| type = Act
| act =
| icon = normal
| mlvl1 =
| mlvl2 =
| mlvl3 =
| flavourtext =
| tileset =
}}
Other areas
{{area
| name =
| type =
| difficulty =
| mlvl1 =
| tileset =
}}