Template:Location page/doc: Difference between revisions
HiddenDragon (talk | contribs) mNo edit summary |
HiddenDragon (talk | contribs) mNo edit summary |
||
Line 6: | Line 6: | ||
<pre> | <pre> | ||
{{Location page | {{Location page | ||
| prefix = | |||
| name = | | name = | ||
| alt name = | | alt name = | ||
Line 12: | Line 13: | ||
| act = | | act = | ||
| summary = | | summary = | ||
| region prefix = | |||
| region = | | region = | ||
| north = | | north = | ||
Line 24: | Line 26: | ||
=== Ebonlake Grotto === | === Ebonlake Grotto === | ||
{{Location page | {{Location page | ||
| prefix = The | |||
| name = Ebonlake Grotto | | name = Ebonlake Grotto | ||
| alt name = the '''Myconid Colony''' | | alt name = the '''Myconid Colony''' | ||
Line 30: | Line 33: | ||
| act = one | | act = one | ||
| summary = It is the home of the [[Myconid]] Circle, a group of mushroom-like telepaths led by Sovereign {{CharLink|Spaw}}. | | summary = It is the home of the [[Myconid]] Circle, a group of mushroom-like telepaths led by Sovereign {{CharLink|Spaw}}. | ||
| region prefix = the | |||
| region = Underdark | | region = Underdark | ||
| north = | | north = | ||
Line 43: | Line 47: | ||
{ | { | ||
"params": { | "params": { | ||
"prefix": { | |||
"description": "What to prefix the name with", | |||
"type": "string" | |||
}, | |||
"name": { | "name": { | ||
"description": "If specified, overrides the name. Otherwise, it will take the name of the article", | "description": "If specified, overrides the name. Otherwise, it will take the name of the article", | ||
Line 74: | Line 82: | ||
"description": "Summary of the location. Also used for SEO purposes.", | "description": "Summary of the location. Also used for SEO purposes.", | ||
"type": "content" | "type": "content" | ||
}, | |||
"region prefix": { | |||
"description": "What to prefix the region name with", | |||
"type": "string" | |||
}, | }, | ||
"region": { | "region": { |
Revision as of 08:40, 18 August 2024
This template displays part of a Location page. It is responsible for the summary, main image and relative location template.
It will also insert a row into the locations
Cargo table.
Copy-ready:
{{Location page | prefix = | name = | alt name = | image = | image description = | act = | summary = | region prefix = | region = | north = | west = | east = | south = }}
Examples
Ebonlake Grotto
Underdark | ||||
Dread Hollow | ← | Ebonlake Grotto | → | Storehouse |
↓ | ||||
Decrepit Village |
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
prefix | prefix | What to prefix the name with | String | optional |
name | name | If specified, overrides the name. Otherwise, it will take the name of the article | String | required |
alt name | alt name | Alternative name for the location | String | optional |
image | image | Image to use as the main page image at the top right | File | optional |
image description | image description | Description of the main page image, displayed underneath. | String | optional |
act | act | Which act of the game this location appears in
| String | required |
summary | summary | Summary of the location. Also used for SEO purposes. | Content | optional |
region prefix | region prefix | What to prefix the region name with | String | optional |
region | region | The region where this location is located within. Slightly changes the summary.
| Page name | optional |
north | north | The location to the north of this location. | Page name | optional |
east | east | The location to the east of this location. | Page name | optional |
south | south | The location to the south of this location. | Page name | optional |
west | west | The location to the west of this location. | Page name | optional |