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

From Super Fantasy Kingdom Official Wiki
mNo edit summary
converted to pi
Line 1: Line 1:
<includeonly>{{#invoke:Infobox|main
<includeonly>
|image = {{#if:{{{image|}}}|[[File:{{{image}}}{{!}}128px]]}}
<infobox>
|sections = general
  <title source="title">
|general_nolabel = yes
    <default>{{PAGENAME}}</default>
|general = effect, requirement, beneficiaries, type
  </title>
|effect_label = Effect
  <image source="image" />
|requirement_label = Requirement
  <data source="caption"/>
|beneficiaries_label = {{tooltip|Beneficiaries|Who profits from this relic}}
  <data source="kingdom">
|type_label = Type
    <label>Kingdom</label>
}}<!--
    <format>{{kingdomDisplay|{{{kingdom|}}}|1}}</format>
  </data>
  <data source="effect">
    <label>Effect</label>
  </data>
  <data source="requirement">
    <label>Requirement</label>
  </data>
  <data source="beneficiaries">
    <label>{{tooltip|Beneficiaries|Who profits from this relic}}</label>
  </data>
  <data source="type">
    <label>Type</label>
  </data>
</infobox>
<!--
-->{{#if:{{#var:noAutoCategories}}||[[Category:Relics]]}}<!--
-->{{#if:{{#var:noAutoCategories}}||[[Category:Relics]]}}<!--
-->{{#if:{{#var:noCargo}}||{{#cargo_store:_table=Relics
-->{{#if:{{#var:noCargo}}||{{#cargo_store:_table=Relics

Revision as of 23:45, 27 October 2025

This is an infobox template for relics. The effectPlain parameter should contain the effect without markup, intended to be shown in a simple tooltip. Use it on relic pages, e.g. like this

{{infobox relic
| title = Holy Water
| image = Holy Water.png
| effect = Holy damage also applies {{effect|wet}}
| effectPlain = Holy damage also applies wet
| requirement = [[Monk]]
| beneficiaries = [[Monk]]
}}

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