To create new wiki account, please join us on #znc at Libera.Chat and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.

Template:Category handler/blacklist and Template:Transclude: Difference between pages

From ZNC
(Difference between pages)
Jump to navigation Jump to search
Created page with "<noinclude>'''Actual code of this blacklist:'''<pre></noinclude>{{if pagename <!-- Start of blacklist --> | Main Page = hide <!-- Don't categorise the main page --> <!-- D..."
 
Created page with "{{#switch: {{NAMESPACE: {{{1}}} }} |#default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User:Foo" --> |{{ns:0}} = {{#ifeq: {{NAMESPACE: {{{1}}} }} | {{NAMESPACE: Template{{{..."
 
Line 1: Line 1:
<noinclude>'''Actual code of this blacklist:'''<pre></noinclude>{{if pagename
{{#switch: {{NAMESPACE: {{{1}}} }}
<!-- Start of blacklist -->
|#default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User:Foo" -->
 
|{{ns:0}} =  
| Main Page = hide  <!-- Don't categorise the main page -->
    {{#ifeq: {{NAMESPACE: {{{1}}} }} | {{NAMESPACE: Template{{{1}}} }}
 
      | Template:{{{1}}}            <!-- no leading colon, eg "Foo" -->
<!-- Don't categorise on centralised cascade page or its subpages -->
      | {{PAGENAME: {{{1}}} }}     <!-- leading colon, eg ":Foo", so we want the article -->
| Wikipedia:Cascade-protected items/+ = hide
    }}
 
}}<noinclude>
<!-- Don't categorise userboxes in their own "template space" -->
| User:UBX/+ = hide
| User talk:UBX/+ = hide
 
| Wikipedia:Template messages/* = hide  <!-- Don't categorise on its subpages -->
 
| /archiv* = hide  <!-- Don't categorise on /archive pages -->
 
<!-- End of blacklist -->
| page = {{{page|}}}   <!-- Never change this one, see the doc -->
}}<noinclude></pre>
 
{{documentation}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 15:25, 17 December 2011

Template:{{{1}}}

[create] Documentation icon Template documentation