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 boss: Difference between revisions

From Super Fantasy Kingdom Official Wiki
wgg>Cadaei
new div infobox
converted to pi
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{infobox header|name={{{name|{{PAGENAME}}}}}|image={{{image|{{PAGENAME}}.png}}}|info={{{info|}}}}}<!--
<includeonly><infobox>
-->{{infobox data row | Kingdom | {{kingdomDisplay|{{{kingdom|}}}|1}}}}<!--
  <title source="title">
-->{{infobox data row | Appears on day | {{{appearsOnDay|}}}}}<!--
    <default>{{PAGENAME}}</default>
-->{{#if:{{{damageType|}}}{{{element|}}}{{{movement|}}}{{{attackStyle|}}}|<!--
  </title>
-->{{infobox section|header=Combat|<!--
  <image source="image" />
  -->{{infobox data row | Damage Type | {{damageTypeDisplay|{{{damageType|}}}|1}}}}<!--
  <data source="caption"/>
  -->{{infobox data row | Element | {{elementDisplay|{{{element|}}}|1}}}}<!--
  <data source="kingdom">
  -->{{infobox data row | Movement | {{movementDisplay|{{{movement|}}}|1}}}}<!--
    <label>Kingdom</label>
  -->{{infobox data row | Attack Style | {{attackStyleDisplay|{{{attackStyle|}}}|1}}}}<!--
    <format>{{kingdomDisplay|{{{kingdom|}}}|1}}</format>
   -->}}}}<!--
  </data>
-->{{infobox footer}}
  <data source="appearsOnDay">
    <label>Appears on day</label>
  </data>
  <group>
    <header>Combat</header>
    <data source="damageType">
      <label>Damage Type</label>
      <format>{{damageTypeDisplay|{{{damageType|}}}|1}}</format>
    </data>
    <data source="element">
      <label>Element</label>
      <format>{{elementDisplay|{{{element|}}}|1}}</format>
    </data>
    <data source="movement">
      <label>Movement</label>
      <format>{{movementDisplay|{{{movement|}}}|1}}</format>
    </data>
    <data source="attackStyle">
      <label>Attack Style</label>
      <format>{{attackStyleDisplay|{{{attackStyle|}}}|1}}</format>
    </data>
   </group>
</infobox>
[[Category:Bosses]]
[[Category:Bosses]]
{{#if:{{#var:noCargo}}||{{#cargo_store:_table=Bosses
{{#if:{{#var:noCargo}}||{{#cargo_store:_table=Bosses
|name={{{name|{{PAGENAME}}}}}
|name={{{title|{{PAGENAME}}}}}
|kingdom = {{{kingdom|}}}
|damageType = {{{damageType|}}}
|element = {{{element|}}}
|movement = {{{movement|}}}
|attackStyle = {{{attackStyle|}}}
|unreleased={{#if:{{#var:unreleased}}|{{#var:unreleased}}|0}}
|unreleased={{#if:{{#var:unreleased}}|{{#var:unreleased}}|0}}
}}}}</includeonly><noinclude>
}}}}</includeonly><noinclude>
Line 19: Line 46:
<pre>
<pre>
{{infobox boss
{{infobox boss
| title = Goblin King
| image = Goblin King.png
| kingdom = Human
| kingdom = Human
| appearsOnDay = 7
| appearsOnDay = 7

Latest revision as of 23:29, 27 October 2025

This is an infobox template for bosses. Use it on boss pages, e.g. like this

{{infobox boss
| title = Goblin King
| image = Goblin King.png
| kingdom = Human
| appearsOnDay = 7
| damageType = Physical
| element = None
| movement = Infantry
| attackStyle = Melee
}}

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