Template:LocationInfobox: Difference between revisions

From Dragon Quest Wiki
No edit summary
(Japanese fix. See Template_talk:Monster_Infobox. {{{old}}} is now optional.)
Line 7: Line 7:
| caption = {{{caption}}}
| caption = {{{caption}}}
| label1  = '''Japanese'''
| label1  = '''Japanese'''
| data1 = {{{japanese}}}
| data1 = {{{japanese | {{{jap | }}} }}}
| label2 = '''Romanji'''
| label2 = '''Romanized Jap.'''
| data2 = {{{romanji}}}
| data2 = {{{romanji | {{{romaji | }}} }}}
| label3 = '''Game'''
| label3 = '''Game'''
| data3 = {{{game}}}
| data3 = {{{game}}}
| label4 = '''Old localization'''
| label4 = '''Old localization'''
| data4 = {{{old}}}
| data4 = {{{old|}}}
}}</onlyinclude></includeonly>
}}</onlyinclude></includeonly>
<noinclude>
<noinclude>
This template is an infobox to be used for location articles specifically.  It uses [[Template:Infobox]] as a base template. 
{{{{PAGENAME}}/doc}}
[[Category:Location templates|{{PAGENAME}}]]
[[Category:Location templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 01:30, 10 February 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

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
}}