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 character: Difference between revisions

From Super Fantasy Kingdom Official Wiki
wgg>Cadaei
converted to DRUID
wgg>Cadaei
added cargo storing
Line 7: Line 7:
|kingdom={{kingdomDisplay|{{{kingdom|}}}|1}}
|kingdom={{kingdomDisplay|{{{kingdom|}}}|1}}
|location_label = Location
|location_label = Location
}}[[Category:Characters]]</includeonly><noinclude>
}}[[Category:Characters]]
This is an infobox template for [[characters]].
{{#if:{{#var:noCargo}}||{{#cargo_store:_table=Characters
|name = {{{title|{{PAGENAME}}}}}
|kingdom = {{{kingdom|}}}
}}}}</includeonly><noinclude>This is an infobox template for [[characters]].
Use it on character pages, e.g. like this
Use it on character pages, e.g. like this
<pre>
<pre>
Line 18: Line 21:
}}
}}
</pre>
</pre>
[[Category:infobox templates]]</noinclude>
{{#cargo_declare:_table=Characters
|name=String
|kingdom=String
}}
[[Category:infobox templates]]
[[Category:Cargo storing templates]]</noinclude>

Revision as of 11:41, 28 September 2025

This is an infobox template for characters. Use it on character pages, e.g. like this

{{infobox character
| title = Hermit
| image = Hermit.png
| kingdom = Human
| location = visits on day 2
}}

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