Template:R from HTML entity/doc: Difference between revisions

Content deleted Content added
m Since this template should only be used in mainspace redirects, I have changed 'Target page name' to 'Target article title'
m syntaxhighlight lang="wikitext"
Line 8:
{{info|image=Stop hand nuvola.svg|Please do not alter the printworthy settings of this rcat without first notifying the '''[[WP:Version 1.0 Editorial Team|Version 1.0 Editorial Team]]''', who are responsible for any and all materials, including redirects, that go into a printed version of ''Wikipedia''.}}
* Add this rcat to a redirect in the following manner:
<syntaxhighlight lang="wikitext">
<pre>
#REDIRECT [[(target article title)]]
 
Line 15:
{{R unprintworthy}}
}}
</syntaxhighlight>
</pre>
: Template {{tl|Rcat shell}} is an alias for the ''Redirect category shell'' template, which may be used to add as many appropriate rcats as needed, usually from one to seven, along with their parameters, to a redirect. For more information see the documentation on its template page. This rcat may also tag a redirect individually:
<syntaxhighlight lang="wikitext">
<pre>
#REDIRECT [[(target article title)]]
 
{{R from HTML entity}}
{{R unprintworthy}}
</syntaxhighlight>
</pre>
: This is in accord with instructions found at [[Wikipedia:REDCAT]].
* Use this rcat to tag any redirect in mainspace from an [[HTML entity]] to a page about the text that the HTML entity code returns.
Line 28:
==== {{vanchor|Print}}ability ====
* {{Para|printworthy|yes}} – By default, this template tags and categorizes redirects as unprintworthy. Use the printworthy parameter to subdue this behavior and populate {{Cat|Printworthy redirects}} in the following manner:
<syntaxhighlight lang="wikitext">
<pre>
{{Rcat shell|
{{R from HTML entity|printworthy=yes}}
{{R printworthy}}
}}
</syntaxhighlight>
</pre>
:''or''
<syntaxhighlight lang="wikitext">
<pre>
{{R from HTML entity|printworthy=yes}}
{{R printworthy}}
</syntaxhighlight>
</pre>
 
==== Aliases ====