टेम्पलेट:Incorrect redirect template
Appearance
The above rcat should only be used to categorize redirects that are in the {{{1}}} namespace. |
टेम्पलेट बिबरनलेख[देखीं] [संपादन करीं] [इतिहास देखीं] [रिफ्रेश करीं]
ई टेम्पलेट सबस्टिच्यूट ना कइल जाए के चाहीं । |
Usage
[संपादन करीं]This template is for use in other templates in conjunction with namespace detection. It adds pages to Category:Pages with templates in the wrong namespace. This template has been designed to ignore certain pages. It will not categorize nor show its notice box on:
- sub-pages titled:
- doc
- sandbox
- testcases
- project pages titled:
- template pages titled:
- {{Redirect template}}
- {{This is a redirect}}
- All redirect category (rcat) templates that would show this error on redirect pages – especially on redirect pages in template space – such as mainspace-only redirects. This is done so that the {{This is a redirect}} template may be illustrated on those rcat template pages without display of this error notice.
1st parameter
[संपादन करीं]The 1st parameter inserts text in the message to specify in which namespace the redirect in question should (or should not) be categorized.
Example 1
[संपादन करीं]{{Ombox | type = notice | text = Example text. }}<includeonly>{{Help other|[[Category:Example category]]|{{Incorrect redirect template|[[Help:help|help]]}}}}</includeonly>
- produces:
Example text. |
The above rcat (or a printworthiness rcat) should only be used to categorize redirects that are in the help namespace. |
- In the above example, transcluding the message box will categorize redirects in the help namespace into श्रेणी:Example category, and for pages outside the help namespace will produce this template's error message beneath the message box and populate श्रेणी:Pages with templates in the wrong namespace instead of श्रेणी:Example category.
2nd parameter
[संपादन करीं]The 2nd parameter inserts text in the message to specify a second namespace in which the redirect in question should (or should not) be categorized.
Example 2
[संपादन करीं]{{Ombox | type = notice | text = Example text. }}<includeonly>{{Help other|[[Category:Example category]]|{{Incorrect redirect template|[[Help:help|help]]|[[WP:Mainspace|main]]}}}}</includeonly>
- produces:
Example text. |
The above rcat (or a printworthiness rcat) should only be used to categorize redirects that are in the help namespace or the main namespace. |
- In the above example, transcluding the message box will categorize pages in the help namespace or the main namespace into श्रेणी:Example category, and for pages outside the help namespace or mainspace will produce this template's error message beneath the message box and populate श्रेणी:Pages with templates in the wrong namespace instead of श्रेणी:Example category.
3rd parameter
[संपादन करीं]This parameter is used when the text should read "...should only be used to categorize redirects that are outside ..." (instead of "in" ...).
Example 3
[संपादन करीं]{{Ombox | type = notice | image = [[File:Stop hand orange.svg|50px]] | text = Example text. }}<includeonly>{{Help other|[[Category:Example category]]|{{Incorrect redirect template|[[Help:help|help]]||outside}}}}</includeonly>
- Note: Two pipes together are used to yield an "empty" 2nd parameter.
- produces:
Example text. |
The above rcat (or a printworthiness rcat) should only be used to categorize redirects that are outside the help namespace. |
- In the above example, transcluding the message box will categorise pages outside the help namespace into श्रेणी:Example category, and for pages that are in the help namespace will produce this template's error message beneath the message box and populate श्रेणी:Pages with templates in the wrong namespace instead of श्रेणी:Example category. If a second namespace must be specified, then turn the empty 2nd parameter into a namespace link:
- Example 3.1
{{Ombox | type = notice | image = [[File:Stop hand orange.svg|50px]] | text = Example text. }}<includeonly>{{Help other|[[Category:Example category]]|{{Incorrect redirect template|[[Help:help|help]]|[[WP:Mainspace|main]]|outside}}}}</includeonly>
- produces:
Example text. |
The above rcat (or a printworthiness rcat) should only be used to categorize redirects that are outside the help namespace and the main namespace. |
- Also note that "or" is changed to "and" (help namespace "and" the main namespace).
इहो देखल जाय
[संपादन करीं]- {{Incorrect namespace}}
- {{Single namespace}}
परिचय खातिर ऊपर दिहल गइल बिबरनलेख के टेम्पलेट:Incorrect redirect template/doc से ट्रांसक्लूड क के इहाँ देखावल जा रहल बाटे। (संपादन करीं | इतिहास देखीं) संपादक लोग एह टेम्पलेट के अभ्यासपन्ना (सैंडबाक्स) (बनाईं | मिरर करीं) आ टेस्टकेस (बनाईं) पन्ना सभ पर अभ्यास आ प्रयोग (टेस्टिंग) क सकत बाटे। अनुरोध बा कि अगर श्रेणी जोड़े के होखे तब /doc उपपन्ना (सबपेज) पर जोड़ल जाय। एह टेम्पलेट के उपपन्ना (सबपेज) देखीं। |