Difference between revisions of "Template:Tabbed infobox/doc"
Jump to navigation
Jump to search
WikimanBot (talk | contribs) (template documentation) |
WikimanBot (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
<pre> | <pre> | ||
{{Tabbed infobox | {{Tabbed infobox | ||
− | | tab1 = Name for first | + | | tab1 = Name for first tab |
− | | tab2 = Name for second | + | | tab2 = Name for second tab |
− | | tab3 = | + | | tab3 = |
− | | tab4 = | + | | tab4 = |
− | | tab5 = | + | | tab5 = |
− | | tab6 = | + | | tab6 = |
− | | tab7 = | + | | tab7 = |
− | | tab8 = | + | | tab8 = |
}}</pre> | }}</pre> | ||
− | And so on. Up to | + | And so on. Up to '''30''' tabs are supported, but keep in mind that many tabs with long names won't fit in the horizontal space above infobox. |
− | ; Creating new | + | ; Creating new tabs |
− | : Once you have a page with {{t|Tabbed infobox}} saved/previewed, use the red links to create the new | + | : Once you have a page with {{t|Tabbed infobox}} saved/previewed, click on the tabs and use the red links to create the new tabs. Simply add the infobox (nothing else!) to the new page. |
− | ; Editing existing | + | ; Editing existing tabs |
: Use the v-d-e (view-discuss-edit) links at the top right corner of the tabbed infoboxes to edit existing examples. | : Use the v-d-e (view-discuss-edit) links at the top right corner of the tabbed infoboxes to edit existing examples. | ||
<includeonly>[[Category:Infobox templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | <includeonly>[[Category:Infobox templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
Latest revision as of 18:24, 9 October 2017
Description
This template is used for making tabbed interface for infoboxes. Useful for multiple examples of items or other things without cluttering the page.
Syntax
Insert this template using
{{Tabbed infobox | tab1 = Name for first tab | tab2 = Name for second tab | tab3 = | tab4 = | tab5 = | tab6 = | tab7 = | tab8 = }}
And so on. Up to 30 tabs are supported, but keep in mind that many tabs with long names won't fit in the horizontal space above infobox.
- Creating new tabs
- Once you have a page with {{Tabbed infobox}} saved/previewed, click on the tabs and use the red links to create the new tabs. Simply add the infobox (nothing else!) to the new page.
- Editing existing tabs
- Use the v-d-e (view-discuss-edit) links at the top right corner of the tabbed infoboxes to edit existing examples.