Difference between revisions of "Template:Monster Infobox"

From Dragon Quest Wiki
m
m
Line 6: Line 6:
 
| image = {{#if: {{{image|}}} | {{{image}}} }}
 
| image = {{#if: {{{image|}}} | {{{image}}} }}
 
| caption = {{#if: {{{caption|}}} | {{{caption}}} }}
 
| caption = {{#if: {{{caption|}}} | {{{caption}}} }}
| label1 = Kanji  
+
| label1 = {{#if: {{{kanji|}}} | Kanji  
| data1 = {{{kanji}}}  
+
| data1 = {{#if: {{{kanji|}}} | {{{kanji}}}  
| label2 = Romanji  
+
| label2 = {{#if: {{{romanji|}}} | Romanji  
| data2 = {{{romanji}}}  
+
| data2 = {{#if: {{{romanji|}}} | {{{romanji}}}  
 
| label3 = First Appearance  
 
| label3 = First Appearance  
 
| data3 = {{{firstappear}}}  
 
| data3 = {{{firstappear}}}  

Revision as of 09:52, 13 May 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

{{Infobox | color = FFFFFF | bgcolor = CC5B14 | type = Dragon Quest Monster | title = Ninja Enemy 1 | image = Rhapthorne2 DQVIII PS2.png | caption = You must die! | label1 = {{#if: | Kanji | data1 = {{#if: | {{{kanji}}} | label2 = {{#if: | Romanji | data2 = label3 = First Appearance

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.