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 using double quotes to avoid issue with genetive apostroph |
wgg>Cadaei inline option for relic effect text |
||
| Line 1: | Line 1: | ||
<includeonly>{{#vardefine:relicText|{{#cargo_query:tables=Relics | <includeonly>{{#vardefine:relicText|{{#cargo_query:tables=Relics | ||
|where=name="{{{1|}}}" | |where=name="{{{1|}}}" | ||
|fields=effectPlain | |fields={{#if:{{{inline|}}}|effect|effectPlain}} | ||
|default= | |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: <!-- | -->{{#if:{{#var:relicText}}{{{inline|}}}||{{#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 | -->{{#cargo_query:table=Relics | ||
|fields=name | |fields=name | ||
}}}}}}<!-- | }}}}}}<!-- | ||
-->{{ItemLink|{{{2|{{{1|}}}}}}|{{Tooltip|{{{1|}}}|{{#var:relicText}}}}}}</includeonly><noinclude>{{doc}} | -->{{ItemLink|{{{1|}}}|{{#if:{{{inline|}}} | ||
|{{{2|{{{1|}}}}}} | |||
|{{Tooltip|{{{2|{{{1|}}}}}}|{{#var:relicText}}}}}}}}{{#if:{{{inline|}}}|<nowiki/> ({{#var:relicText}})}}</includeonly><noinclude>{{doc}} | |||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
[[Category:Cargo query templates]]</noinclude> | [[Category:Cargo query templates]]</noinclude> | ||


