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

From blackwiki
Jump to navigation Jump to search
imported>Redrose64
imported>MSGJ
(remove call to Template:Immediate children category per request)
 
Line 1: Line 1:
{{#ifeq:{{#titleparts:{{PAGENAME}}|1}}|Immediate children|{{immediate children category|{{#titleparts:{{PAGENAME}}|1|2}}}}|{{#ifexist:{{FULLPAGENAME}}
+
{{#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''. Either add {{nowrap|<kbd><nowiki>[[Category:</nowiki>{{PAGENAME}}<nowiki>]]</nowiki></kbd>}} at the bottom of the page, or if this is a maintenance category, then there may be a [[Wikipedia:template|template]] that populates it. 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''. Either add {{nowrap|<kbd><nowiki>[[Category:</nowiki>{{PAGENAME}}<nowiki>]]</nowiki></kbd>}} at the bottom of the page, or if this is a maintenance category, then there may be a [[Wikipedia:template|template]] that populates it. See [[Wikipedia:FAQ/Categorization|FAQ/Categorization]] for details.
 
   }}
 
   }}
}} }}<noinclude>
+
}}<noinclude>
 
<!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->
 
<!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 11:02, 29 October 2015

Template documentation[view] [edit] [history] [purge]

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