Template:Infobox: Difference between revisions

From /lit/ Wiki
Jump to navigationJump to search
imported>Asnow89
Replaced with updated version from draft template
imported>Wikia
Adding explicit layout parameter
 
Line 1: Line 1:
<infobox>
<infobox layout="stacked">
<data source="Box title"><label>Box title</label><default>No Title</default></data>
<data source="Box title"><label>Box title</label><default>No Title</default></data>
<image source="image"/>
<image source="image"/>

Latest revision as of 01:18, 14 August 2015

<infobox layout="stacked"> <label>Box title</label><default>No Title</default> <image source="image"/> <label>Row 1 title</label><default>No Title</default> <label>No Title</label><default>No information</default> <label>Row 2 title</label> <label>{{{Row 2 title}}}</label><default>No information</default> <label>Row 3 title</label> <label>{{{Row 3 title}}}</label><default>No information</default> <label>Row 4 title</label> <label>{{{Row 4 title}}}</label><default>No information</default> <label>Row 5 title</label> <label>{{{Row 5 title}}}</label><default>No information</default> <label>Row 6 title</label> <label>{{{Row 6 title}}}</label><default>No information</default> <label>Row 7 title</label> <label>{{{Row 7 title}}}</label><default>No information</default> <label>Row 8 title</label> <label>{{{Row 8 title}}}</label><default>No information</default> <label>Row 9 title</label> <label>{{{Row 9 title}}}</label><default>No information</default> <label>Row 10 title</label> <label>{{{Row 10 title}}}</label><default>No information</default> <label>Row 11 title</label> </infobox>

Usage & preview

Type in this:

{{Infobox
|Box title=
|image=
|imagewidth=
|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=
|Row 11 title=
}}

to see this:

<infobox layout="stacked"> <label>Box title</label><default>No Title</default> <image source="image"/> <label>Row 1 title</label><default>No Title</default> <label>This is a test</label><default>No information</default> <label>Row 2 title</label> <label>This is a test</label><default>No information</default> <label>Row 3 title</label> <label>This is a test</label><default>No information</default> <label>Row 4 title</label> <label>This is a test</label><default>No information</default> <label>Row 5 title</label> <label>This is a test</label><default>No information</default> <label>Row 6 title</label> <label>This is a test</label><default>No information</default> <label>Row 7 title</label> <label>This is a test</label><default>No information</default> <label>Row 8 title</label> <label>This is a test</label><default>No information</default> <label>Row 9 title</label> <label>This is a test</label><default>No information</default> <label>Row 10 title</label> <label>This is a test</label><default>No information</default> <label>Row 11 title</label> </infobox>


Click here to refresh the preview above