Difference between revisions of "Template:Editnotices/Namespace/Category"
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
| To list a page in this category, do not edit this category page. Instead, edit the page you want to list, adding [[Category:Editnotices/Namespace/Category]] at the bottom. See FAQ/Categorization for details. |
Usage
- This template provides the editnotice for all category pages.
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
| The above documentation is transcluded from Template:Editnotices/Namespace/Category/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |