Please note that some information on this wiki is still based on the demo version.
If you notice any errors, feel free to correct them.

Template:Infobox monster: Difference between revisions

From Super Fantasy Kingdom Official Wiki
wgg>Cadaei
stats
converted to pi
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{infobox header|name={{{name|{{PAGENAME}}}}}|image={{{image|{{PAGENAME}}.png}}}|info={{{info|}}}}}<!--
<includeonly>
-->{{infobox data row | Stats | {{#if:{{{damage|}}}{{{health|}}}{{{shield|}}}{{{criticalChance|}}}{{{physicalDefense|}}}{{{magicalDefense|}}}|{{stats|
<infobox>
  <title source="title">
    <default>{{PAGENAME}}</default>
  </title>
  <image source="image" />
  <data source="caption"/>
  <data source="kingdom">
    <label>Kingdom</label>
    <format>{{kingdomDisplay|{{{kingdom|}}}|1}}</format>
  </data>
  <data source="stats">
    <label>Stats</label>
    <format>{{#if:{{{damage|}}}{{{health|}}}{{{shield|}}}{{{criticalChance|}}}{{{physicalDefense|}}}{{{magicalDefense|}}}|{{stats|
| dm = {{{damage|}}}
| dm = {{{damage|}}}
| hp = {{{health|}}}
| hp = {{{health|}}}
Line 7: Line 19:
| pd = {{#if:{{{physicalDefense|}}}|{{{physicalDefense|}}}%}}
| pd = {{#if:{{{physicalDefense|}}}|{{{physicalDefense|}}}%}}
| md = {{#if:{{{magicalDefense|}}}|{{{magicalDefense|}}}%}}
| md = {{#if:{{{magicalDefense|}}}|{{{magicalDefense|}}}%}}
}}}}}}<!--
}}}}</format>
-->{{infobox data row | Appears first on day | {{#if:{{{appearanceRank|}}}|{{MonsterOnDay|{{{appearanceRank|}}}}}<div style="font-size:0.8em; text-align:left;">The monster can also appear on later days.</div>}}}}<!--
  </data>
-->{{infobox footer}}
  <data source="appearanceRank">
    <label>Appears first on day</label>
    <format>{{#if:{{{appearanceRank|}}}|{{MonsterOnDay|{{{appearanceRank}}}}}<div style="font-size:0.8em; text-align:left;">The monster can also appear on later days.</div>}}</format>
  </data>
</infobox>
[[Category:Monsters]]
[[Category:Monsters]]
{{#if:{{#var:noCargo}}||{{#cargo_store:_table=Monsters
{{#if:{{#var:noCargo}}||{{#cargo_store:_table=Monsters
|name={{{name|{{PAGENAME}}}}}
|name={{{title|{{PAGENAME}}}}}
|appearanceRank={{{appearanceRank|}}}
|damage={{{damage|}}}
|health={{{health|}}}
|shield={{{shield|}}}
|criticalChance={{{criticalChance|}}}
|physicalDefense={{{physicalDefense|}}}
|magicalDefense={{{magicalDefense|}}}
}}}}</includeonly><noinclude>{{doc}}
}}}}</includeonly><noinclude>{{doc}}
{{#cargo_declare:_table=Monsters
{{#cargo_declare:_table=Monsters

Latest revision as of 23:43, 27 October 2025

File:Template-info.svg Documentation Edit this documentation at Template:Infobox_monster/doc.
(edit • history • purge)

This is an infobox template for monsters. It will add the info to Special:CargoTables/Monsters.

The appearing rank is the day of the first appearance on curse 0 ignoring offsets by bosses. For example

  • when a monster on curse 0 appears first on day 1 the rank is 1
  • when a monster on curse 0 appears first on day 8 the rank is 7 because the boss on day 7 is fixed without rank

Use it on monster pages, e.g. like this

{{infobox monster
| damage = 8
| health = 44
| shield = 0
| criticalChance = 0
| physicalDefense = 0
| magicalDefense = 0
| appearanceRank = 9
}}

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