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
added effectPlain to show in tooltips
wgg>Cadaei
content of effect with formatting is longer than 300
Line 31: Line 31:
{{#cargo_declare:_table=Relics
{{#cargo_declare:_table=Relics
|name=String
|name=String
|effect=Wikitext string
|effect=Wikitext
|effectPlain=String
|effectPlain=String
|requirement=Wikitext string
|requirement=Wikitext string

Revision as of 11:07, 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.