Difference between revisions of "Template:Tabs"

From Team Fortress Wiki
Jump to: navigation, search
m (+ some documentation)
m (Speaking of humiliation...)
Line 102: Line 102:
 
I lost my hat :(
 
I lost my hat :(
 
<gallery>
 
<gallery>
File:Engineerhumiliation
+
File:Engineerhumiliation.png
 
</gallery>
 
</gallery>
 
}}
 
}}
Line 120: Line 120:
 
I lost my hat :(
 
I lost my hat :(
 
<gallery>
 
<gallery>
File:Engineerhumiliation
+
File:Engineerhumiliation.png
 
</gallery>
 
</gallery>
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Revision as of 13:45, 8 September 2023

[hide]{{{title}}}
  • {{{icon1}}}
{{{content1}}}
show;hide

Documentation for Tabs

Parameters

title
Title of the Tabs
orientation
Orientation of the tabs/buttons
iconn
Name displayed on the tabs/buttons, replace n with a number
contentn
Content displayed when clicking on the tabs/buttons, replace n with a number

Example

{{Tabs
| title = Tabs example
| orientation = vertical
| icon1 = Tab #1
| icon2 = Tab #2
| content1 =
Hello Wiki! Look at my cool hat!
<gallery>
File:Engineer Wiki Cap.png
</gallery>
| content2 =
I lost my hat :(
<gallery>
File:Engineerhumiliation.png
</gallery>
}}

generates:

[hide]Tabs example
  • Tab #1
  • Tab #2
Hello Wiki! Look at my cool hat!
I lost my hat :(
show;hide