Template:Monster Infobox: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
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 11: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=Slime
|image=[[Image:DQVIII Slime.png]]
|caption=Art by Akira Toriyama
|kanji=スライム <!-- Optional: Japanese name -->
|romaji=Suraimu <!-- Optional: Japanese name in Latin letters -->
|firstappear=Dragon Quest (or |first=)
|other=<!-- Other names, if any -->
|dw=DW naming
|monster1=[[She-Slime]]
|monster2=[[Metal Slime]]
|monster3=[[King Slime]]
|monster4=[[Slime Knight]]
|monster5=[[Healslime]]
}}

Compatibility parameters

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

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