Template:Infobox/tabber: Difference between revisions
Jump to navigation
Jump to search
this doesn't work for images but I need to sleep soon also something's weird with the alignment |
wait it did work with images I was just stupid |
||
| Line 4: | Line 4: | ||
{{Infobox/above|Testing box}} | {{Infobox/above|Testing box}} | ||
{{Infobox/tabber | {{Infobox/tabber | ||
| | |label1=Name one|{{Infobox/image|image=Slablet_1.png|options=border{{!}}frameless{{!}}128px}} | ||
|{{Infobox/image|image=Slablet_1.png|options=border{{!}}frameless{{!}}128px}} | |||
|label3=Name three|{{Infobox/image|image=Slablet_1.png|options=border{{!}}frameless{{!}}128px}} | |||
|{{Infobox/image|image= | |{{Infobox/image|image=Slablet_1.png|options=border{{!}}frameless{{!}}128px}} | ||
}} | }} | ||
{{Infobox/row|xyz|uvw}} | {{Infobox/row|xyz|uvw}} | ||
}} | }} | ||
{{Documentation}}</noinclude> | {{Documentation}}</noinclude> | ||
Revision as of 08:45, 19 December 2024
| Testing box | |
|---|---|
| xyz | uvw |
Documentation
| Tabber Example | |
|---|---|
| uvw | xyz |
| Lots of Tabs | |
|---|---|
This is a template for making infobox tabbers. Unnamed/number arguments contain the contents of the tabs, and arguments named labelN contain the labels for tabs correspoding to the number N. If a label is not specified, the number is used as a label. Below is an example of an infobox with a tabber in it, as well as stuff outside the tabber:
{{Infobox|
{{Infobox/above|Tabber Example}}
{{Infobox/tabber
|label1=Tab One|{{Infobox/image|image=Slablet_1.png|options=border{{!}}frameless{{!}}128px}}
|label2=Tab Two|{{Infobox/image|image=Slablet_2.png|options=border{{!}}frameless{{!}}128px}}
|label3=Tab Three|{{Infobox/row|abc|def}}
|{{Infobox/row|ghi|jkl}}
}}
{{Infobox/row|uvw|xyz}}
}}