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 new div infobox |
fixed nocargo |
||
| (6 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | {{noCargo}}<includeonly><infobox> | ||
{{ | <title source="title"> | ||
{{ | <default>{{PAGENAME}}</default> | ||
{{infobox | </title> | ||
<image source="image" /> | |||
<data source="caption"/> | |||
<data source="kingdom"> | |||
<label>Kingdom</label> | |||
<format>{{kingdomDisplay|{{{kingdom|}}}|1}}</format> | |||
</data> | |||
<data source="location"> | |||
<label>Location</label> | |||
</data> | |||
</infobox> | |||
[[Category: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 | |||
<pre> | |||
{{infobox character | |||
| title = | |||
| image = | |||
| caption = | |||
| kingdom = | |||
| location = | |||
}} | }} | ||
</pre> | |||
<pre> | <pre> | ||
{{infobox character | {{infobox character | ||
| | | title = Hermit | ||
| image = Hermit.png | | image = Hermit.png | ||
| caption = gives a unit | |||
| kingdom = Human | | kingdom = Human | ||
| location = | | location = visits on day 2 | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:infobox templates]]</noinclude> | {{infobox character | ||
| title = Hermit | |||
| image = Hermit.png | |||
| caption = gives a unit | |||
| kingdom = Human | |||
| location = visits on day 2 | |||
}} {{noCargo}} | |||
{{#cargo_declare:_table=Characters | |||
|name=String | |||
|kingdom=String | |||
}} | |||
[[Category:infobox templates]] | |||
[[Category:Cargo storing templates]]</noinclude> | |||
Latest revision as of 22:27, 15 April 2026
This is an infobox template for characters. Use it on character pages, e.g. like this
{{infobox character
| title =
| image =
| caption =
| kingdom =
| location =
}}
{{infobox character
| title = Hermit
| image = Hermit.png
| caption = gives a unit
| kingdom = Human
| location = visits on day 2
}}
This template defines the table "Characters". View table.


