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 footer |
wgg>Cadaei converted to DRUID |
||
| Line 1: | Line 1: | ||
<includeonly>{{infobox | <includeonly>{{#invoke:infobox|main | ||
|image={{#if:{{{image|}}}|[[File:{{{image}}}{{!}}128px]]}} | |||
|sections=General | |||
|General_nolabel=yes | |||
|General=item1,item2,item3,item4 | |||
|item1_label={{{key1|}}} | |||
|item2_label={{{key2|}}} | |||
|item3_label={{{key3|}}} | |||
|item4_label={{{key4|}}} | |||
|item1={{{value1|}}} | |||
|item2={{{value2|}}} | |||
|item3={{{value3|}}} | |||
|item4={{{value4|}}} | |||
}}</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 | ||
| | | 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 25: | ||
</pre> | </pre> | ||
{{infobox | {{infobox | ||
| | | 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> | ||



