Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox: Difference between revisions

Template page
Default (talk | contribs)
m 1 revision
 
Pinkachu (talk | contribs)
Infobox updated using the portable infobox migration tool
 
Line 1: Line 1:
<onlyinclude>{| class="wikia-infobox"
<infobox>
    <title source="title"><label>Box title</label><default>{{PAGENAME}}</default></title>
<image source="image"><caption source="caption"/></image>
        <header>Information</header>
<data source="Row 1 info"><label>'''{{{Row 1 title}}}'''</label></data>
<data source="Row 2 info"><label>'''{{{Row 2 title}}}'''</label></data>
<data source="Row 3 info"><label>'''{{{Row 3 title}}}'''</label></data>
<data source="Row 4 info"><label>'''{{{Row 4 title}}}'''</label></data>
<data source="Row 5 info"><label>'''{{{Row 5 title}}}'''</label></data>
<data source="Row 6 info"><label>'''{{{Row 6 title}}}'''</label></data>
<data source="Row 7 info"><label>'''{{{Row 7 title}}}'''</label></data>
<data source="Row 8 info"><label>'''{{{Row 8 title}}}'''</label></data>
<data source="Row 9 info"><label>'''{{{Row 9 title}}}'''</label></data>
<data source="Row 10 info"><label>'''{{{Row 10 title}}}'''</label></data>
</infobox>
<noinclude>
== Usage & preview ==
Type in this:


|-
<pre>
! class="wikia-infobox-header" colspan="2" | {{{title|''Unknown''}}}
{{Infobox
|title=
|image=
|caption=
|Row 1 title=
|Row 1 info=
|Row 2 title=
|Row 2 info=
|Row 3 title=
|Row 3 info=
|Row 4 title=
|Row 4 info=
|Row 5 title=
|Row 5 info=
|Row 6 title=
|Row 6 info=
|Row 7 title=
|Row 7 info=
|Row 8 title=
|Row 8 info=
|Row 9 title=
|Row 9 info=
|Row 10 title=
|Row 10 info=
}}


|-
</pre>
{{#if: {{{image|}}} |
{{!}} class="wikia-infobox-image" colspan="2" {{!}} [[File:{{{image}}}|{{{imagewidth|210}}}px|{{{imagecaption|}}}]]
| }}


|-
to see this:
{{#if: {{{imagecaption|}}} |
{{!}} class="wikia-infobox-caption" colspan="2" {{!}} {{{imagecaption}}}
| }}


|-
{{Infobox
! colspan="2" | <div class="wikia-infobox-section-header">Some attributes</div>
|title=A Pretty Flower
|image=Example.jpg
|caption=Floweris flowerum
|Row 1 title=Colors
|Row 1 info=Pink and green
|Row 2 title=Environment
|Row 2 info=Outdoors
|Row 3 title=Type
|Row 3 info=Annual
|Row 4 title=
|Row 4 info=
|Row 5 title=
|Row 5 info=
|Row 6 title=
|Row 6 info=
|Row 7 title=
|Row 7 info=
|Row 8 title=
|Row 8 info=
|Row 9 title=
|Row 9 info=
|Row 10 title=
|Row 10 info=
}}


|-
For further explanation of the new infobox format, please see [[Help:PortableInfoboxes]]<br />
! First
[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above]
| {{{first|''Unknown''}}}


|-
</noinclude>
! Second
| {{{second|''Unknown''}}}
 
|-
! Third
| {{{third|''Unknown''}}}
 
|-
! colspan="2" | <div class="wikia-infobox-section-header">Other attributes</div>
 
|-
{{#if: {{{fourth|}}} |
! Fourth
{{!}} {{{fourth}}}
| }}
 
|-
{{#if: {{{fifth|}}} |
! Fifth
{{!}} {{{fifth}}}
| }}
 
|-
{{#if: {{{sixth|}}} |
! Sixth
{{!}} {{{sixth}}}
| }}
 
|- style="font-size:0; line-height:0;"
! style="width:50%; padding:0" |
! style="width:50%; padding:0" |
 
|}</onlyinclude><noinclude><br style="clear:both;"/>
{{documentation}}</noinclude>

Latest revision as of 17:32, 17 December 2015

Usage & preview

Type in this:

{{Infobox
|title=
|image=
|caption=
|Row 1 title=
|Row 1 info=
|Row 2 title=
|Row 2 info=
|Row 3 title=
|Row 3 info=
|Row 4 title=
|Row 4 info=
|Row 5 title=
|Row 5 info=
|Row 6 title=
|Row 6 info=
|Row 7 title=
|Row 7 info=
|Row 8 title=
|Row 8 info=
|Row 9 title=
|Row 9 info=
|Row 10 title=
|Row 10 info=
}}

to see this:


For further explanation of the new infobox format, please see Help:PortableInfoboxes
Click here to refresh the preview above