Template:Tabber

From Len'en Wiki
Jump to navigation Jump to search
Documentation icon Template documentation[view] [edit] [history] [purge]

{{Tabber}} is a tool used to create a tabbed layout, condensing the overall size of content into a compact area. The user can select the appropriate tab that they wish to view.

Parameters

Currently, this template can create up to 10 tabs. They will automatically break into multiple lines if the container is too narrow.

  • |header=: The content you want to display in the header field of the tabber. If left blank, the tabs will not be in a stylized container (Optional).
  • |default=: To set which tab should be initially viewed upon loading the page. Defaults to "1" (Optional).
  • |width=: The width of the tabber. Fits to the contents if left blank (Optional).
  • |height=: The height of the tabber section. Fits to the contents if left blank (Optional).
  • |tabstyle=: CSS styles to be applied to the tab container (Optional).
  • |constyle=: CSS styles to be applied to the content container (Optional).
  • |tabn=: The name of each tab. Try to keep the names short. Images are also possible to add here; however, they must be entered with a blank |link= parameter to prevent opening a new page (Required).
  • |contentn=: The content you want to display for each tab. There is no limit to what content appears here (Required).

Credits

Originally based on Template:Tab from the Fire Emblem Wiki.