No edit summary
No edit summary
Line 33: Line 33:


This template is a [[Help:Notices|notice]]. You can add it to any page to let others know something about that page.
This template is a [[Help:Notices|notice]]. You can add it to any page to let others know something about that page.
{{#if:{{{category|}}}|It will also categorize pages into the [[:Category:{{{category}}}|{{{category}}}]].}}


== Usage ==
== Usage ==
Line 38: Line 40:
To add this notice to a page, simply edit the page and add the following wikitext:
To add this notice to a page, simply edit the page and add the following wikitext:


<tt><nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>}}</nowiki></tt>
<nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>}}</nowiki>


And that's it! Save the changes and see the notice displayed!
And that's it! Save the changes and see the notice displayed!

Revision as of 15:30, 9 October 2020

Page Template:Mbox/styles.css must have content model "Sanitized CSS" for TemplateStyles (current model is "wikitext").

Template documentation

Create

Cookies help us deliver our services. By using our services, you agree to our use of cookies.