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
wgg>Cadaei
noAutoCategories, using Wikitext string again
wgg>Cadaei
fix for storing quotes
Line 7: Line 7:
-->{{#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={{{name|{{PAGENAME}}}}}
|name={{{name|{{#titleparts:{{PAGENAME}}<!-- -->}}}}}
}}}}</includeonly><noinclude>{{noCargo}}{{noAutoCategories}}
}}}}</includeonly><noinclude>{{noCargo}}{{noAutoCategories}}
This is an infobox template for [[relics]].
This is an infobox template for [[relics]].

Revision as of 19:38, 25 October 2023

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
| name = Holy Water
| image = Holy Water.png
| effect = Holy damage also applies {{effect|wet}}
| effectPlain = Holy damage also applies wet
| requirement = [[Monk]]
| beneficiaries = [[Monk]]
}}

Template:Infobox header Template:Infobox data row Template:Infobox data row Template:Infobox data row Template:Infobox data row Template:Infobox footer This template defines the table "Relics". View table.