Template:Tabs dynamic/doc

From Liquipedia Commons Wiki

Usage

[edit]
{{Tabs dynamic
|name1=
|name2=
|content1=
|content2=
|This=
}}

Variables:

  • |name1= name of the 1st tab. Use   if you want the name to be one line
  • |name2= name of the 2nd tab. Use   if you want the name to be one line
  • |content1= 1st tab's content goes here
  • |content2= 2nd tab's content goes here
  • |This=
  • |hide-showall= set to true to hide the show-all button

Add more name# and content# for more tabs.

If you need tables or edit links inside these tabs, use the alternate markup:

{{Tabs dynamic
|name1=
|name2=
|This=
}}
{{Tabs dynamic/tab|1}}
{{Tabs dynamic/tab|2}}
{{Tabs dynamic/end}}

Examples

[edit]

Example 1: With unbreakable spaces

[edit]
{{Tabs dynamic
|name1=Overview
|content1=Content 1
|name2=Season 1
|content2=Content 2
|name3=Season 2
|content3=Content 3
|This=3}}

*Used with  

Will look like this:


Example 2: Without unbreakable spaces

[edit]
{{Tabs dynamic
|name1=Overview
|content1=Content 1
|name2=Season 1
|content2=Content 2
|name3=Season 2
|content3=Content 3
|This=3}}

*Used without  

Will look like this: