This wiki contains unmarked spoilers and disturbing content without warning. Please be cautious when browsing.
We have just started this wiki. Please help us fill in all the information.
Editing is disabled for now.
We are not affiliated with Team Salvato.
Template:Tabber: Difference between revisions
From Monikapedia
Jump to navigationJump to search
m (Protected "Template:Tabber" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div class="tabber {{#if:{{{align|}}}|go{{{align}}}}}" {{#if:{{{width|}}}|style="width:{{{width}}}"}}>{{#forargs:title|key|value|<div class="tabbertab" title="{{#var:value}}" {{#if:{{{height|}}}|style="height:{{{height}}}"}}> | <includeonly><div class="tabber {{#if:{{{align|}}}|go{{{align}}}}}" {{#if:{{{width|}}}|style="width:{{{width}}}"}}>{{#forargs:title|key|value|<div class="tabbertab" title="{{#var:value}}" {{#if:{{{height|}}}|style="height:{{{height}}}"}}> | ||
{{{content{{#var:key}} | {{{content{{#var:key}}}}}</div>}}</div><templatestyles src="Tabber/styles.css"/></includeonly><noinclude> | ||
Used for inserting a tab box containing any number of content tabs. | Used for inserting a tab box containing any number of content tabs. | ||
Revision as of 14:44, 30 October 2023
Used for inserting a tab box containing any number of content tabs.
Usage
Optional parameters (not needed in most cases): align
(left/right/center), width
, height
.
Infoboxes
When used in an infobox, it's generally recommended to set all images to the same width. For example:
{{tabber|title1=Tab 1|content1=[[File:Image 1.png|250px]]|title2=Tab 2|content2=[[File:Image 2.png|250px]]}}