Template:LocationInfobox/doc: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
Created page with "This template is an infobox to be used for location articles specifically. It uses Template:Infobox as a base template. == Usage == <pre><nowiki>{{LocationInfobox | type..."
 
 
(6 intermediate revisions by 4 users not shown)
Line 3: Line 3:
== Usage ==
== Usage ==
<pre><nowiki>{{LocationInfobox
<pre><nowiki>{{LocationInfobox
| type=
|type=
| title=
|title=
| image=
|image=
| caption=
|caption=
| jap=
|japanese=
| romaji=
|romaji=
| game=
|translation=
| old=
|game=
|old=
}}</nowiki></pre>
}}</nowiki></pre>
=== Parameters ===
=== Parameters ===
Line 17: Line 18:
* image: Image file.
* image: Image file.
* caption: Caption for the image.
* caption: Caption for the image.
* game: The game in which this place appears. E.g. [[Dragon Quest XX]]
* game: The game in which this place appears. E.g. ''[[Dragon Quest X]]''
Following parameters are optional:
Following parameters are optional:
* jap: Japanese name.
* japanese: Japanese name in kanji, hiragana, or katakana.
* romaji: Romanized Japanese name.
* romaji: Romanized Japanese name.
* old: If [[Dragon Quest Localization History|old localizations]] have different name(s) than "title=", write them here.
* translation: Translation of the Japanese name.
* old: If [[Dragon Quest localization history|old localizations]] have different name(s) than "title=", write them here.


== Exmaple ==
== Example ==
=== Display ===
=== Display ===
{{LocationInfobox
{{LocationInfobox
| type=Capital city
|type=Castle
| title=Tokyo
|title=Midenhall
| image=[[Image:Dragon_family_icon.png|border|150px]]
|image=[[Image:DQII Midenhall Castle art.png|300px]]
| caption=Looks like Tokyo, huh?
|caption=Official art of Midenhall Castle
| jap=東京
|japanese=ローレシア
| romaji=Tōkyō
|romaji=Rōreshia
| game=[[Dragon Quest of Samurai]]
|translation=Laurasia
| old=Edo city
|game={{Dragon Quest II}}<br>{{DQI&IIHD}}
|old=Lorasia (GBC)
}}
}}


=== Code ===
=== Code ===
<pre><nowiki>{{LocationInfobox
<pre><nowiki>{{LocationInfobox
| type=Capital city
|type=Castle
| title=Tokyo
|title=Midenhall
| image=[[Image:Dragon_family_icon.png|border|150px]]
|image=[[Image:DQII Midenhall Castle art.png|300px]]
| caption=Looks like Tokyo, huh?
|caption=Official art of Midenhall Castle
| jap=東京
|japanese=ローレシア
| romaji=Tōkyō
|romaji=Rōreshia
| game=[[Dragon Quest of Samurai]]
|translation=Laurasia
| old=Edo city
|game={{Dragon Quest II}}<br>{{DQI&IIHD}}
|old=Lorasia (GBC)
}}</nowiki></pre>
}}</nowiki></pre>

Latest revision as of 18:37, 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)
}}