Template:LocationInfobox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Rigel Kent (talk | contribs) m (English spelling of "romaji", lang tags) |
||
| (23 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{Infobox | <includeonly><onlyinclude>{{Infobox | ||
| bgcolor = | | bgcolor = 258E36 | ||
| color = ffffff | |||
| type = {{{type}}} | | type = {{{type}}} | ||
| title = {{{title}}} | | title = {{{title|{{PAGENAME}}}}} | ||
| image = {{{image}}} | | image = {{{image}}} | ||
| caption = {{{caption}}} | | caption = {{{caption}}} | ||
| Japanese | {{{japanese}}} | | label1 = '''Japanese''' | ||
| | | data1 = <span lang="ja">{{{japanese | {{{jap | }}} }}}</span> | ||
| | | label2 = '''Romaji''' | ||
| data2 = <span lang="ja">{{{romaji | {{{romaji | }}} }}}</span> | |||
| label3 = '''Game''' | |||
| data3 = {{{game}}} | |||
| label4 = '''Old localization''' | |||
| data4 = {{{old|}}} | |||
}}</onlyinclude></includeonly> | }}</onlyinclude></includeonly> | ||
<noinclude> | <noinclude> | ||
{{{{PAGENAME}}/doc}} | |||
[[Category:Location templates|{{PAGENAME}}]] | [[Category:Location templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 12:39, 24 April 2025
This template is an infobox to be used for location articles specifically. It uses Template:Infobox as a base template.
Usage[edit]
{{LocationInfobox
|type=
|title=
|image=
|caption=
|japanese=
|romaji=
|game=
|old=
}}
Parameters[edit]
- 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[edit]
Display[edit]
| Capital city | |
|---|---|
| Tokyo | |
Looks like Tokyo, huh? | |
| Japanese | 東京 |
| Romaji | Tōkyō |
| Game | Dragon Quest of Samurai |
| Old localization | Edo city |
Code[edit]
{{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
}}