Jump to content

Template:Monster: Difference between revisions

From PAD Wiki
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
<noinclude>  
<noinclude>  
{{#cargo_declare:
{{#cargo_declare:
   _table = monsters
   _table = leaderskills
   | MonsterID  = Integer
   | SkillID    = Integer
   | Name        = String
   | SkillName   = String
  | MainAttr    = String
   | Description = Text
  | SubAttr    = String
   | Category   = String
  | ThirdAttr   = String
   | Rarity      = Integer
  | Cost        = Integer
   | MaxLevel   = Integer
  | HP_Max      = Integer
  | ATK_Max    = Integer
  | RCV_Max    = Integer
  | HP_110      = Integer
  | ATK_110    = Integer
  | RCV_110    = Integer
  | HP_120      = Integer
  | ATK_120    = Integer
  | RCV_120    = Integer
  | Types      = String
  | Awakenings  = String
  | LeaderSkillID = Integer
  | ActiveSkillID = Integer
  | Image      = File
  | Obtain      = String
  | EvolvesFrom = String
  | EvolvesTo  = String
  | EvoMaterials = String
  | EvoMaterialCosts = String  
}}
}}
</noinclude>
</noinclude>
<includeonly>
<includeonly>
{{#cargo_store:
{{#cargo_store:
   _table      = monsters
   _table      = leaderskills
   | MonsterID = {{{id|}}}
   | SkillID    = {{{id|}}}
   | Name      = {{{name|{{PAGENAME}}}}}
   | SkillName  = {{{name|{{PAGENAME}}}}}
   | MainAttr  = {{{attribute|}}}
   | Description = {{{description|}}}
  | SubAttr  = {{{subattribute|}}}
   | Category   = {{{category|}}}
  | ThirdAttr = {{{thirdattribute|}}}
  | Rarity    = {{{rarity|}}}
  | Cost      = {{{cost|}}}
   | MaxLevel  = {{{maxlevel|99}}}
   | HP_Max    = {{{hp_max|}}}
  | ATK_Max  = {{{atk_max|}}}
  | RCV_Max  = {{{rcv_max|}}}
  | HP_110    = {{{hp_110|}}}
  | ATK_110  = {{{atk_110|}}}
  | RCV_110  = {{{rcv_110|}}}
  | HP_120    = {{{hp_120|}}}
  | ATK_120  = {{{atk_120|}}}
  | RCV_120  = {{{rcv_120|}}}
  | Types    = {{{types|}}}        <!-- separate with semicolons ; -->
  | Awakenings= {{{awakenings|}}}  <!-- separate with semicolons ; -->
  | LeaderSkillID = {{{leaderskillid|}}}
  | ActiveSkillID = {{{activeskillid|}}}
  | Image    = {{{image|}}}
  | Obtain    = {{{obtain|}}}
  | EvolvesFrom = {{{evolvesfrom|}}}
  | EvolvesTo = {{{evolvesto|}}}
  | EvoMaterials = {{{evomaterials|}}}
  | EvoMaterialCosts = {{{evomaterialcosts|}}}
}}
}}
{| class="wikitable"
{| class="wikitable"
! colspan="2" | {{{name|{{PAGENAME}}}}}
! colspan="2" | {{{name|{{PAGENAME}}}}} (Leader Skill)
|-
|-
| ID || {{{id|}}}
| Skill ID || {{{id|}}}
|-
|-
| Primary Attribute  || {{#if:{{{attribute|}}}|{{#ifeq:{{lc:{{{attribute}}}}}|none|None|{{Orbs|{{{attribute}}}}}}}|None}}
| Description || {{{description|}}}
|-
|-
| Secondary Attribute || {{#if:{{{subattribute|}}}|{{#ifeq:{{lc:{{{subattribute}}}}}|none|None|{{Orbs|{{{subattribute}}}}}}}|None}}
{{#if:{{{category|}}}|
| Category || {{{category|}}}
|-
|-
| Tertiary Attribute  || {{#if:{{{thirdattribute|}}}|{{#ifeq:{{lc:{{{thirdattribute}}}}}|none|None|{{Orbs|{{{thirdattribute}}}}}}}|None}}
}}
|-
| Rarity || {{{rarity|}}}
|-
| Cost || {{{cost|}}}
|-
| Types || {{{types|}}}
|-
| Awakenings || {{{awakenings|}}}
|}
 
{| class="wikitable"
! Stats || '''Max Level ({{{maxlevel|99}}})''' || '''Level 110''' || '''Level 120'''
|-
| '''HP''' || {{{hp_max|}}} || {{{hp_110|}}} || {{{hp_120|}}}
|-
| '''ATK''' || {{{atk_max|}}} || {{{atk_110|}}} || {{{atk_120|}}}
|-
| '''RCV''' || {{{rcv_max|}}} || {{{rcv_110|}}} || {{{rcv_120|}}}
|}
|}


{{#if:{{{leaderskillid|}}}|
== Monsters with this Skill ==
== Leader Skill ==
{{#cargo_query:
{{#cargo_query:
tables=leaderskills
tables=monsters
|fields=SkillName,Description
|fields=MonsterID,Name
|where=SkillID={{{leaderskillid|}}}
|where=LeaderSkillID={{{id|}}}
|order by=MonsterID ASC
|format=template
|format=template
|template=Skill Display LS
|template=Monster List Plain
|named args=no
|named args=no
|default=No monsters currently use this skill.
}}
}}
}}
{{#if:{{{activeskillid|}}}|
== Active Skill ==
{{#cargo_query:
tables=activeskills
|fields=SkillName,Description,MaxCooldown,MinCooldown
|where=SkillID={{{activeskillid|}}}
|format=template
|template=Skill Display AS
|named args=no
}}
}}
== How to Obtain ==
{{#if:{{{evolvesfrom|}}}|Evolution from [[{{{evolvesfrom}}}]]{{#if:{{{obtain|}}}|<br/>{{{obtain}}}}}|{{{obtain|Unknown}}}}}
{{#if:{{{evolvesfrom|}}}{{{evolvesto|}}}|
== Evolution ==
{{#if:{{{evolvesfrom|}}}|
'''Evolves From:''' [[{{{evolvesfrom}}}]]<br/>
}}
{{#if:{{{evolvesto|}}}|
'''Evolves To:''' [[{{{evolvesto}}}]]<br/>
}}
{{#if:{{{evomaterials|}}}|
'''Evolution Materials:''' {{{evomaterials|}}}{{#if:{{{evomaterialcosts|}}}| ({{{evomaterialcosts}}} coins)}}<br/>
}}
|}}
</includeonly>
</includeonly>
<noinclude>
<noinclude>
== Usage ==
== Usage ==
<nowiki>{{Monster
<nowiki>{{LeaderSkill
| id = 1001
| id = 1
| name = Red Ogre
| name = Fire Power
| attribute = Fire
| description = Fire attribute cards ATK x3, RCV x1.5
| subattribute = Dark
| category = Attribute Boost
| rarity = 3
| cost = 7
| maxlevel = 99
| hp_max = 1400
| atk_max = 750
| rcv_max = 0
| hp_110 = 1540
| atk_110 = 825
| rcv_110 = 0
| hp_120 = 1680
| atk_120 = 900
| rcv_120 = 0
| types = Devil; Attacker
| awakenings = +HP; Skill Boost
| leaderskillid = 1
| activeskillid = 1
| evolvesto = Red Dragon
| evomaterials = Dragon Fruit x5; Red Dragon Fruit x3
| evomaterialcosts = 500000
| image = Red_Ogre.png
}}</nowiki>
}}</nowiki>
* Use semicolons (;) to separate lists.
* Category is optional but helps organize skills
* Skills are optional - leave blank if monster doesn't have them.
* For cooldowns, use format like "15 → 10" to show max and min turns.
</noinclude>
</noinclude>

Revision as of 23:54, 17 August 2025

This template defines the table "leaderskills". View table.


Usage

{{LeaderSkill | id = 1 | name = Fire Power | description = Fire attribute cards ATK x3, RCV x1.5 | category = Attribute Boost }}

  • Category is optional but helps organize skills