Template:Area/doc: Difference between revisions
Jump to navigation
Jump to search
m (Vinifera7 moved page Template:Zone/doc to Template:Area/doc without leaving a redirect) |
>@DeletedUser40311098 mNo edit summary |
||
Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
The ''' | The '''area''' template is used to show a area [[Template:Infocard|info card]]. | ||
==Parameters== | ==Parameters== | ||
Line 9: | Line 9: | ||
! Parameter !! Description | ! Parameter !! Description | ||
|- | |- | ||
| <code>name</code> || Name of the | | <code>name</code> || Name of the area | ||
|- | |- | ||
| <code>pagename</code> || Name of the | | <code>pagename</code> || Name of the area's wiki page, if different than <code>name</code> | ||
|- | |- | ||
| <code>type</code> || Type of the | | <code>type</code> || Type of the area – Possible values are: <code>Act</code>, <code>Map</code>, <code>Descent</code>, and <code>Descent: Champions</code>. | ||
|- | |- | ||
| <code>act</code> || Act the | | <code>act</code> || Act the area belongs to, if <code>{{{type}}}</code> is set to <code>Act</code> | ||
|- | |- | ||
| <code>icon</code> || | | <code>icon</code> || Area icon – Predefined icons for values: <code>normal</code>, <code>waypoint</code>, and <code>town</code>. | ||
|- | |- | ||
| <code>mlvl1</code> || Monster level for the | | <code>mlvl1</code> || Monster level for the area; for Normal difficulty if <code>{{{type}}}</code> is set to <code>Act</code> | ||
|- | |- | ||
| <code>mlvl2</code> || Monster level for Cruel difficulty if <code>{{{type}}}</code> is set to <code>Act</code> | | <code>mlvl2</code> || Monster level for Cruel difficulty if <code>{{{type}}}</code> is set to <code>Act</code> | ||
Line 25: | Line 25: | ||
| <code>mlvl3</code> || Monster level for Merciless difficulty if <code>{{{type}}}</code> is set to <code>Act</code> | | <code>mlvl3</code> || Monster level for Merciless difficulty if <code>{{{type}}}</code> is set to <code>Act</code> | ||
|- | |- | ||
| <code>image</code> || | | <code>image</code> || Area screenshot – Defaults to <code>{{{name}}} zone screenshot.jpg</code> | ||
|- | |- | ||
| <code>flavourtext</code> || Flavour text for the | | <code>flavourtext</code> || Flavour text for the area | ||
|} | |} | ||
Line 33: | Line 33: | ||
Copy and paste a code template to get started. | Copy and paste a code template to get started. | ||
===Act | ===Act area=== | ||
<pre><nowiki>{{ | <pre><nowiki>{{area | ||
| name = | | name = | ||
| type = Act | | type = Act |
Revision as of 12:01, 13 April 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 , Map , 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 .
|
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 |
Code templates
Copy and paste a code template to get started.
Act area
{{area | name = | type = Act | act = | icon = normal | mlvl1 = | mlvl2 = | mlvl3 = | flavourtext = }}