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 header|name={{{name|{{PAGENAME}}}}}|image={{{image|{{PAGENAME}}.png}}}|info={{{info|}}}}}
<includeonly>{{#invoke:infobox|main
{{infobox data row | {{{key1|}}} | {{{value1|}}}}}
|image={{#if:{{{image|}}}|[[File:{{{image}}}{{!}}128px]]}}
{{infobox data row | {{{key2|}}} | {{{value2|}}}}}
|sections=General
{{infobox data row | {{{key3|}}} | {{{value3|}}}}}
|General_nolabel=yes
{{infobox data row | {{{key4|}}} | {{{value4|}}}}}
|General=item1,item2,item3,item4
{{infobox footer}}</includeonly><noinclude>
|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
| 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 25:
</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>

Revision as of 20:17, 12 December 2024

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
}}
Stats
strong
Purpose
Properties of units