This template is for use at the top of every location article to provide basic stats and info, as well as a location navbox.
Usage
Here is the basic code for the template which can be copied into the editor:
{{Location Card
| name =
| color = {{Loc color|???}}
| image = File:???.png
| description =
| room_count =
| trader_count =
| quest_count =
| treasure_default =
| treasure_bronze =
| treasure_silver =
| treasure_gold =
| treasure_key =
| treasure_masterkey =
}}
Below is the code for the location card seen on this page:
{{Location Card
| name = Name Goes Here
| color = {{Loc color|orange}}
| image = File:Autumn's Rise.png
| description = Description goes here.
| room_count = 16
| trader_count = 10
| quest_count =
| treasure_default = 4
| treasure_bronze = 7
| treasure_silver = 0
| treasure_gold = 2
}}
TemplateData
Do not use named parameter for 1 ... x. The first Parameter will be automatically marked as 1, the second as 2 and so on.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name
|
Name of the location
|
String | Required |
| Color | color
|
value of the background color for the header. Can be done using either
|
String | Required |
| Image | image
|
Filename of a representative image of the location.
|
String | Required |
| Description | description
|
Description of the location shown on the in-game world map.
|
String | Required |
| Room count | room_count
|
Number of rooms in the location.
|
Number | Recommended |
| Trader count | trader_count
|
Number of traders in the location. Hidden if no value is assigned.
|
Number | Optional |
| Quest count | quest_count
|
Number of quests that are started in the location. Hidden if no value is assigned.
|
Number | Optional |
| Normal chest count | treasure_default
|
Number of regular chests in the location. Hidden if no value is assigned.
|
Number | Optional |
| Bronze chest count | treasure_bronze
|
Number of bronze chests in the location. Hidden if no value is assigned.
|
Number | Optional |
| Silver chest count | treasure_silver
|
Number of silver chests in the location. Hidden if no value is assigned.
|
Number | Optional |
| Gold chest count | treasure_gold
|
Number of gold chests in the location. Hidden if no value is assigned.
|
Number | Optional |
| Key chest count | treasure_key
|
Number of Key chests in the location. Hidden if no value is assigned.
|
Number | Optional |
| Master Key chest count | treasure_masterkey
|
Number of Master Key chests in the location. Hidden if no value is assigned.
|
Number | Optional |
- Format:
- Block
See Template:TemplateData and Template:TemplateData/entry for more information about the parameter list and DDNCode for more information about types and the DDN Notation
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Name of the location | String | required |
| Color | color | value of the background color for the header. Can be done using either <code>{{[[Template:Loc color|Loc color]]}}</code> or HTML syntax.
| String | required |
| Image | image | Filename of a representative image of the location.
| String | required |
| Description | description | Description of the location shown on the in-game world map. | String | required |
| Room count | room_count | Number of rooms in the location.
| Number | suggested |
| Trader count | trader_count | Number of traders in the location. Hidden if no value is assigned. | Number | optional |
| Quest count | quest_count | Number of quests that are started in the location. Hidden if no value is assigned. | Number | optional |
| Normal chest count | treasure_default | Number of regular chests in the location. Hidden if no value is assigned. | Number | optional |
| Bronze chest count | treasure_bronze | Number of bronze chests in the location. Hidden if no value is assigned. | Number | optional |
| Silver chest count | treasure_silver | Number of silver chests in the location. Hidden if no value is assigned. | Number | optional |
| Gold chest count | treasure_gold | Number of gold chests in the location. Hidden if no value is assigned. | Number | optional |
| Key chest count | treasure_key | Number of Key chests in the location. Hidden if no value is assigned. | Number | optional |
| Master Key chest count | treasure_masterkey | Number of Master Key chests in the location. Hidden if no value is assigned. | Number | optional |