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
change to check output, will revert later |
reverting to previous state before testing Tag: Manual revert |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 27: | Line 27: | ||
</infobox><!-- | </infobox><!-- | ||
-->{{#if:{{#var:noAutoCategories}}||[[Category:Relics]]}}<!-- | -->{{#if:{{#var:noAutoCategories}}||[[Category:Relics]]}}<!-- | ||
-->{{#if:{{#var:noCargo}}||{{# | -->{{#if:{{#var:noCargo}}||{{#cargo_store:_table=Relics | ||
|name={{{title|{{#titleparts:{{PAGENAME}}<!-- -->}}}}} | |||
|effect={{{effect|}}} | |||
|effectPlain={{{effectPlain|}}} | |||
|requirement={{{requirement|}}} | |||
|beneficiaries={{{beneficiaries|}}} | |||
|type={{{type|}}} | |||
}}}}</includeonly><noinclude>{{noCargo}}{{noAutoCategories}} | |||
This is an infobox template for [[relics]]. | This is an infobox template for [[relics]]. | ||
The <code>effectPlain</code> parameter should contain the effect without markup, intended to be shown in a simple tooltip. | The <code>effectPlain</code> parameter should contain the effect without markup, intended to be shown in a simple tooltip. | ||
| Line 57: | Line 64: | ||
{{#cargo_declare:_table=Relics | {{#cargo_declare:_table=Relics | ||
|name=String | |name=String | ||
|effect=string | |effect=Wikitext string | ||
|effectPlain=String | |effectPlain=String | ||
|requirement=Wikitext string | |requirement=Wikitext string | ||
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.


