Official Tower Defense Simulator Wiki
Succumb to the dark sun! Like many before you.
2,699
articles

Template Documentation
Portions of this template may not be visible without parameter values provided
Template CSS: MediaWiki:Tabs.css

Description

This template is used to add tabs at the top of the tower sections.

Syntax & Usage

{{Tabs
|<Main Page Name>
|<Subpage Type>
|History = <No>
|Title = <Tower Name>
|Regular = <Regular Tower Link>
|Perk = <Golden Perk Link>
}}

In most cases, only the first two parameters will be used or none. All other parameters are used only in specific situations.

  • <Main Page Name> is the name of the main page, like for example Jester. It cannot be the actual name of the tower as this is used for links. By default, it is set to {{PAGENAME}}, which means that it does not need to be set to anything in the main page.
  • <Subpage Type> is used on the sub pages. It gives them the respective category. Setting it to Gallery will add it to Category:Gallery while setting it to History will add it to Category:History.
  • History is used when a tower does not have a history sub page. If this is the case, it should be set to No, which will remove the history tab. If a history sub page exists, this parameter should not be used.
  • Regular is used on tower pages that have golden perks. It should simply be the page name for the main page or history sub page of the regular tower.
  • Perk is used on tower pages that have golden perks. It should simply be the page name for the main page or history sub page of the golden perk tower.

Examples

Main Page

Note: As this is not a tower page, the links lead to pages that do not exist. Check the Sniper page for an example with working links.

{{Tabs}}

{{Tabs|Gallery}}

History Page

{{Tabs|History}}

{{Tabs|Gallery|History = No}}

History Page (Golden Perk)

{{Tabs|History|Regular = Minigunner/History|Perk = Golden Minigunner/History}}