Difference between revisions of "Template:Redirect category shell"

From Timelines
Jump to: navigation, search
(Created page with '{{Mbox | name = This is a redirect | type = move | image = none | style = margin-top: 1.1em; border: solid 1px darkblue; border-left-width: 0.5em; | textstyle...')
 
m (clarify)
 
(40 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 
{{Mbox
 
{{Mbox
| name  = This is a redirect
+
| name  = Redirect category shell
 
| type  = move  
 
| type  = move  
 
| image = none
 
| image = none
 
| style = margin-top: 1.1em; border: solid 1px darkblue; border-left-width: 0.5em;
 
| style = margin-top: 1.1em; border: solid 1px darkblue; border-left-width: 0.5em;
 
| textstyle = padding-top: 0.9em; padding-bottom: 0.9em;
 
| textstyle = padding-top: 0.9em; padding-bottom: 0.9em;
| text  = [[File:Symbol redirect arrow with gradient.svg|25px|link=]] '''This page is a [[Wikipedia:Redirect|redirect]]:'''{{#if:{{{e0|}}}
+
| text  = [[File:Symbol redirect arrow with gradient.svg|25px|link=]] '''This page is a [[Wikipedia:Redirect|redirect]]:'''{{#if:{{{h|}}}
  |:: ''{{{e0}}}''
+
  |:: ''{{{h}}}''
 
  }}<!--
 
  }}<!--
 
   Automatically detect protected redirects:
 
   Automatically detect protected redirects:
 
--><includeonly>{{#switch: {{PROTECTIONLEVEL:move}}
 
--><includeonly>{{#switch: {{PROTECTIONLEVEL:move}}
   |sysop|templateeditor={{pp-move|small=yes}}
+
   |sysop|templateeditor|extendedconfirmed={{pp-move|small=yes}}
 
  }}{{#switch: {{PROTECTIONLEVEL:edit}}
 
  }}{{#switch: {{PROTECTIONLEVEL:edit}}
 
   |sysop={{pp-protected|small=yes}}{{R protected|embed=yes}}
 
   |sysop={{pp-protected|small=yes}}{{R protected|embed=yes}}
 
   |templateeditor={{pp-protected|small=yes}}{{R template protected|embed=yes}}
 
   |templateeditor={{pp-protected|small=yes}}{{R template protected|embed=yes}}
 +
  |extendedconfirmed={{pp-protected|small=yes}}{{R extended-protected|embed=yes}}
 
   |autoconfirmed={{pp-protected|small=yes}}{{R semi-protected|embed=yes}}
 
   |autoconfirmed={{pp-protected|small=yes}}{{R semi-protected|embed=yes}}
 
   | <!--Not protected, or only semi-move-protected-->
 
   | <!--Not protected, or only semi-move-protected-->
 
  }}</includeonly>{{#if: {{{1|}}}||
 
  }}</includeonly>{{#if: {{{1|}}}||
* '''[[:Category:Miscellaneous redirects|Manifold sort]]''':  If no [[Wikipedia:Categorization|category]] description other than a suitable page protection notice has been given, or if more categories might be needed, this redirect populates '''Category:Miscellaneous redirects''' by default.<includeonly>{{#ifeq: {{lc:{{{nocat|false}}}}} | false |{{{category|[[Category:Miscellaneous redirects]]}}}}}</includeonly>
+
* '''Manifold sort''':  If help is needed to determine appropriate categories, then this redirect populates '''{{Cat|Miscellaneous redirects}}'''.  Monitors of that category will check this redirect and add or remove [[WP:RCAT|rcat]]s as needed.<includeonly>{{#ifeq: {{lc:{{{nocat|false}}}}} | false |{{{category|[[Category:Miscellaneous redirects]]}}}}}</includeonly>
 
}}
 
}}
 
{{#if: {{{2|}}}|{{{2}}}|{{{1|}}}}}
 
{{#if: {{{2|}}}|{{{2}}}|{{{1|}}}}}
:''<small>For more information follow the '''boldface''' category link(s).  This template automates [[Wikipedia:Protection policy|protection levels]].</small>''
+
''<small>When appropriate, [[Wikipedia:Protection policy|protection levels]] are automatically sensed, described and categorized.</small>''
}}<!--<noinclude>
+
}}<noinclude>
{{Documentation|content=
+
{{Documentation}}
{{template shortcut|Rcat shell}}
+
</noinclude>
__TOC__
 
=[[Template:Redirect category shell]]=
 
===Note 1===
 
A new unnamed parameter, {{para|1}}, has been introduced in this most recent version and, once the new template has been created, should work as follows:
 
<pre>
 
{{Redirect category shell|1=
 
{{rcat 1}}
 
{{rcat 2}}
 
{{rcat 3}}
 
{{rcat N}}
 
}}
 
</pre>
 
...or more simply:
 
<pre>
 
{{Redirect category shell|
 
{{rcat 1}}
 
{{rcat 2}}
 
{{rcat 3}}
 
{{rcat N}}
 
}}
 
</pre>
 
"N" would equal the highest number of rcats that would work in the ''This is a redirect'' template, and at this point, I'm not sure there is a limit other than what might be a wikimarkup ceiling.
 
 
 
===Note 2===
 
This is still undergoing tests.  The existing ''This is a redirect'' template can remain in its present form as, in some cases, a simpler choice for editors.  This new template can also be used for future tagging of redirects.  It needs only one parameter, {{para|1}} for as many rcat templates that are needed.  The following still needs work:
 
 
 
* The {{para|embed|yes}} parameter must be used ''in each rcat'', e.g.,
 
<pre>
 
{{Redirect category shell|
 
{{R from move|embed=yes}}
 
{{R from alternative spelling|embed=yes}}
 
{{R printworthy|embed=yes}}
 
}}
 
</pre>
 
: And yes, I do consider this a "flaw", because editors should not have to add a redundant parameter each time they add an rcat to this template.
 
* <s>There is a flaw that does not allow the ''Miscellaneous redirects'' category to be populated when other rcats have been used in the unnamed parameter, so editors will be unable to "call for help" by leaving the first parameter blank and adding rcats in a "second" unnamed parameter.  Workin' on that one.</s>
 
: Code has been included that fixes the ''Category:Miscellaneous redirects'' flaw.
 
:: Timestamp – 04:06, 22 February 2016 (UTC)
 
:: Improved – 22:54, 22 February 2016 (UTC)
 
 
 
===Note 3===
 
Testing has confirmed that the embed flaw, in which editors must add the {{para|embed|yes}} parameter to every rcat that is applied, can be eliminated.  To do so entails a major edit to each and every rcat template.  An example of the needed change can be viewed at {{tl|R from incorrect name/sandbox}}.  Before this change is implemented for all rcats, it is important to get other opinions about this, so I have opened a discussion and linked to it here on this page. &nbsp;''Good&nbsp;faith!''&nbsp;'''''[[User talk:Paine Ellsworth|<span style="font-size:85%;color:darkblue;font-family:Segoe Script">Paine</span>]]'''''&nbsp; <s><small>18:20, 16 February 2016 (UTC)</small></s> <small>12:34, 20 February 2016 (UTC)</small>
 
 
 
===[[Template talk:This is a redirect#Sandbox version|Discussion link]]===
 
}}
 
</noinclude>-->
 

Latest revision as of 11:53, 6 March 2017

Template documentation[create]