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

From blackwiki
Jump to navigation Jump to search
imported>Andy M. Wang
(hidden begin/end)
imported>Andy M. Wang
(Undid revision 720651957 by Andy M. Wang (talk): nope)
 
Line 5: Line 5:
 
   | class = category-namespace-editnotice
 
   | class = category-namespace-editnotice
 
   | image = [[File:Ambox important.svg|40px|link=]]
 
   | image = [[File:Ambox important.svg|40px|link=]]
   | text =
+
   | text =  
{{Hidden begin|expanded=yes}}
+
<div style="float:right; text-align:right; vertical-align:bottom;font-size:xx-small;"> [[Template:Editnotices/Namespace/Category|Hide&nbsp;this&nbsp;message]] </div>
 
'''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.
{{Hidden end}}
 
 
   }}
 
   }}
 
}}<noinclude>
 
}}<noinclude>

Latest revision as of 04:37, 17 May 2016

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