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 Created page with "<includeonly>{{infobox header|name={{{name|{{PAGENAME}}}}}|image={{{image|{{PAGENAME}}.png}}}|info={{{info|}}}}}<!-- -->{{infobox data row | Appears on day | {{#if:{{{appearsOnDay|}}}|{{tooltip|{{{appearsOnDay}}}|based on Curse 0, will appear one day earlier per higher Curse level}}}}<!-- -->{{infobox footer}} Category:Units {{#if:{{#var:noCargo}}||{{#cargo_store:_table=Monsters |name={{{name|{{PAGENAME}}}}} }}}}</includeonly><noinclude> This is an infobox template f..." |
converted to pi |
||
| (10 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly> | ||
<infobox> | |||
<title source="title"> | |||
[[Category: | <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|}}} | |||
| hp = {{{health|}}} | |||
| sh = {{{shield|}}} | |||
| cr = {{#if:{{{criticalChance|}}}|{{{criticalChance|}}}%}} | |||
| pd = {{#if:{{{physicalDefense|}}}|{{{physicalDefense|}}}%}} | |||
| md = {{#if:{{{magicalDefense|}}}|{{{magicalDefense|}}}%}} | |||
}}}}</format> | |||
</data> | |||
<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]] | |||
{{#if:{{#var:noCargo}}||{{#cargo_store:_table=Monsters | {{#if:{{#var:noCargo}}||{{#cargo_store:_table=Monsters | ||
|name={{{ | |name={{{title|{{PAGENAME}}}}} | ||
}}}} | |appearanceRank={{{appearanceRank|}}} | ||
|damage={{{damage|}}} | |||
|health={{{health|}}} | |||
|shield={{{shield|}}} | |||
{{ | |criticalChance={{{criticalChance|}}} | ||
| | |physicalDefense={{{physicalDefense|}}} | ||
| | |magicalDefense={{{magicalDefense|}}} | ||
| | }}}}</includeonly><noinclude>{{doc}} | ||
}} | |||
</ | |||
{{#cargo_declare:_table=Monsters | {{#cargo_declare:_table=Monsters | ||
|name=String | |name=String | ||
| | |appearanceRank=Integer | ||
|damage=Integer | |||
|health=Integer | |||
|shield=Integer | |||
|criticalChance=Integer | |||
|physicalDefense=Integer | |||
|magicalDefense=Integer | |||
}} | }} | ||
[[Category:infobox templates]] | [[Category:infobox templates]] | ||
[[Category:Cargo storing templates]]</noinclude> | [[Category:Cargo storing templates]]</noinclude> | ||
Latest revision as of 23:43, 27 October 2025
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.


