Template:Monster: Difference between revisions

From Ethene
Content added Content deleted
mNo edit summary
m (Fix parser strings (left off #ifs))
 
(9 intermediate revisions by 2 users not shown)
Line 2: Line 2:
<noinclude>
<noinclude>
[[Category:Templates]]
[[Category:Templates]]

== Explanation ==
== Explanation ==

* en_name: English name of the monster.
* en_name: English name of the monster.
* ja_name: Japanese name of the monster.
* ja_name: Japanese name of the monster.
Line 27: Line 25:
* orbs: Orbs that the monster drops.
* orbs: Orbs that the monster drops.
* family: The type of family the monster belongs to.
* family: The type of family the monster belongs to.
** Don't create links to families; just use the name of the family and it will automatically link to the category.


== Usage ==
== Usage ==
Line 59: Line 58:
<includeonly>
<includeonly>
[[category:Monsters]]
[[category:Monsters]]
{{#if: {{{family|}}}|[[category:{{{family}}} Monsters]]|}}
{{#if: {{{family|}}}|[[Category:{{{family}}}]]|}}
[[File:{{#if: {{{image|}}}|{{{image}}}|&nbsp;}}|300px|right|frame|{{#if: {{{trivia|}}}|{{{trivia}}}|Monster description needed.}}]]
{| class="wikitable" colspan="8" width="100%"

! colspan="1" style="text-align: left; padding:8px; font-size: 25px; background-color:#57E892" | {{#if: {{{en_name|}}}|{{{en_name}}}|{{PAGENAME}}}}
{| class="wikitable" colspan="4" width="70%"
! colspan="6" style="text-align: right; padding:8px; font-size: 25px; background-color:#57E892" | {{#if: {{{ja_name|}}}|{{{ja_name}}}|-}}
! scope="row" style="width: 25%; text-align: left; background-color:#89ABE3FF" | Name
|-
| rowspan="13" width="50%" style="text-align: center; padding:20px; background-color:#e4ffef;" |[[File:{{#if: {{{image|}}}|{{{image}}}|&nbsp;}}|550px]]
| colspan="4" style="width: 75%; text-align: left; background-color:#FCF6F5FF;" | {{#if: {{{en_name|}}}|{{{en_name}}}|{{PAGENAME}}}} ({{#if: {{{ja_name|}}}|{{{ja_name}}}|JP name needed}})
! colspan="1" width="8%" style="background-color:#8affb1" | '''Level'''
| colspan="1" width="8%" style="text-align: center; background-color:#e4ffef;" | {{#if: {{{level|}}}|{{{level}}}|?}}
! colspan="1" width="8%" style="background-color:#8affb1" | '''Weight'''
| colspan="1" width="8%" style="text-align: center; background-color:#e4ffef;" | {{#if: {{{weight|}}}|{{{weight}}}|?}}
! colspan="1" width="8%" style="background-color:#8affb1" | '''HP'''
| colspan="1" width="8%" style="text-align: center; background-color:#e4ffef;" | {{#if: {{{hp|}}}|{{{hp}}}|?}}
|-
! colspan="1" style="background-color:#8affb1;" | '''EXP'''
| colspan="1" style="text-align: center; background-color:#e4ffef;" | {{#if: {{{exp|}}}|{{{exp}}}|?}}
! colspan="1" style="background-color:#8affb1;" | '''Defense'''
| colspan="1" style="text-align: center; background-color:#e4ffef;" | {{#if: {{{defense|}}}|{{{defense}}}|?}}
! colspan="1" style="background-color:#8affb1" | '''MP'''
| colspan="1" style="text-align: center; background-color:#e4ffef;" | {{#if: {{{mp|}}}|{{{mp}}}|?}}
|-
! colspan="1" style="background-color:#8affb1;" | '''Attack'''
| colspan="1" style="text-align: center; background-color:#e4ffef;" | {{#if: {{{attack|}}}|{{{attack}}}|?}}
! colspan="1" style="background-color:#8affb1;" | '''Gold'''
| colspan="1" style="text-align: center; background-color:#e4ffef;" | {{#if: {{{gold|}}}|{{{gold}}}|?}}
! colspan="1" style="background-color:#8affb1" | '''Monster #'''
| colspan="1" style="text-align: center; background-color:#e4ffef;" | {{#if: {{{number|}}}|{{{number}}}|?}}
|-
! colspan="6" style="background-color:#8affb1;" | Weaknesses
|-
| colspan="6" style="text-align: center; background-color:#e4ffef;" | {{#if: {{{weaknesses|}}}|{{{weaknesses}}}|?}}
|-
|-
! colspan="6" style="background-color:#8affb1;" | Resistances
! scope="row" style="width: 25%; text-align: left; background-color:#89ABE3FF" | Lv
| colspan="2" style="width: 25%; text-align: left; background-color:#FCF6F5FF;" | {{#if: {{{level|}}}|{{{level}}}|?}}
! scope="row" style="width: 25%; text-align: left; background-color:#89ABE3FF" | Weight
| colspan="2" style="width: 25%; text-align: left; background-color:#FCF6F5FF;" | {{#if: {{{weight|}}}|{{{weight}}}|?}}
|-
|-
| colspan="6" style="text-align: center; background-color:#e4ffef;" | {{#if: {{{resistances|}}}|{{{resistances}}}|?}}
! scope="row" style="width: 25%; text-align: left; background-color:#89ABE3FF" | HP
| colspan="2" style="width: 25%; text-align: left; background-color:#FCF6F5FF;" | {{#if: {{{hp|}}}|{{{hp}}}|?}}
! scope="row" style="width: 25%; text-align: left; background-color:#89ABE3FF" | MP
| colspan="2" style="width: 25%; text-align: left; background-color:#FCF6F5FF;" | {{#if: {{{mp|}}}|{{{mp}}}|?}}
|-
|-
! colspan="6" style="background-color:#8affb1;" | Locations
! scope="row" style="width: 25%; text-align: left; background-color:#89ABE3FF" | EXP
| colspan="2" style="width: 25%; text-align: left; background-color:#FCF6F5FF;" | {{#if: {{{exp|}}}|{{{exp}}}|?}}
! scope="row" style="width: 25%; text-align: left; background-color:#89ABE3FF" | Gold
| colspan="2" style="width: 25%; text-align: left; background-color:#FCF6F5FF;" | {{#if: {{{gold|}}}|{{{gold}}}|?}}
|-
|-
| colspan="6" style="text-align: center; background-color:#e4ffef;" | {{#if: {{{locations|}}}|{{{locations}}}|?}}
! scope="row" style="width: 25%; text-align: left; background-color:#89ABE3FF" | Attack
| colspan="2" style="width: 25%; text-align: left; background-color:#FCF6F5FF;" | {{#if: {{{attack|}}}|{{{attack}}}|?}}
! scope="row" style="width: 25%; text-align: left; background-color:#89ABE3FF" | Defense
| colspan="2" style="width: 25%; text-align: left; background-color:#FCF6F5FF;" | {{#if: {{{defense|}}}|{{{defense}}}|?}}
|-
|-
! colspan="6" style="background-color:#8affb1;" | Trivia
! scope="row" style="width: 25%; text-align: left; background-color:#89ABE3FF" | Family
| colspan="4" style="width: 75%; text-align: left; background-color:#FCF6F5FF;" | {{#if: {{{family|}}}|[[:Category:{{{family}}}|{{{family}}}]]|?}}
|-
|-
| colspan="6" style="text-align: center; background-color:#e4ffef;" | {{#if: {{{trivia|}}}|{{{trivia}}}|?}}
! scope="row" style="width: 25%; text-align: left; background-color:#89ABE3FF" | Weaknesses
| colspan="4" style="width: 75%; text-align: left; background-color:#FCF6F5FF;" | {{#if: {{{weaknesses|}}}|{{{weaknesses}}}|?}}
|-
|-
! colspan="6" style="background-color:#8affb1;" | Secret Trivia
! scope="row" style="width: 25%; text-align: left; background-color:#89ABE3FF" | Resistances
| colspan="4" style="width: 75%; text-align: left; background-color:#FCF6F5FF;" | {{#if: {{{resistances|}}}|{{{resistances}}}|?}}
|-
|-
| colspan="6" style="text-align: center; background-color:#e4ffef;" | {{#if: {{{secret_trivia|}}}|{{{secret_trivia}}}|?}}
! scope="row" style="width: 25%; text-align: left; background-color:#89ABE3FF" | Locations Found
| colspan="4" style="width: 75%; text-align: left; background-color:#FCF6F5FF;" | {{#if: {{{locations|}}}|{{{locations}}}|?}}
|-
|-
! colspan="1" style="background-color:#8affb1;" | Common Loot
! scope="row" style="width: 25%; text-align: left; background-color:#89ABE3FF" | Secret Trivia
! colspan="6" style="text-align: center; background-color:#8affb1;" | Rare Loot
| colspan="4" style="width: 75%; text-align: left; background-color:#FCF6F5FF;" | {{#if: {{{secret_trivia|}}}|{{{secret_trivia}}}|?}}
|-
|-
| colspan="1" style="text-align: center; background-color:#e4ffef;" | {{#if: {{{common_loot|}}}|{{{common_loot}}}|?}}
! scope="row" style="width: 25%; text-align: left; background-color:#89ABE3FF" | Common Loot
| colspan="6" style="text-align: center; background-color:#e4ffef;" | {{#if: {{{rare_loot|}}}|{{{rare_loot}}}|?}}
| colspan="4" style="width: 75%; text-align: left; background-color:#FCF6F5FF;" | {{#if: {{{common_loot|}}}|{{{common_loot}}}|?}}
|-
|-
! colspan="1" style="text-align: center; background-color:#8affb1;" | Equip Chest Drops
! scope="row" style="width: 25%; text-align: left; background-color:#89ABE3FF" | Rare Loot
! colspan="6" style="text-align: center; background-color:#8affb1;" | Master Orbs
| colspan="4" style="width: 75%; text-align: left; background-color:#FCF6F5FF;" | {{#if: {{{rare_loot|}}}|{{{rare_loot}}}|?}}
|-
|-
| colspan="1" style="text-align: center; background-color:#e4ffef;" | {{#if: {{{equip_loot|}}}|{{{equip_loot}}}|?}}
! scope="row" style="width: 25%; text-align: left; background-color:#89ABE3FF" | Equip Chest Drops
| colspan="6" style="text-align: center; background-color:#e4ffef;" | {{#if: {{{orbs|}}}|{{{orbs}}}|?}}
| colspan="4" style="width: 75%; text-align: left; background-color:#FCF6F5FF;" | {{#if: {{{equip_loot|}}}|{{{equip_loot}}}|?}}
|-
|-
| colspan="8" style="background-color:#EFF6F2;" | '''Family:''' {{#if: {{{family|}}}|{{{family}}}|?}}
! scope="row" style="width: 25%; text-align: left; background-color:#89ABE3FF" | Master Orb Jewels
| colspan="4" style="width: 75%; text-align: left; background-color:#FCF6F5FF;" | {{#if: {{{orbs|}}}|{{{orbs}}}|?}}
|}
|}</includeonly>

Latest revision as of 23:55, 3 July 2024

Explanation

  • en_name: English name of the monster.
  • ja_name: Japanese name of the monster.
  • image: Image name. Please use compressed images for smaller sizes.
  • level: Level of the monster.
  • weight: Weight of the monster.
  • hp: HP of the monster.
  • exp: Experience points gained when the monster is defeated.
  • defense: Defense of the monster.
  • mp: MP of the monster.
  • attack: Attack of the monster.
  • gold: Gold received when defeating the monster.
  • number: Monster number in relation to their position in the in-game monster beastiary.
  • weaknesses: Elements the monster is weak to.
  • resistances: Elements the monster is resistant to.
  • locations: Locations the monster can be found.
  • trivia: Trivia description of the monster.
  • secret_trivia: Secret trivia description of the monster.
  • common_loot: Common loot the monster drops.
  • rare_loot: Rare loot the monster drops.
  • equip_loot: Equipment that the monster drops.
  • orbs: Orbs that the monster drops.
  • family: The type of family the monster belongs to.
    • Don't create links to families; just use the name of the family and it will automatically link to the category.

Usage

{{Monster
| en_name=
| ja_name=
| image=
| level=
| weight= 
| hp=
| exp=
| defense=
| mp=
| attack=
| gold=
| number=
| weaknesses=
| resistances=
| locations=
| trivia=
| secret_trivia=
| common_loot=
| rare_loot=
| equip_loot=
| orbs=
| family=
}}