Template:LocationInfobox/doc: Difference between revisions
m updated link |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 3: | Line 3: | ||
== Usage == | == Usage == | ||
<pre><nowiki>{{LocationInfobox | <pre><nowiki>{{LocationInfobox | ||
| type= | |type= | ||
| title= | |title= | ||
| image= | |image= | ||
| caption= | |caption= | ||
| | |japanese= | ||
| romaji= | |romaji= | ||
| game= | |game= | ||
| old= | |old= | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
=== Parameters === | === Parameters === | ||
| Line 19: | Line 19: | ||
* game: The game in which this place appears. E.g. ''[[Dragon Quest X]]'' | * game: The game in which this place appears. E.g. ''[[Dragon Quest X]]'' | ||
Following parameters are optional: | Following parameters are optional: | ||
* | * 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. | * old: If [[Dragon Quest localization history|old localizations]] have different name(s) than "title=", write them here. | ||
| Line 26: | Line 26: | ||
=== Display === | === Display === | ||
{{LocationInfobox | {{LocationInfobox | ||
| type=Capital city | |type=Capital city | ||
| title=Tokyo | |title=Tokyo | ||
| image=[[Image:Dragon_family_icon.png|border|150px]] | |image=[[Image:Dragon_family_icon.png|border|150px]] | ||
| caption=Looks like Tokyo, huh? | |caption=Looks like Tokyo, huh? | ||
| | |japanese=東京 | ||
| romaji=Tōkyō | |romaji=Tōkyō | ||
| game= | |game=Dragon Quest of Samurai | ||
| old=Edo city | |old=Edo city | ||
}} | }} | ||
=== Code === | === Code === | ||
<pre><nowiki>{{LocationInfobox | <pre><nowiki>{{LocationInfobox | ||
| type=Capital city | |type=Capital city | ||
| title=Tokyo | |title=Tokyo | ||
| image=[[Image:Dragon_family_icon.png|border|150px]] | |image=[[Image:Dragon_family_icon.png|border|150px]] | ||
| caption=Looks like Tokyo, huh? | |caption=Looks like Tokyo, huh? | ||
| | |japanese=東京 | ||
| romaji=Tōkyō | |romaji=Tōkyō | ||
| game= | |game=Dragon Quest of Samurai | ||
| old=Edo city | |old=Edo city | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||