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
No edit summary Tag: Reverted |
test to see if this works Tag: Reverted |
||
| Line 5: | Line 5: | ||
</title> | </title> | ||
<image source="image" /> | <image source="image" /> | ||
<data source="caption"/> | <data source="caption" /> | ||
<data source="kingdom"> | <data source="kingdom"> | ||
<label>Kingdom</label> | <label>Kingdom</label> | ||
<format>{{kingdomDisplay|{{{kingdom|}}}|1}}</format> | <format>{{kingdomDisplay|{{{kingdom|}}}|1}}</format> | ||
</data> | </data> | ||
<!-- RAW effect used for storage only --> | |||
<data source="effectRaw" /> | |||
<data source="effect"> | |||
<label>Effect</label> | <label>Effect</label> | ||
</data | </data> | ||
<data source="unlocked"> | <data source="unlocked"> | ||
<label>Unlocked</label> | <label>Unlocked</label> | ||
| Line 28: | Line 30: | ||
-->{{#if:{{#var:noAutoCategories}}||[[Category:Relics]]}}<!-- | -->{{#if:{{#var:noAutoCategories}}||[[Category:Relics]]}}<!-- | ||
-->{{#if:{{#var:noCargo}}||{{#cargo_store:_table=Relics | -->{{#if:{{#var:noCargo}}||{{#cargo_store:_table=Relics | ||
|name={{{title|{{#titleparts:{{PAGENAME}} | |name={{{title|{{#titleparts:{{PAGENAME}}}}}}} | ||
|effect={{{ | |effect={{{effectRaw|}}} | ||
|effectPlain={{{effectPlain|}}} | |effectPlain={{{effectPlain|}}} | ||
|requirement={{{requirement|}}} | |requirement={{{requirement|}}} | ||
Revision as of 16:42, 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.


