Template:LocationInfobox: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
Testing, adding section for old localization
No edit summary
 
(16 intermediate revisions by 5 users not shown)
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}}}
| label1  = '''Japanese'''
| label1  = '''Japanese'''
| data1 = {{{japanese}}}
| data1 = <span lang="ja">{{{japanese | {{{jap | }}} }}}</span>
| label2 = '''Romanji'''
| label2 = '''Romaji'''
| data2 = {{{romanji}}}
| data2 = <span lang="ja">{{{romaji | {{{romaji | }}} }}}</span>
| label3 = {{{old}}}
| label3 = '''Translation'''
| data3 = '''Old localization'''
| data3 = {{{translation|}}}
| label4 = '''Game'''
| label4 = '''Game'''
| data4 = {{{game}}}
| data4 = {{{game}}}
| label5 = '''Old Localisation'''
| data5 = {{{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>

Latest revision as of 18:31, 5 July 2026


This template is an infobox to be used for location articles specifically. It uses Template:Infobox as a base template.

Usage[edit source]

{{LocationInfobox
|type=
|title=
|image=
|caption=
|japanese=
|romaji=
|translation=
|game=
|old=
}}

Parameters[edit source]

  • 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.
  • translation: Translation of the Japanese name.
  • old: If old localizations have different name(s) than "title=", write them here.

Example[edit source]

Display[edit source]

Code[edit source]

{{LocationInfobox
|type=Castle
|title=Midenhall
|image=[[Image:DQII Midenhall Castle art.png|300px]]
|caption=Official art of Midenhall Castle
|japanese=ローレシア
|romaji=Rōreshia
|translation=Laurasia
|game={{Dragon Quest II}}<br>{{DQI&IIHD}}
|old=Lorasia (GBC)
}}