Template:LocationInfobox: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
Japanese fix. See Template_talk:Monster_Infobox. {{{old}}} is now optional.
m isnt it "romaji"?
Line 8: Line 8:
| label1  = '''Japanese'''
| label1  = '''Japanese'''
| data1 = {{{japanese | {{{jap | }}} }}}
| data1 = {{{japanese | {{{jap | }}} }}}
| label2 = '''Romanized Jap.'''
| label2 = '''Rōmaji'''
| data2 = {{{romanji | {{{romaji | }}} }}}
| data2 = {{{romaji | {{{romaji | }}} }}}
| label3 = '''Game'''
| label3 = '''Game'''
| data3 = {{{game}}}
| data3 = {{{game}}}

Revision as of 18:43, 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=
|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
}}