Template:LocationInfobox/doc: Difference between revisions
Jump to navigation
Jump to search
m →Parameters: not quite there yet :PPPP |
|||
| Line 17: | Line 17: | ||
* image: Image file. | * image: Image file. | ||
* caption: Caption for the image. | * caption: Caption for the image. | ||
* game: The game in which this place appears. E.g. [[Dragon Quest | * game: The game in which this place appears. E.g. ''[[Dragon Quest X]]'' | ||
Following parameters are optional: | Following parameters are optional: | ||
* jap: Japanese name. | * jap: Japanese name. | ||
Revision as of 18:44, 28 April 2020
This template is an infobox to be used for location articles specifically. It uses Template:Infobox as a base template.
Usage
{{LocationInfobox
| type=
| title=
| image=
| caption=
| jap=
| romaji=
| game=
| old=
}}
Parameters
- type: E.g. Kingdom, Town, Temple
- title: The name of the location. E.g. Tantegel
- image: Image file.
- caption: Caption for the image.
- game: The game in which this place appears. E.g. Dragon Quest X
Following parameters are optional:
- jap: Japanese name.
- romaji: Romanized Japanese name.
- old: If old localizations have different name(s) than "title=", write them here.
Example
Display
| Capital city | |
|---|---|
| Tokyo | |
Looks like Tokyo, huh? | |
| Japanese | 東京 |
| Romaji | Tōkyō |
| Game | Dragon Quest of Samurai |
| Old localization | Edo city |
Code
{{LocationInfobox
| type=Capital city
| title=Tokyo
| image=[[Image:Dragon_family_icon.png|border|150px]]
| caption=Looks like Tokyo, huh?
| jap=東京
| romaji=Tōkyō
| game=[[Dragon Quest of Samurai]]
| old=Edo city
}}