Difference between revisions of "Template:Monster Infobox"

From Dragon Quest Wiki
Jump to navigation Jump to search
m
m
Line 7: Line 7:
 
{{if: {{{family|}}} | {{!}} label1 = Family {{!}} data1 = {{{family}}} }}
 
{{if: {{{family|}}} | {{!}} label1 = Family {{!}} data1 = {{{family}}} }}
 
{{#if: {{{kanji|}}} | {{!}} label2 = Kanji {{!}} data2 = {{{kanji}}} }}
 
{{#if: {{{kanji|}}} | {{!}} label2 = Kanji {{!}} data2 = {{{kanji}}} }}
{{#if: {{{romanji|}}} | {{!}} label3 = Romanji {{!}} data3 = {{{romanji}}}
+
{{#if: {{{romanji|}}} | {{!}} label3 = Romanji {{!}} data3 = {{{romanji}}} }}
{{#if: {{{firstappear|}}} | {{!}} label4 = First Appearance {{!}} 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 10:44, 20 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!
|kanji=chingchao
|romanji=
|firstappear=Dragon Quest IV
}}