Template:HideTab: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
(Created template)
 
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 16: Line 16:
}}
}}
|#default={{lc:{{{1|}}}}}
|#default={{lc:{{{1|}}}}}
}}}}{{#tag:css|
}}}}<span style="display:none;">{{#tag:css|
#firstHeading, #siteSub, #ca-{{#var:tab}} {
#ca-{{#var:tab}} {display:none;}
display:none;
}}</span></includeonly><noinclude>
}
}}</includeonly><noinclude>
==Purpose==
==Purpose==
This template enables hiding certain tabs on a page it's used on.
This template enables hiding certain tabs on a page it's used on.


==Usage==
==Usage==
To use this template, type: {{NoWikiTemp|Normal|Type}}
To use this template, type: {{Desc|Normal|Type}}
{{Parameter|Type|The type of tab to hide.}}
{{Parameter|Type|The type of tab to hide.}}



Latest revision as of 02:42, November 1, 2012

Purpose

This template enables hiding certain tabs on a page it's used on.

Usage

To use this template, type:     {{HideTab| Type }}

  • Type — The type of tab to hide.

The available types would be:

  • content
    • Hides the content tab. Useful for archive's of talk pages.
  • talk
    • Hides any talk page tab. Useful for pages that themselves are discussion pages.

Those are the main ones that see use. But additional tabs such as move, history, watch, unwatch, etc. can also be hidden by just typing their name in the parameter.