Difference between revisions of "Template:Infobox/doc"
Jump to navigation
Jump to search
(New doc) |
m (Added sbreak usage info) |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
==Idlescape Mod== | ==Idlescape Mod== | ||
Add sideway rows of labels and data. These will override any headers or regular labels and data with the same number. | Add sideway rows of labels and data. These will override any headers or regular labels and data with the same number. | ||
+ | {{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 | ||
+ | }} | ||
+ | <pre><nowiki> | ||
+ | {{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 | ||
+ | }} | ||
+ | </nowiki></pre> | ||
+ | |||
+ | Break up sideways rows with sbreak. These will override any headers or labels and data with the same number. | ||
+ | {{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 | ||
+ | }} | ||
<pre><nowiki> | <pre><nowiki> | ||
− | | slabel1 = | + | {{Infobox |
− | | sdata1 = | + | | slabel1 = SLabel 1 |
− | | slabel2 = | + | | sdata1 = SData 1 |
− | | sdata2 = | + | | slabel2 = SLabel 2 |
+ | | sdata2 = SData 2 | ||
+ | | sbreak3 = yes | ||
+ | | slabel4 = SLabel 4 | ||
+ | | sdata4 = SData 4 | ||
+ | | slabel5 = SLabel 5 | ||
+ | | sdata5 = SData 5 | ||
+ | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
+ | |||
+ | {{Infobox | ||
+ | | title = Title | ||
+ | | above = Above | ||
+ | | subheader = Sub-header | ||
+ | | image = {{img|Salt|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 | ||
+ | }} | ||
+ | <pre><nowiki> | ||
{{Infobox | {{Infobox | ||
+ | | title = Title | ||
+ | | above = Above | ||
+ | | subheader = Sub-header | ||
+ | | image = {{img|Stone|200}} | ||
+ | | caption = Caption | ||
| header1 = Header 1 | | header1 = Header 1 | ||
| slabel2 = SLabel 2 | | slabel2 = SLabel 2 | ||
Line 26: | Line 96: | ||
| data8 = Data 8 | | data8 = Data 8 | ||
}} | }} | ||
+ | </nowiki></pre> |
Latest revision as of 20:21, 12 February 2022
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.
|
{{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.
| |||||
|
{{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 }}
Above | |||||||
---|---|---|---|---|---|---|---|
Sub-header | |||||||
Header 1 | |||||||
| |||||||
Header 5 | |||||||
Label 6 | Data 6 | ||||||
Label 7 | Data 7 | ||||||
Label 8 | Data 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 }}