Template:Infobox

From Idlescape Wiki
Jump to navigation Jump to search

See basic info here. https://en.wikipedia.org/wiki/Template:Infobox/doc

Idlescape Mod

Add sideway rows of labels and data. These will override any headers or regular labels and data with the same number.

SLabel 1SLabel 2SLabel 3SLabel 4
SData 1SData 2SData 3SData 4
{{Infobox
| slabel1  = SLabel 1
|  sdata1  = SData 1
| slabel2  = SLabel 2
|  sdata2  = SData 2
| slabel3  = SLabel 3
|  sdata3  = SData 3
| slabel4  = SLabel 4
|  sdata4  = SData 4
}}

Break up sideways rows with sbreak. These will override any headers or labels and data with the same number.

SLabel 1SLabel 2
SData 1SData 2
SLabel 4SLabel 5
SData 4SData 5
{{Infobox
| slabel1  = SLabel 1
|  sdata1  = SData 1
| slabel2  = SLabel 2
|  sdata2  = SData 2
| sbreak3  = yes
| slabel4  = SLabel 4
|  sdata4  = SData 4
| slabel5  = SLabel 5
|  sdata5  = SData 5
}}
Title
Above
Sub-header
Salt
Caption
Header 1
SLabel 2SLabel 3SLabel 4
SData 2SData 3SData 4
Header 5
Label 6Data 6
Label 7Data 7
Label 8Data 8
{{Infobox
| title          = Title
| above          = Above
| subheader      = Sub-header
|   image        = {{img|Stone|200}}
| caption        = Caption
| header1  = Header 1
| slabel2  = SLabel 2
|  sdata2  = SData 2
| slabel3  = SLabel 3
|  sdata3  = SData 3
| slabel4  = SLabel 4
|  sdata4  = SData 4
| header5  = Header 5
|  label6  = Label 6
|   data6  = Data 6
|  label7  = Label 7
|   data7  = Data 7
|  label8  = Label 8
|   data8  = Data 8
}}