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

From Super Fantasy Kingdom Official Wiki
wgg>Cadaei
removed wrong cat
converted to pi
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{infobox header|name={{{name|{{PAGENAME}}}}}|image={{{image|{{PAGENAME}}.png}}}}}
<includeonly><infobox>
{{infobox data row | {{{key1|}}} | {{{value1|}}}}}
  <title source="title">
{{infobox data row | {{{key2|}}} | {{{value2|}}}}}
    <default>{{PAGENAME}}</default>
{{infobox data row | {{{key3|}}} | {{{value3|}}}}}
  </title>
{{infobox data row | {{{key4|}}} | {{{value4|}}}}}
  <image source="image" />
|}</includeonly><noinclude>
  <data source="caption"/>
  <data source="value1">
    <label>{{{key1|}}}</label>
  </data>
  <data source="value2">
    <label>{{{key2|}}}</label>
  </data>
  <data source="value3">
    <label>{{{key3|}}}</label>
  </data>
  <data source="value4">
    <label>{{{key4|}}}</label>
  </data>
</infobox>
</includeonly><noinclude>
This is a general infobox template.
This is a general infobox template.
Use it like this
Use it like this
<pre>
<pre>
{{infobox
{{infobox
| name = Stats
| title = Stats
| image = Frontpage-stats.png
| image = Frontpage-stats.png
| caption = strong
| key1 = Purpose
| key1 = Purpose
| value1 = Properties of units
| value1 = Properties of units
Line 16: Line 31:
</pre>
</pre>
{{infobox
{{infobox
| name = Stats
| title = Stats
| image = Frontpage-stats.png
| image = Frontpage-stats.png
| caption = strong
| key1 = Purpose
| key1 = Purpose
| value1 = Properties of units
| value1 = Properties of units
}}
}}
[[Category:infobox templates]]</noinclude>
[[Category:infobox templates]]</noinclude>

Latest revision as of 23:27, 27 October 2025

This is a general infobox template. Use it like this

{{infobox
| title = Stats
| image = Frontpage-stats.png
| caption = strong
| key1 = Purpose
| value1 = Properties of units
}}