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 Created page with "<includeonly>{{infobox header|name={{{name|{{PAGENAME}}}}}|image={{{image|{{PAGENAME}}.png}}}}} {{infobox data row | Effect | {{{effect|}}}}} {{infobox data row | Requirement |{{{requirement|}}}}} {{infobox data row | {{tooltip|Beneficiaries|Who profits from this relic}} |{{{beneficiaries|}}}}} |} Category:Relics</includeonly><noinclude> This is an infobox template for relics. Use it on relic pages, e.g. like this <pre> {{infobox relic | name = Holy Water | image..." |
reverting to previous state before testing Tag: Manual revert |
||
| (27 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly> | ||
<infobox> | |||
{{ | <title source="title"> | ||
{{ | <default>{{PAGENAME}}</default> | ||
</title> | |||
<image source="image" /> | |||
<data source="caption"/> | |||
<data source="kingdom"> | |||
<label>Kingdom</label> | |||
<format>{{kingdomDisplay|{{{kingdom|}}}|1}}</format> | |||
</data> | |||
<data source="effect"> | |||
<label>Effect</label> | |||
</data> | |||
<data source="unlocked"> | |||
<label>Unlocked</label> | |||
</data> | |||
<data source="requirement"> | |||
<label>Requirement</label> | |||
</data> | |||
<data source="beneficiaries"> | |||
<label>{{tooltip|Beneficiaries|Who profits from this relic}}</label> | |||
</data> | |||
<data source="type"> | |||
<label>Type</label> | |||
</data> | |||
</infobox><!-- | |||
-->{{#if:{{#var:noAutoCategories}}||[[Category:Relics]]}}<!-- | |||
-->{{#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. | |||
Use it on relic pages, e.g. like this | Use it on relic pages, e.g. like this | ||
<pre> | <pre> | ||
{{infobox relic | {{infobox relic | ||
| | | title = Holy Water | ||
| image = Holy Water.png | | image = Holy Water.png | ||
| caption = Holy | |||
| kingdom = Undead | |||
| effect = Holy damage also applies {{effect|wet}} | | effect = Holy damage also applies {{effect|wet}} | ||
| effectPlain = Holy damage also applies wet | |||
| unlocked = level 4 | |||
| requirement = [[Monk]] | | requirement = [[Monk]] | ||
| beneficiaries = [[Monk]] | | beneficiaries = [[Monk]] | ||
| Line 17: | Line 52: | ||
</pre> | </pre> | ||
{{infobox relic | {{infobox relic | ||
| | | title = Holy Water | ||
| image = Holy Water.png | | image = Holy Water.png | ||
| caption = Holy | |||
| kingdom = Undead | |||
| effect = Holy damage also applies {{effect|wet}} | | effect = Holy damage also applies {{effect|wet}} | ||
| effectPlain = Holy damage also applies wet | |||
| unlocked = level 4 | |||
| requirement = [[Monk]] | | requirement = [[Monk]] | ||
| beneficiaries = [[Monk]] | | beneficiaries = [[Monk]] | ||
}} | }} | ||
[[Category:Infobox templates]]</noinclude> | {{#cargo_declare:_table=Relics | ||
|name=String | |||
|effect=Wikitext string | |||
|effectPlain=String | |||
|requirement=Wikitext string | |||
|beneficiaries=Wikitext string | |||
|type=String | |||
}} | |||
[[Category:Infobox templates]] | |||
[[Category:Cargo storing templates]]</noinclude> | |||
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.


