Template:LocationInfobox: Difference between revisions

From Dragon Quest Wiki
mNo edit summary
m (pagename by default)
 
(18 intermediate revisions by 4 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}}}
| label1  = '''Japanese'''
| label1  = '''Japanese'''
| data1 = {{{japanese}}}
| data1 = {{{japanese | {{{jap | }}} }}}
| label2 = '''Romanji'''
| label2 = '''Rōmaji'''
| data2 = {{{romanji}}}
| data2 = {{{romaji | {{{romaji | }}} }}}
| label3 = '''Games'''
| label3 = '''Game'''
| data3 = {{{game}}}
| data3 = {{{game}}}
| label4 = '''Old localization'''
| 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>

Latest revision as of 20:15, 17 May 2020


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]

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