The forum pages are fully operational! See this link for the latest forum topics, where users can collaborate or discuss certain topics in one place!

Difference between revisions of "Template:Tab"

From Arthur Wiki
Jump to navigationJump to search
m (Reverted edits by 2601:14B:4280:6C90:64EF:4163:10C3:B435 (talk) to last revision by Results May Vary)
Tag: Rollback
m (Protected "Template:Tab": Interface image ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
 
(No difference)

Latest revision as of 17:57, 9 March 2022

Usage

The original template is from the Kingdom Hearts Wiki.

Openers

  • {{tab|o}} - Used to create a general tab box that doesn't float, or any tab box contained within another tab box (whether it floats or not).
  • {{tab|o-info}} - Used to create a tab box with special infobox treatment. Floats to the right with a default width of 250px.
    • The width can be changed by adding an extra parameter, e.g. {{tab|o-info|360px}}. The infobox will automatically fill the width of the tab box.
  • {{tab|o-char}} - Used to create a tab box with special infobox treatment. Floats to the right with a default width of 360px.
  • {{tab|o-left}} - Used to create a tab box that floats to the left. If you don't want the page content to go next to the tab box, use {{tab|o}}.
  • {{tab|o-right}} - Used to create a tab box that floats to the right.
  • {{tab|o-center}} - Used to create a tab box centered on the page.

Tabs

  • {{tab|Tab Name}} - Used to start a new tab, with the tab name as the first parameter.
    • The tab's background color can changed with an optional second parameter, e.g. {{tab|Tab Name|grey}}.

Closers

  • {{tab|c}} - Used to close each tab, as well as the entire tab box.

Example

Lorem ipsum

Lorem ipsum

Lorem ipsum

{{tab|o-right}}
{{tab|Foo}}
{{tab|o}}
{{tab|bar}}
Lorem ipsum
{{tab|c}}
{{tab|test|yellow}}
Lorem ipsum
{{tab|c}}
{{tab|c}}
{{tab|c}}
{{tab|hello}}
Lorem ipsum
{{tab|c}}
{{tab|c}}