m (Protected "Template:Locationbox/doc" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
No edit summary |
||
Line 14: | Line 14: | ||
"type": "string", | "type": "string", | ||
"default": "#FFFFFF" | "default": "#FFFFFF" | ||
}, | }, | ||
"image": { | "image": { | ||
Line 82: | Line 76: | ||
"label": "Primary", | "label": "Primary", | ||
"description": "The location's main author.", | "description": "The location's main author.", | ||
"type": "string" | |||
}, | |||
"Name": { | |||
"label": "Name", | |||
"description": "The area's original Japanese names, along with any translations thereof, separated by commas..", | |||
"example": "扉部屋, ''Tobirabeya'', Door Room", | |||
"type": "string" | "type": "string" | ||
} | } | ||
}, | }, | ||
"description": "Displays a location box, which contains a world's details." | "description": "Displays a location box, which contains a world's details.", | ||
"paramOrder": [ | |||
"headercolor", | |||
"headerfontcolor", | |||
"Name", | |||
"image", | |||
"caption", | |||
"JapaneseName", | |||
"Effects", | |||
"Wallpapers", | |||
"Events", | |||
"NPCS", | |||
"Connections", | |||
"BGM", | |||
"Map ID", | |||
"Contributing", | |||
"Primary" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> |
Revision as of 00:45, 27 November 2020
Displays a location box, which contains a world's details.
Parameter | Description | Type | Status | |
---|---|---|---|---|
headercolor | headercolor | The color of the header of the location box.
| String | suggested |
headerfontcolor | headerfontcolor | The color of the text for the header of the location box.
| String | optional |
Name | Name | The area's original Japanese names, along with any translations thereof, separated by commas..
| String | optional |
image | image | The file name for the image to be displayed by the location box. | File | optional |
caption | caption | The corresponding caption for the image, visible if a value is provided. | String | optional |
JapaneseName | JapaneseName | The area's Japanese name.
| String | optional |
Effects | Effects | Effects obtainable in the current location.
| String | optional |
Wallpapers | Wallpapers | Collectibles that you can find in the current location.
| String | optional |
Events | Events | Events that you can encounter. | String | optional |
NPCS | NPCS | Notable NPCs that show up in the current location. | String | optional |
Connections | Connections | Locations accessible from the location at present. | String | optional |
BGM | BGM | Soundtrack that plays in the current location. | String | optional |
Map ID | Map ID | The IDs corresponding to the location's map, as well as any existing sub-areas. | String | optional |
Contributing | Contributing | Authors who have added to the location, visible if a value is provided. | String | optional |
Primary | Primary | The location's main author. | String | optional |
General usage
{{Locationbox
|headercolor = #4A0400
|headerfontcolor = #FFA500
|image = volcanic_subterrain.png
|Effects = None
|Wallpapers = None
|Events = None
|NPCS = None
|Connections = [[Chemical Research Facility]] {{OneWay|NoEntry}}
|BGM = bgm-e (after lighting the foundry)
|Map ID = 1023
|Primary = [[:Category:Ruri|Ruri]]
|Contributing = [[:Category:Qxy|qxy]]
}}
will return
Locationbox/doc | |
---|---|
Basic Info | |
Effects | None |
Events | None |
Notable NPCs | None |
Other | |
Connecting Areas | Chemical Research Facility ⛔ |
BGM | bgm-e (after lighting the foundry) |
Map ID | 1023 |
Primary Author | Ruri |
Contributing Author(s) | qxy |