Template:LocationInfobox: Difference between revisions
Jump to navigation
Jump to search
m isnt it "romaji"? |
m pagename by default |
||
| Line 3: | Line 3: | ||
| color = ffffff | | color = ffffff | ||
| type = {{{type}}} | | type = {{{type}}} | ||
| title = {{{title}}} | | title = {{{title|{{PAGENAME}}}}} | ||
| image = {{{image}}} | | image = {{{image}}} | ||
| caption = {{{caption}}} | | caption = {{{caption}}} | ||
Revision as of 20:15, 17 May 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=
|japanese=
|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:
- japanese: Japanese name in kanji, hiragana, or katakana.
- 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 | 東京 |
| Rōmaji | 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?
|japanese=東京
|romaji=Tōkyō
|game=Dragon Quest of Samurai
|old=Edo city
}}