Hello Smite fan! Want to help building up the Wiki? Join our Discord server and apply to become part of our team, and gain valuable experience,earn some awesome rewards and be part of the most amazing community in esports!

Template:TabsDynamic/doc

From Esportspedia - Smite Esports Wiki
Jump to: navigation, search

Usage

{{TabsDynamic
|name1=
|name2=
|content1=
|content2=
|This=
}}

Variables:

  • |name1= name of the 1st tab. Use   or {{nowrap}} if you want the name to be one line
  • |name2= name of the 2nd tab. Use   or {{nowrap}} if you want the name to be one line
  • |content1= 1st tab's content goes here
  • |content2= 2nd tab's content goes here
  • |This=

Add more name# and content# for more tabs.

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

{{TabsDynamic
|name1=
|name2=
|This=
}}
{{TD/tab|1}}
{{TD/tab|2}}
{{TD/end}}

Or:

{{TabsDynamic
|name1=
|name2=
|This=
}}
{{TD|tab}}
{{TD|tab}}
{{TD|end}}

However this syntax may be confusing because you aren't specifying a tab number each time.

Examples

Example 1: With unbreakable spaces

{{TabsDynamic
|name1=Overview
|content1=Content 1
|name2=Season 1
|content2=Content 2
|name3={{nowrap|Season 2}}
|content3=Content 3
|This=3}}

*Used with   and/or {{nowrap}}

Will look like this:

  • Overview
  • Season 1
  • Season 2

Content 1

Content 2

Content 3


Example 2: Without unbreakable spaces

{{TabsDynamic
|name1=Overview
|content1=Content 1
|name2=Season 1
|content2=Content 2
|name3=Season 2
|content3=Content 3
|This=3}}

*Used without   or {{nowrap}} 

Will look like this:

  • Overview
  • Season 1
  • Season 2

Content 1

Content 2

Content 3


See Also

Adapted from Liquipedia