Template:Modular infobox
From Roll20 Wiki
<infobox> <title source="Box title"><default>Modular infobox</default></title> <image source="image"><caption source="caption"/></image> <group> <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> </group> <group> <data source="data1"><label>{{{label1}}}</label></data> <data source="data2"><label>{{{label2}}}</label></data> <data source="data3"><label>{{{label3}}}</label></data> <data source="data4"><label>{{{label4}}}</label></data> <data source="data5"><label>{{{label5}}}</label></data> <data source="data6"><label>{{{label6}}}</label></data> <data source="data7"><label>{{{label7}}}</label></data> <data source="data8"><label>{{{label8}}}</label></data> <data source="data9"><label>{{{label9}}}</label></data> <data source="data10"><label>{{{label10}}}</label></data> </group>
</infobox>Description
- This template produces an infobox in the most recent portable style; unlike most such infoboxes, it allows the user to specify both title and information of each row.
- This template should NOT be used in the article namespace; instead, create your own infobox!
Syntax
<infobox> <title source="Box title"><default>Modular infobox</default></title> <image source="image"><caption source="caption"/></image> <group> <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> </group> <group> <data source="data1"><label>Bar</label></data> <data source="data2"><label>Baz</label></data> <data source="data3"><label></label></data> <data source="data4"><label></label></data> <data source="data5"><label></label></data> <data source="data6"><label></label></data> <data source="data7"><label></label></data> <data source="data8"><label></label></data> <data source="data9"><label></label></data> <data source="data10"><label></label></data> </group>
</infobox>{{Modular infobox |Box title = |image = Image:Example.jpg |caption = Bob the Flower |data1 = Foo |label1 = Bar |data2 = Lol |label2 = Baz |data3 = |label3 = |data4 = |label4 = |data5 = |label5 = |data6 = |label6 = |data7 = |label7 = |data8 = |label8 = |data9 = |label9 = |data10 = |label10 = }}
The above documentation is transcluded from Template:Modular infobox/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |