Template:Pp-template/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>DragonHawk
doc subpages should be includeonly; explain in documentation
meta>Debresser
additions
Line 11: Line 11:


=== Inclusion control tags ===
=== Inclusion control tags ===
* When {{tlx|{{lc:{{PAGENAME}}}}}} is added directly in the protected template, it should be placed inside {{tag|noinclude}} tags (otherwise, every page which uses the template will see the protection notice).
* When {{tlx|{{lc:{{PAGENAME}}}}}} is added to a [[Wikipedia:Template documentation|documentation subpage]], it should be placed {{tag|includeonly}} tags (otherwise, the doc page itself will see the protection notice).


subpage, in which case it should  
* When {{tlx|{{lc:{{PAGENAME}}}}}} is added directly in the protected template, it should be placed inside {{tag|noinclude}} tags (otherwise, every page which uses the template will see the protection notice, which is likely to result in an error message).
* When {{tlx|{{lc:{{PAGENAME}}}}}} is added to a [[Wikipedia:Template documentation|documentation subpage]], it should be placed inside {{tag|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==
== See also ==


{{protection templates}}
{{protection templates}}

Revision as of 18:19, 18 July 2009

Usage

The template will automatically detect the edit protection level (semi or full) of a page, and modify the appearance or categorization in consequence.

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