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 Created page with "<includeonly>{{infobox header|name={{{name|{{PAGENAME}}}}}|image={{{image|{{PAGENAME}}.png}}}}} {{infobox data row | Race | {{{race|}}}}} {{infobox data row | Location |{{{location|}}}}} |} Category:Characters</includeonly><noinclude> This is an infobox template for characters. Use it on character pages, e.g. like this <pre> {{infobox character | name = Hermit | image = Hermit.png | race = Human | location = Day 2 }} </pre> {{infobox character | name = Hermit | i..." |
fixed nocargo |
||
| (11 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | {{noCargo}}<includeonly><infobox> | ||
{{ | <title source="title"> | ||
<default>{{PAGENAME}}</default> | |||
</title> | |||
<image source="image" /> | |||
This is an infobox template for [[characters]]. | <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 | Use it on character pages, e.g. like this | ||
<pre> | <pre> | ||
{{infobox character | {{infobox character | ||
| | | title = | ||
| image = | |||
| caption = | |||
| kingdom = | |||
| location = | |||
}} | |||
</pre> | |||
<pre> | |||
{{infobox character | |||
| title = Hermit | |||
| image = Hermit.png | | image = Hermit.png | ||
| | | caption = gives a unit | ||
| location = | | kingdom = Human | ||
| location = visits on day 2 | |||
}} | }} | ||
</pre> | </pre> | ||
{{infobox character | {{infobox character | ||
| | | title = Hermit | ||
| image = Hermit.png | | image = Hermit.png | ||
| | | caption = gives a unit | ||
| location = | | kingdom = Human | ||
| location = visits on day 2 | |||
}} {{noCargo}} | |||
{{#cargo_declare:_table=Characters | |||
|name=String | |||
|kingdom=String | |||
}} | }} | ||
[[Category:infobox templates]]</noinclude> | |||
[[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.


