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
content of effect with formatting is longer than 300
wgg>Cadaei
noAutoCategories, using Wikitext string again
Line 4: Line 4:
{{infobox data row | {{tooltip|Beneficiaries|Who profits from this relic}} |{{{beneficiaries|}}}}}
{{infobox data row | {{tooltip|Beneficiaries|Who profits from this relic}} |{{{beneficiaries|}}}}}
{{infobox data row | Type | {{{type|}}}}}
{{infobox data row | Type | {{{type|}}}}}
{{infobox footer}}
{{infobox footer}}<!--
[[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|{{PAGENAME}}}}}
}}}}</includeonly><noinclude>{{noCargo}}
}}}}</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 31: Line 31:
{{#cargo_declare:_table=Relics
{{#cargo_declare:_table=Relics
|name=String
|name=String
|effect=Wikitext
|effect=Wikitext string
|effectPlain=String
|effectPlain=String
|requirement=Wikitext string
|requirement=Wikitext string

Revision as of 11:53, 21 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.