Difference between revisions of "Template:Editnotices/Namespace/Category"

From blackwiki
Jump to navigation Jump to search
imported>Davidgothberg
(Using <tt> tags instead of {{nicecode}}, that template is deprecated since we have fixed the <tt> rendering using the same CSS code.)
imported>Smith609
(Boilerplate text for "Immediate children" group; these pages never need creating.)
Line 1: Line 1:
{{#ifexist:{{FULLPAGENAME}}
+
{{#ifeq:{{#titleparts:{{PAGENAME}}|1}}|Immediate children|{{Editnotices/Group/Category:Immediate_children}}|{{#ifexist:{{FULLPAGENAME}}
 
| {{fmbox
 
| {{fmbox
 
   | type  = editnotice
 
   | type  = editnotice
Line 9: Line 9:
 
'''To list a page in this category, do not edit this category page.''' Instead, edit the page you want to list, adding {{nowrap|<tt><nowiki>[[Category:</nowiki>{{PAGENAME}}<nowiki>]]</nowiki></tt>}} at the bottom. See [[Wikipedia:FAQ/Categorization|FAQ/Categorization]] for details.
 
'''To list a page in this category, do not edit this category page.''' Instead, edit the page you want to list, adding {{nowrap|<tt><nowiki>[[Category:</nowiki>{{PAGENAME}}<nowiki>]]</nowiki></tt>}} at the bottom. See [[Wikipedia:FAQ/Categorization|FAQ/Categorization]] for details.
 
   }}
 
   }}
}}<noinclude>
+
}} }}<noinclude>
  
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 20:17, 30 November 2010

Usage

Hiding the message

This template is marked with the CSS id and CSS class name "category-namespace-editnotice", so that editors can apply their own CSS customisation if they wish, in particular to hide it (see WP:CSSHIDE for details). To hide the message, add:

#category-namespace-editnotice {
    display: none !important;
}

into your skin.css, which will apply the effect to your current skin. To apply it to all skins, add the code to your common.css instead. See Wikipedia:Skin for details.

See also