Template:Pp-protected: Difference between revisions

From Cvillepedia
Jump to navigation Jump to search
m (Protected "Template:Pp-protected" [edit=sysop:move=sysop])
No edit summary
 
Line 23: Line 23:
   | {{ns:12}} = [[Category:Semi-protected project pages|{{PAGENAME}}]]
   | {{ns:12}} = [[Category:Semi-protected project pages|{{PAGENAME}}]]
   | {{ns:100}} = [[Category:Semi-protected portals|{{PAGENAME}}]]
   | {{ns:100}} = [[Category:Semi-protected portals|{{PAGENAME}}]]
   | {{ns:10}} = [[Category:Wikipedia semi-protected templates|{{PAGENAME}}]]
   | {{ns:10}} = [[Category:cvillepedia semi-protected templates|{{PAGENAME}}]]
   | {{ns:14}} = [[Category:Wikipedia semi-protected categories|{{PAGENAME}}]]
   | {{ns:14}} = [[Category:cvillepedia semi-protected categories|{{PAGENAME}}]]
   | #default = {{talk other|[[Category:Semi-protected talk pages|{{PAGENAME}}]]|[[Category:Wikipedia semi-protected pages|{{PAGENAME}}]]}}}}
   | #default = {{talk other|[[Category:Semi-protected talk pages|{{PAGENAME}}]]|[[Category:cvillepedia semi-protected pages|{{PAGENAME}}]]}}}}
  |administrator
  |administrator
  |full
  |full
  |sysop={{#switch: {{{demospace|{{NAMESPACE}}}}}
  |sysop={{#switch: {{{demospace|{{NAMESPACE}}}}}
   | {{ns:2}}
   | {{ns:2}}
   | {{ns:3}} = [[Category:Wikipedia protected user and user talk pages|{{PAGENAME}}]]
   | {{ns:3}} = [[Category:cvillepedia protected user and user talk pages|{{PAGENAME}}]]
   | {{ns:6}} = [[Category:Protected images|{{PAGENAME}}]]
   | {{ns:6}} = [[Category:Protected images|{{PAGENAME}}]]
   | {{ns:4}}
   | {{ns:4}}
   | {{ns:12}} = [[Category:Protected project pages|{{PAGENAME}}]]
   | {{ns:12}} = [[Category:Protected project pages|{{PAGENAME}}]]
   | {{ns:10}} = [[Category:Wikipedia protected templates|{{PAGENAME}}]]
   | {{ns:10}} = [[Category:cvillepedia protected templates|{{PAGENAME}}]]
   | {{ns:14}} = [[Category:Wikipedia protected categories|{{PAGENAME}}]]
   | {{ns:14}} = [[Category:cvillepedia protected categories|{{PAGENAME}}]]
   | #default = {{talk other|[[Category:Protected talk pages]]|[[Category:Wikipedia protected pages|{{PAGENAME}}]]}}}}}}}}}}}</includeonly><noinclude>
   | #default = {{talk other|[[Category:Protected talk pages]]|[[Category:cvillepedia protected pages|{{PAGENAME}}]]}}}}}}}}}}}</includeonly><noinclude>
{{pp-protected|demospace=main|categories=no|reason=[[Lorem ipsum|Lorem ipsum dolor sit amet]]}}
{{pp-protected|demospace=main|categories=no|reason=[[Lorem ipsum|Lorem ipsum dolor sit amet]]}}



Latest revision as of 16:24, 5 July 2009


Usage

This is the {{!}} meta-template.

This is an auxiliary template allowing to encode "|" within template parameters. It is necessary if the character is used in wiki table syntax, or if the parameter is automatically wikilinked and you wish to use a pipe to specify different link text from the target page name. In other cases it is better to use "&#124;".

This template cannot be used for putting the character as text in a wiki table; in that case, again, "&#124;" can be used.

Note that no special template is needed for "!" (exclamation mark).

This is a high risk template, and it usually cannot be substituted (see conditions for substing on the section below).

Substitution

The template page states that {{!}} cannot be substituted. That's not completely true because it is perfectly okay to substituted {{!}} as soon as an unescaped "|" works as expected, i.e. after substituting the template containing {{!}}, or after eliminating an #if: containing {{!}}.

See also

simple:Template:!