Template:Monster Infobox: Difference between revisions
No edit summary |
adding if statements |
||
| Line 2: | Line 2: | ||
| bgcolor = CC5B14 | | bgcolor = CC5B14 | ||
| type = Dragon Quest Monster | | type = Dragon Quest Monster | ||
| title = {{{title}}} | {{#if: {{{title|}}} | {{!}} title = {{{title}}} }} | ||
| image = {{{image}}} | {{#if: {{{image|}}} | {{!}} image = {{{image}}} }} | ||
| caption = {{{caption}}} | {{#if: {{{caption|}}} | {{!}} caption = {{{caption}}} }} | ||
| label1 = family | {{if: {{{family|}}} | {{!}} label1 = family {{!}} data1 = {{{family}}} }} | ||
{{#if: {{{kanji|}}} | {{!}} label2 = Kanji {{!}} data2 = {{{kanji}}} }} | |||
| label2 = Kanji | {{#if: {{{romanji|}}} | {{!}} label3 = Romanji {{!}} data3 = {{{romanji}}} | ||
{{#if: {{{firstappear|}}} | {{!}} label4 = First Appearance {{!}} data4 = {{{firstappear}}} | |||
| label3 = Romanji | |||
| label4 = First Appearance | |||
}}</onlyinclude></includeonly><noinclude> | }}</onlyinclude></includeonly><noinclude> | ||
{{{{PAGENAME}}/doc}} | {{{{PAGENAME}}/doc}} | ||
[[Category:Enemy templates|{{PAGENAME}}]] | [[Category:Enemy templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> | ||