Template:Cat handler/blacklist/doc: Difference between revisions

m
(Created page with '{{documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is the {{tl|cat handler/blacklist}} sub-template. Do not use this templ…')
 
m (→‎Testing the blacklist: remove template)
 
Line 31: Line 31:
The ++ used here is a simple way to make it visible when a template returns an empty string.
The ++ used here is a simple way to make it visible when a template returns an empty string.


Or you can feed the pagename you want to test to this template. Then you can do all the testing for instance on the [[{{pgn|ns|page1|page2}}/testcases|/testcases]] subpage of this template. Like this:
Or you can feed the pagename you want to test to this template. Then you can do all the testing for instance on the [[pgn|ns|page1|page2/testcases|/testcases]] subpage of this template. Like this:
:<code><nowiki>+{{cat handler/blacklist| page = User:Example }}+</nowiki></code>
:<code><nowiki>+{{cat handler/blacklist| page = User:Example }}+</nowiki></code>
:<code><nowiki>+{{cat handler/blacklist| page = User:Example/Archive 5}}+</nowiki></code>
:<code><nowiki>+{{cat handler/blacklist| page = User:Example/Archive 5}}+</nowiki></code>
42,316

edits