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
cargo storing
wgg>Cadaei
added relice source property to distinguish between Boss/Quest and World event relics
Line 3: Line 3:
{{infobox data row | Requirement |{{{requirement|}}}}}
{{infobox data row | Requirement |{{{requirement|}}}}}
{{infobox data row | {{tooltip|Beneficiaries|Who profits from this relic}} |{{{beneficiaries|}}}}}
{{infobox data row | {{tooltip|Beneficiaries|Who profits from this relic}} |{{{beneficiaries|}}}}}
{{infobox data row | Source | {{{source|}}}
{{infobox footer}}
{{infobox footer}}
[[Category:Relics]]
[[Category:Relics]]
{{#if:{{#var:noCargo}}||{{#cargo_store:_table=Relics
{{#if:{{#var:noCargo}}||{{#cargo_store:_table=Relics
|name={{{name|{{PAGENAME}}}}}}}}}</includeonly><noinclude>
|name={{{name|{{PAGENAME}}}}}}}}}</includeonly><noinclude>{{noCargo}}
This is an infobox template for [[relics]].
This is an infobox template for [[relics]].
Use it on relic pages, e.g. like this
Use it on relic pages, e.g. like this
Line 30: Line 31:
|requirement=Wikitext string
|requirement=Wikitext string
|beneficiaries=Wikitext string
|beneficiaries=Wikitext string
|source=String
}}
}}
[[Category:Infobox templates]]
[[Category:Infobox templates]]
[[Category:Cargo storing templates]]</noinclude>
[[Category:Cargo storing templates]]</noinclude>

Revision as of 20:21, 16 October 2023

This is an infobox template for relics. 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}}
| requirement = [[Monk]]
| beneficiaries = [[Monk]]
}}

Template:Infobox header Template:Infobox data row Template:Infobox data row Template:Infobox data row {{infobox data row | Source | Template:Infobox footer

This template defines the table "Relics". View table.