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
m 5 revisions imported
converted to pi
 
Line 1: Line 1:
<includeonly>{{#invoke:infobox|main
<includeonly><infobox>
|image={{#if:{{{image|}}}|[[File:{{{image}}}{{!}}128px]]}}
  <title source="title">
|sections=General
    <default>{{PAGENAME}}</default>
|General_nolabel=yes
  </title>
|General=item1,item2,item3,item4
  <image source="image" />
|item1_label={{{key1|}}}
  <data source="caption"/>
|item2_label={{{key2|}}}
  <data source="value1">
|item3_label={{{key3|}}}
    <label>{{{key1|}}}</label>
|item4_label={{{key4|}}}
  </data>
|item1={{{value1|}}}
  <data source="value2">
|item2={{{value2|}}}
    <label>{{{key2|}}}</label>
|item3={{{value3|}}}
  </data>
|item4={{{value4|}}}
  <data source="value3">
}}</includeonly><noinclude>
    <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

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
}}