Difference between revisions of "Template:Tabbed infobox/doc"
Jump to navigation
Jump to search
WikimanBot (talk | contribs) (template documentation) |
WikimanBot (talk | contribs) |
||
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 '''16''' tabs are supported, but keep in mind that many tabs with long names won't fit in the 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 examples. Simply add the infobox (nothing else!) to the example page. | : Once you have a page with {{t|Tabbed infobox}} saved/previewed, use the red links to create the new examples. Simply add the infobox (nothing else!) to the example 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> |
Revision as of 09:41, 10 May 2015
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 16 tabs are supported, but keep in mind that many tabs with long names won't fit in the space above infobox.
- Creating new tabs
- Once you have a page with {{Tabbed infobox}} saved/previewed, use the red links to create the new examples. Simply add the infobox (nothing else!) to the example 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.