Template:MapTabs

From Tower Defense Simulator Wiki
Jump to navigation Jump to search

Template Documentation
Portions of this template may not be visible without parameter values provided

Description

[edit]

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

Syntax & Usage

[edit]
{{MapTabs|<Subpage Type>|Story = <No>|Waves = <No>|Rewards = <No>}}

In most cases, only the first parameter will be used or none. The other parameters should only be used in a specific situation.

  • <Subpage Type> is used on the sub pages. It gives them the respective category. Setting it to Waves will add it to Category:Waves while Rewards will add it to Category:Map Rewards.
  • Setting either Waves, Story or Rewards to "No" will remove the tab.

Examples

[edit]

Main Page

[edit]
{{MapTabs}}

Waves Page (No Story)

[edit]
{{MapTabs|Waves|Story = No}}

Rewards Page (No Waves)

[edit]
{{MapTabs|Rewards|Waves = No}}

Story Page (No Rewards)

[edit]
{{MapTabs|Story|Rewards = No}}