Difference between revisions of "Template:Editnotices/Namespace/Category"
Jump to navigation
Jump to search
imported>Cenarium (show only when it exists, non-existent case handled by MediaWiki:Newarticletext) |
imported>Davidgothberg (Using <tt> tags instead of {{nicecode}}, that template is deprecated since we have fixed the <tt> rendering using the same CSS code.) |
||
| Line 1: | Line 1: | ||
| − | {{#ifexist:{{FULLPAGENAME}}|{{fmbox | + | {{#ifexist:{{FULLPAGENAME}} |
| − | | type = editnotice | + | | {{fmbox |
| − | | id = category-namespace-editnotice | + | | type = editnotice |
| − | | class = category-namespace-editnotice | + | | id = category-namespace-editnotice |
| − | | image = [[File:Ambox important.svg|40px]] | + | | class = category-namespace-editnotice |
| − | | text = | + | | image = [[File:Ambox important.svg|40px]] |
| − | <div style="float:right; text-align:right; vertical-align:bottom;font-size:xx-small;"> [[Template:Editnotices/Namespace/Category|Hide this message]]</div> | + | | text = |
| − | '''To list a page in this category, do not edit this category page.''' Instead, edit the page you want to list, adding {{nowrap| | + | <div style="float:right; text-align:right; vertical-align:bottom;font-size:xx-small;"> [[Template:Editnotices/Namespace/Category|Hide this message]] </div> |
| − | }}}}<noinclude> | + | '''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> | ||
| + | |||
{{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 15:36, 8 January 2010
| 40px | 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. |