Template:Monster Infobox: Difference between revisions

From Dragon Quest Wiki
(Attempting to add a new section to the infobox for the older names.)
(Japanese labels fix. See the talk page.)
Line 6: Line 6:
| image = {{#if: {{{image|}}} | {{{image}}} }}
| image = {{#if: {{{image|}}} | {{{image}}} }}
| caption = {{#if: {{{caption|}}} | {{{caption}}} }}
| caption = {{#if: {{{caption|}}} | {{{caption}}} }}
| label1 = Kanji
| label1 = Japanese
| data1 = {{{kanji}}}  
| data1 = {{#if: {{{kanji|}}} | {{{kanji}}} | {{{jap}}} }}
| label2 = Romanji
| label2 = Romanized Japanese
| data2 = {{{romanji}}}  
| data2 = {{#if: {{{romanji|}}} | {{{romanji}}} | {{{romaji}}} }}
| label3 = First Appearance  
| label3 = First Appearance
| data3 = {{{firstappear}}}
| data3 = {{{firstappear}}}
| label4 = Old Localization
| label4 = Old Localization
| data4 = {{{old}}}  
| data4 = {{{old}}}
}}</onlyinclude></includeonly><noinclude>
}}</onlyinclude></includeonly><noinclude>
{{{{PAGENAME}}/doc}}
{{{{PAGENAME}}/doc}}
[[Category:Enemy templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 21:03, 31 January 2020

Usage

This template is an infobox for monsters/enemy and is to be used on monster articles. This template is designed to give a "cliff notes" version of information about the monster. More detailed information should appear within the article's content using Template:Enemy. This template uses Template:Infobox as a base template.

Sample


Wiki markup

{{Monster Infobox
|title=Ninja Enemy 1
|image=[[Image:Rhapthorne2 DQVIII PS2.png]]
|caption=You must die!
|jap=にほんご <!-- Optional: Japanese name -->
|romaji=Nihongo <!-- Optional: Japanese name in latin letters -->
|firstappear=Dragon Quest L
|old=Auld Fāh<!-- Older names, if any -->
}}

Compatibility parameters

  • "jap=" can be "kanji=".
  • "romaji=" can be "romanji=".

Second names are old ones (of wrong/inaccurate terminology), but retained for compatibility.