Template:EnemyBase: Difference between revisions
From Dragon Quest Wiki
FlyingRagnar (talk | contribs) mNo edit summary |
D9w.hatena (talk | contribs) (Japanese fix. See Template_talk:Monster_Infobox.) |
||
(22 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
{{{{PAGENAME}}/doc}} | {{{{PAGENAME}}/doc}} | ||
[[Category:Enemy templates|{{PAGENAME}}]] | [[Category:Enemy templates|{{PAGENAME}}]] | ||
[[Category:Meta templates|{{PAGENAME}}]] | |||
</noinclude> | </noinclude> | ||
<onlyinclude><includeonly> | <onlyinclude><includeonly> | ||
{|class="enemyTemplateTable" | {|class="enemyTemplateTable" cellpadding="0" cellspacing="0" style="margin-right: 15px;" | ||
!class="enemyTemplateHeader" colspan="2"| {{#if: {{{bestiaryNumber|}}}| '''#{{{bestiaryNumber}}} - ''' }}{{{name}}} | |||
!class="enemyTemplateHeader | |||
|- | |- | ||
!colspan="2"|{{#if: {{{image|}}} | {{{image}}} | !colspan="2"|{{#if: {{{image|}}} | {{{image}}} | ||
Line 31: | Line 29: | ||
!colspan="3" width="25%"|Defense | !colspan="3" width="25%"|Defense | ||
!colspan="3" width="25%"|Speed | !colspan="3" width="25%"|Speed | ||
|- | |- | ||
|colspan="3"|{{#if: {{{attack|}}} | {{{attack}}} | |colspan="3"|{{#if: {{{attack|}}} | {{{attack}}} | ||
Line 38: | Line 35: | ||
}} | }} | ||
|colspan="3"|{{#if: {{{agility|}}} | {{{agility}}} | |colspan="3"|{{#if: {{{agility|}}} | {{{agility}}} | ||
}} | }} | ||
|} | |} | ||
{{#if: {{{level|}}} | {{!}}- | |||
{{!}} class="enemyTemplateHeader" {{!}} Level | |||
{{!}} class="enemyTemplateCell" {{!}} {{{level}}} | {{!}}- }} | |||
{{#if: {{{droppedItem|}}} | {{!}}- | |||
{{!}} class="enemyTemplateHeader" {{!}} Dropped Item | |||
{{!}} class="enemyTemplateCell" {{!}} {{{droppedItem}}} | {{!}}- }} | |||
{{#if: {{{locations|}}} | {{!}}- | {{#if: {{{locations|}}} | {{!}}- | ||
{{!}} class="enemyTemplateHeader" {{!}} Locations | {{!}} class="enemyTemplateHeader" {{!}} Locations | ||
Line 66: | Line 67: | ||
{{!}} class="enemyTemplateHeader" {{!}} Console | {{!}} class="enemyTemplateHeader" {{!}} Console | ||
{{!}} class="enemyTemplateCell" {{!}} {{{console}}} | {{!}}- }} | {{!}} class="enemyTemplateCell" {{!}} {{{console}}} | {{!}}- }} | ||
{{#if: {{{kanji|}}} | {{!}}- | |||
{{!}} class="enemyTemplateHeader" {{!}} Japanese Name | |||
{{!}} class="enemyTemplateCell" {{!}} {{{kanji}}} | {{!}}- }} | |||
{{#if: {{{romanji|}}} | {{!}}- | {{#if: {{{romanji|}}} | {{!}}- | ||
{{!}} class="enemyTemplateHeader" {{!}} | {{!}} class="enemyTemplateHeader" {{!}} Romanized Jap. | ||
{{!}} class="enemyTemplateCell" {{!}} {{{romanji}}} | {{!}}- }} | {{!}} class="enemyTemplateCell" {{!}} {{{romanji}}} | {{!}}- }} | ||
{{#if: {{{description|}}} | {{!}}- | {{#if: {{{description|}}} | {{!}}- | ||
{{!}} class="enemyTemplateHeader" {{!}} Description | {{!}} class="enemyTemplateHeader" {{!}} Description | ||
{{!}} class="enemyTemplateCell" {{!}} {{{description}}} | {{!}}- }} | {{!}} class="enemyTemplateCell" {{!}} {{{description}}} | {{!}}- }} | ||
| | |}</includeonly></onlyinclude> | ||
</includeonly> | |||
</onlyinclude> |
Latest revision as of 03:35, 10 February 2020
This template is a base template for other enemy templates. It should only be used within other templates and not on articles. In most cases, the Enemy template should be used on articles.