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 renamed parameter source to type |
wgg>Cadaei added effectPlain to show in tooltips |
||
| Line 7: | Line 7: | ||
[[Category:Relics]] | [[Category:Relics]] | ||
{{#if:{{#var:noCargo}}||{{#cargo_store:_table=Relics | {{#if:{{#var:noCargo}}||{{#cargo_store:_table=Relics | ||
|name={{{name|{{PAGENAME}}}}}}}}}</includeonly><noinclude>{{noCargo}} | |name={{{name|{{PAGENAME}}}}} | ||
}}}}</includeonly><noinclude>{{noCargo}} | |||
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> | ||
| Line 15: | Line 17: | ||
| 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]] | ||
| Line 29: | Line 32: | ||
|name=String | |name=String | ||
|effect=Wikitext string | |effect=Wikitext string | ||
|effectPlain=String | |||
|requirement=Wikitext string | |requirement=Wikitext string | ||
|beneficiaries=Wikitext string | |beneficiaries=Wikitext string | ||
Revision as of 10:58, 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.


