Difference between revisions of "Template:Tabs"
GrampaSwood (talk | contribs) m |
GrampaSwood (talk | contribs) m |
||
Line 82: | Line 82: | ||
; icon<sub>n</sub> | ; icon<sub>n</sub> | ||
− | : Name displayed on the tabs/buttons, replace <sub>n</sub> with a number | + | : Name displayed on the tabs/buttons, replace <sub>n</sub> with a number up to 20 |
; content<sub>n</sub> | ; content<sub>n</sub> | ||
− | : Content displayed when clicking on the tabs/buttons, replace <sub>n</sub> with a number | + | : Content displayed when clicking on the tabs/buttons, replace <sub>n</sub> with a number up to 20 |
; width | ; width |
Revision as of 22:12, 12 December 2023
Documentation for Tabs
Parameters
- title
- Title of the Tabs
- orientation
- Orientation of the tabs/buttons
- iconn
- Name displayed on the tabs/buttons, replace n with a number up to 20
- contentn
- Content displayed when clicking on the tabs/buttons, replace n with a number up to 20
- width
- Width of the tabs
Example
{{Tabs | title = Tabs example | orientation = vertical | icon1 = Tab #1 | icon2 = Tab #2 | content1 = Hello Wiki! Look at my cool hat! <gallery> File:Engineer Wiki Cap.png </gallery> | content2 = I lost my hat :( <gallery> File:Engineerhumiliation.png </gallery> }}
generates: