Template:HideTab: Difference between revisions
Jump to navigation
Jump to search
Want an adless experience? Log in or Create an account.
mNo edit summary |
mNo edit summary |
||
Line 16: | Line 16: | ||
}} | }} | ||
|#default={{lc:{{{1|}}}}} | |#default={{lc:{{{1|}}}}} | ||
}}}}{{#tag:css| | }}}}<span style="display:none;">{{#tag:css| | ||
#ca-{{#var:tab}} {display:none;} | #ca-{{#var:tab}} {display:none;} | ||
}}</includeonly><noinclude> | }}</span></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. |
Revision as of 11:02, January 16, 2012
Purpose
This template enables hiding certain tabs on a page it's used on.
Usage
To use this template, type: Template:NoWikiTemp
- 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.
- content
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.