(Go: >> BACK << -|- >> HOME <<)

Jump to content

Template:Container category/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Sardanaphalus (talk | contribs)
Reverted good faith edits by Sardanaphalus (talk): Deprecate right-aligned content parameter. (TW)
Line 1: Line 1:
{{Documentation subpage}}
{{documentation subpage}}
<!---PLEASE ADD METADATA TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE--->
<!---PLEASE ADD METADATA TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE--->
== Usage ==
==Usage==

Tag categories with <code>{{tl|Container category}}</code> to inform editors that they should not contain anything other than subcategories.
Tag categories with <code>{{tl|Container category}}</code> to inform editors that they should not contain anything other than subcategories.


Line 11: Line 10:
Categories that are part of Wikipedia administration should be tagged with {{tl|Wikipedia category}} instead.
Categories that are part of Wikipedia administration should be tagged with {{tl|Wikipedia category}} instead.


==See also==
===Placing right-aligned content beside the template===
*{{tl2|Parent-only stub category}} – A similar template for use in stub categories
Use <code><nowiki>{{Container category |</nowiki>''right-aligned content''}}</code> to place right-aligned content&nbsp;– such as {{tl|portal}} (to provide a link or links to related portal or portals) and/or {{tl|Commons category}} (to provide a link to the same or a similarly-named category at the Commons)&nbsp;– beside the template. If more than one box is included, ensure the widest one appears first, otherwise overlapping may occur.
*{{tl2|Category diffuse}} – For noting that included pages should be categorised to the category's sub-categories if possible.
{{Hidden begin |showhide=left |title={{bigger|Example}} |bodystyle=font-size:105%;}}
<code><nowiki>{{Container category |{{Commons category|writers}}}}</nowiki></code> produces:
<div style="background:transparent;">{{Container category |{{Commons category|writers}}}}</div>
{{Hidden end}}

== See also ==
*{{tl|Parent-only stub category}}, a similar template for use with stub categories.
*{{tl|Category diffuse}}, a notice for a category's page announcing that pages in the category should be reassigned to its subcategories.


{{Namespace category}}
{{Namespace category}}
{| style="width: 100%"
|
|}


<includeonly>
<includeonly>

Revision as of 11:45, 16 January 2016

Usage

Tag categories with {{Container category}} to inform editors that they should not contain anything other than subcategories.

The categories will be added to Category:Container categories. If the template is transcluded on a page outside of the category namespace, the page will not be added to Category:Container categories.

Do not substitute this template.

Categories that are part of Wikipedia administration should be tagged with {{Wikipedia category}} instead.

See also

Other category-header templates