Template:Pp-template/doc: Difference between revisions
From IHRIS Wiki
m (init) |
Sturlington (talk | contribs) No edit summary |
||
Line 22: | Line 22: | ||
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. --> | ++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. --> | ||
[[Category:Protection templates|{{PAGENAME}}]] | <nowiki>[[Category:Protection templates|{{PAGENAME}}]] | ||
</nowiki> | |||
[[bg:Шаблон:Защитена страница]] | [[bg:Шаблон:Защитена страница]] | ||
[[cs:Šablona:Dlouhodobě_zamčeno]] | [[cs:Šablona:Dlouhodobě_zamčeno]] |
Latest revision as of 10:05, 16 July 2013
Template:Documentation subpage
Usage
The template will automatically detect the edit protection level (semi or full) of a page, and modify the appearance or categorization in consequence.
- Use {{pp-template/doc}} for the normal template (an icon at the top)
- Use {{pp-template/doc|small=no}} for the large template
This template will not be shown on pages that are not protected. Please note that only administrators can protect pages.
Inclusion control tags
- When {{pp-template/doc}} is added directly in the protected template, it should be placed inside <noinclude></noinclude> tags (otherwise, every page which uses the template will see the protection notice, which is likely to result in an error message).
- When {{pp-template/doc}} is added to a documentation subpage, it should be placed inside <includeonly></includeonly> tags (otherwise, the doc page itself will also see the protection notice, which again is likely to result in an error message).
See also
cs:Šablona:Dlouhodobě_zamčeno/doc zh:Template:Pp-template/doc