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.

Module:Infobox/doc

From Super Fantasy Kingdom Official Wiki
Revision as of 20:51, 5 December 2024 by wgg>Cadaei (from https://support.wiki.gg/wiki/Module:Infobox/doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Infobox

For general help, see support:DRUID infoboxes

Usage

At Template:Infobox item

<includeonly>{{#invoke:Infobox|main
|kind=example-1
|sep=,
|image={{#if:{{{image|}}}|[[File:{{{image}}}{{!}}300px]]}}
|sections=General Info, Stats
|General Info=Region,Element
|Stats=Attack, HP, Armor, Attack Speed
|Attack Speed={{#if:{{{Attack Speed|}}}|{{{Attack Speed}}}%}}
}}</includeonly><noinclude>{{documentation}}</noinclude>

On an item page

{{Infobox item
|title= <!-- the title of the infobox -->
|Region= <!-- the value in Label1 field -->
|Element= <!-- the value in Label2 field -->
|Attack= <!-- the value in Label3 field --> 
}}