Difference between revisions of "Template:Tabbed infobox/doc"

From Underrail Wiki
Jump to navigation Jump to search
 
Line 16: Line 16:
 
}}</pre>
 
}}</pre>
  
And so on. Up to '''30''' tabs are supported, but keep in mind that many tabs with long names won't fit in the space above infobox.
+
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
 
; 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, 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
 
; Editing existing tabs

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.