Template:Monster Infobox: Difference between revisions

From Dragon Quest Wiki
mNo edit summary
No edit summary
Line 5: Line 5:
| image = {{#if: {{{image|}}} | {{{image}}} }}
| image = {{#if: {{{image|}}} | {{{image}}} }}
| caption = {{#if: {{{caption|}}} | {{{caption}}} }}
| caption = {{#if: {{{caption|}}} | {{{caption}}} }}
{{#if: {{{family|}}} | {{!}} label1 = Family
| label2 = Kanji  
{{!}} data1 = {{{family}}} }}
| data2 = {{{kanji}}}  
{{#if: {{{kanji|}}} | {{!}} label2 = Kanji  
| label3 = Romanji  
{{!}} data2 = {{{kanji}}} }}
| data3 = {{{romanji}}}  
{{#if: {{{romanji|}}} | {{!}} label3 = Romanji  
| label4 = First Appearance  
{{!}} data3 = {{{romanji}}} }}
| data4 = {{{firstappear}}}  
{{#if: {{{firstappear|}}} | {{!}} label4 = First Appearance  
{{!}} data4 = {{{firstappear}}} }}
}}</onlyinclude></includeonly><noinclude>
}}</onlyinclude></includeonly><noinclude>
{{{{PAGENAME}}/doc}}
{{{{PAGENAME}}/doc}}
[[Category:Enemy templates|{{PAGENAME}}]]
[[Category:Enemy templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 11:13, 25 January 2011

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.