Template:R from template shortcut/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Snickers Raider
No edit summary
meta>Gogo Dodo
m Reverted edits by Snickers Raider (talk) to last version by 66.87.134.12
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]) -->
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also itself), not for alternative template names).}}
{{Substitution|not|nor used to tag [[Wikipedia:Soft redirects|soft redirects]].<br />'''This is for {{em|shortcuts}} only''' (like [[Template:R tsh]] for this template itself), not for alternative template names).}}
__NOTOC__
__NOTOC__


=== Usage ===
=== Usage ===
{{hatnote|Use this rcat template in '''any [[wp:namespace|namespace]]'''.}}
{{hatnote|Use this rcat template in '''any [[wp:namespace|namespace]]'''.}}
* This redirect category ([[WP:RCAT|rcat]]) template populates {{Cat|Redirects from template shortcuts}} and, when the shortcut is in the [[wp:Mainspace|main-article namespace]] (mainspace), the {{c|Unprintworthy redirects}} category is also populated by default.  At some point in the future, [[Jimmy Wales]] wants to make more {{diff|Wikipedia:Pushing to 1.0||1319195|printed versions}} of ''Wikipedia'' encyclopedia articles.  Template-shortcut redirects from mainspace are not suitable for a printed version.  In other words, they are [[wp:Printworthiness|unprintworthy]].
* This redirect category ([[WP:RCAT|rcat]]) template populates {{Cat|Redirects from template  
* Add this rcat to a redirect in the following manner: huh
* Use this rcat to tag any redirect that is a shortcut '''''to a template''''', which usually has a longer pagename.  The are known as [[WP:
<pre>
#REDIRECT [[Template:(target page name)]]
 
{{Redr|from template shortcut}}
</pre>
: Template {{tl|Redr}} is an alias for the ''This is a redirect'' template, which may be used to add up to seven appropriate rcats, along with their parameters, to a redirect.  For more information see the documentation on its template page and its [[Template:This is a redirect/Comparison|comparison page]].  This rcat may also tag a redirect individually:
<pre>
#REDIRECT [[Template:(target page name)]]
 
{{R from template shortcut}}
</pre>
: This is in accord with instructions found at [[Wikipedia:REDCAT]].
* Use this rcat to tag any redirect that is a shortcut '''''to a template''''', which usually has a longer pagename.  The redirect itself does not necessarily have to be a template, e.g., <nowiki>[[</nowiki>[[T:S]]<nowiki>]]</nowiki>, which is a template shortcut that is actually in mainspace.  Such shortcuts are known as [[WP:pseudo-namespace|pseudo-namespace]] redirects.
** Note:  Pseudo-namespace template shortcuts such as '''T:S''' above may be transcluded by use of a leading colon:
::: <code><nowiki>{{</nowiki>{{red|''':'''}}<nowiki>T:S|This text has been "struck through".}}</nowiki></code>, which results in:
::: <code><nowiki>{{</nowiki>{{red|''':'''}}<nowiki>T:S|This text has been "struck through".}}</nowiki></code>, which results in:
::: {{:T:S|This text has been "struck through".}}
::: {{:T:S|This text has been "struck through".}}

Revision as of 05:47, 30 July 2016

}}</includeonly>