Difference between revisions of "Template:Artredir/doc"

From MidrangeWiki
Jump to: navigation, search
m (created like Template:catredir/doc)
 
m (improve documentation with example for both template and the REDIRECT syntax)
 
Line 1: Line 1:
 
<includeonly>{{Template doc page transcluded}}</includeonly><noinclude>{{Template doc page viewed directly}}</noinclude>
 
<includeonly>{{Template doc page transcluded}}</includeonly><noinclude>{{Template doc page viewed directly}}</noinclude>
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
Usage
+
*This template places tagged categories into [[:Category:Article redirects to categories]] so it is not listed on [[Special:Uncategorizedpages]].
 +
*Note that this template does '''NOT''' perform the redirection itself.  That must be done manually.
 +
**Be sure to include the colon ( <code><nowiki>:</nowiki></code> ) prefix before the word <code><nowiki>Category</nowiki></code> in the  redirection.
 +
Usage:
 +
:<code><nowiki>#REDIRECT [[:</nowiki>''Category:Foo'']]</code>
 
:<code><nowiki>{{artredir|</nowiki>''Category name''}}</code>
 
:<code><nowiki>{{artredir|</nowiki>''Category name''}}</code>
*This template places tagged categories into [[:Category:Article redirects to categories]] so it is not listed on [[Special:Uncategorizedpages]].
 
 
<includeonly>
 
<includeonly>
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
[[Category:Article redirects to categories|μArtredir]]
 
[[Category:Article redirects to categories|μArtredir]]
 
<!-- ADD INTERWIKIS BELOW THIS LINE --></includeonly>
 
<!-- ADD INTERWIKIS BELOW THIS LINE --></includeonly>

Latest revision as of 14:57, 25 October 2007

48px This is the template documentation page for {{Artredir}}.
It is not intended to be viewed directly. If it uses variables, some links may appear broken. Do not replace these variables with hardcoded page names or URLs.

Usage:

#REDIRECT [[:Category:Foo]]
{{artredir|Category name}}