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
test to see if this fixes the effect tooltips, will revert when not working
Tag: Reverted
reverting to previous state before testing
Tag: Manual revert
 
(7 intermediate revisions by the same user not shown)
Line 29: Line 29:
-->{{#if:{{#var:noCargo}}||{{#cargo_store:_table=Relics
-->{{#if:{{#var:noCargo}}||{{#cargo_store:_table=Relics
|name={{{title|{{#titleparts:{{PAGENAME}}<!-- -->}}}}}
|name={{{title|{{#titleparts:{{PAGENAME}}<!-- -->}}}}}
|effect={{#tag:nowiki|{{{effect|}}}}}
|effect={{{effect|}}}
|effectPlain={{{effectPlain|}}}
|effectPlain={{{effectPlain|}}}
|requirement={{{requirement|}}}
|requirement={{{requirement|}}}

Latest revision as of 17:27, 28 June 2026

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
| caption = Holy
| kingdom = Undead
| effect = Holy damage also applies {{effect|wet}}
| effectPlain = Holy damage also applies wet
| unlocked = level 4
| requirement = [[Monk]]
| beneficiaries = [[Monk]]
}}

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