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:Relic: Difference between revisions

From Super Fantasy Kingdom Official Wiki
wgg>Cadaei
removed link to relics
wgg>Cadaei
No edit summary
Line 1: Line 1:
<includeonly>{{#switch:{{lc:{{{1|}}}}}
<includeonly>{{#vardefine:relicText|{{#cargo_query:tables=Relics
| holy water={{tooltip|{{{1}}}|holy damage also applies the effect wet}}
|where=name='{{{1|}}}'
}}</includeonly><noinclude>{{doc}}
|fields=effectPlain
[[category:formatting templates]]</noinclude>
|default=
}}}}<!--
-->{{#if:{{#var:relicText}}||{{#vardefine:relicText|{{{1|}}} is an unknown relic, you can add it as a relic page or use one of the following available names: <!--
-->{{#cargo_query:table=Relics
|fields=name
}}}}}}<!--
-->{{ItemLink|{{{1|}}}|{{Tooltip|{{{1|}}}|{{#var:relicText}}}}}}</includeonly><noinclude>{{doc}}
[[Category:Formatting templates]]
[[Category:Cargo query templates]]</noinclude>

Revision as of 11:14, 21 October 2023

File:Template-info.svg Documentation Edit this documentation at Template:Relic/doc.
(edit • history • purge)

Displays an itemLink for a relic with its effects as tooltip.

Example

{{relic|Holy Water}}

Holy Water

{{relic|Holy Water|inline=1}}

Holy Water