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>{{ | <includeonly>{{#invoke:Infobox|main | ||
|image = {{#if:{{{image|}}}|[[File:{{{image}}}{{!}}128px]]}} | |||
|sections = general | |||
|general_nolabel = yes | |||
|general = effect, requirement, beneficiaries, type | |||
|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={{{title|{{#titleparts:{{PAGENAME}}<!-- -->}}}}} | ||
|effect={{{effect|}}} | |effect={{{effect|}}} | ||
|effectPlain={{{effectPlain|}}} | |effectPlain={{{effectPlain|}}} | ||
| Line 19: | Line 23: | ||
<pre> | <pre> | ||
{{infobox relic | {{infobox relic | ||
| | | 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 | ||
| | | 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]]
}}
This template defines the table "Relics". View table.



