Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "Template:Modular infobox/doc"

From Roll20 Wiki

Jump to: navigation, search
(attempt to add modular infobox template doc)
 
m (category fix)
 
Line 56: Line 56:
 
</pre>
 
</pre>
  
<includeonly>[[Category:Infobox templates| ]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
+
<includeonly>[[Category:Infobox templates| ]]</includeonly><noinclude>[[Category:Template Documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 09:59, 29 January 2021

[edit] 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!

[edit] Syntax

<infobox> <title source="Box title"><default>Modular infobox/doc</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      = 
}}