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>RheingoldRiver
No edit summary
wgg>Cadaei
converted to DRUID
Line 1: Line 1:
<includeonly>{{infobox header|name={{{name|{{PAGENAME}}}}}|image={{{image|{{PAGENAME}}.png}}}}}
<includeonly>{{#invoke:Infobox|main
{{infobox data row | Effect | {{{effect|}}}}}
|image = {{#if:{{{image|}}}|[[File:{{{image}}}{{!}}128px]]}}
{{infobox data row | Requirement |{{{requirement|}}}}}
|sections = general
{{infobox data row | {{tooltip|Beneficiaries|Who profits from this relic}} |{{{beneficiaries|}}}}}
|general_nolabel = yes
{{infobox data row | Type | {{{type|}}}}}
|general = effect, requirement, beneficiaries, type
{{infobox footer}}<!--
|effect_label = Effect
|requirement_label = Requirement
|beneficiaries_label = {{tooltip|Beneficiaries|Who profits from this relic}}
|type_label = Type
}}<!--
-->{{#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|{{#titleparts:{{PAGENAME}}<!-- -->}}}}}
|name={{{title|{{#titleparts:{{PAGENAME}}<!-- -->}}}}}
|effect={{{effect|}}}
|effect={{{effect|}}}
|effectPlain={{{effectPlain|}}}
|effectPlain={{{effectPlain|}}}
Line 19: Line 23:
<pre>
<pre>
{{infobox relic
{{infobox relic
| name = Holy Water
| title = Holy Water
| image = Holy Water.png
| image = Holy Water.png
| effect = Holy damage also applies {{effect|wet}}
| effect = Holy damage also applies {{effect|wet}}
Line 28: Line 32:
</pre>
</pre>
{{infobox relic
{{infobox relic
| name = Holy Water
| title = Holy Water
| image = Holy Water.png
| image = Holy Water.png
| effect = Holy damage also applies {{effect|wet}}
| effect = Holy damage also applies {{effect|wet}}
| effectPlain = Holy damage also applies wet
| requirement = [[Monk]]
| requirement = [[Monk]]
| beneficiaries = [[Monk]]
| beneficiaries = [[Monk]]

Revision as of 21:32, 12 December 2024

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
| effect = Holy damage also applies {{effect|wet}}
| effectPlain = Holy damage also applies wet
| requirement = [[Monk]]
| beneficiaries = [[Monk]]
}}
Holy Water
Effect
Holy damage also applies wet
Requirement
Beneficiaries

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