Difference between revisions of "Template:R from shortcut"

From Second Life Wiki
Jump to navigation Jump to search
(Shamelessly copied from wikipedia.org)
 
m (Added a few more {{Wikipedia|...}} templates where needed)
 
Line 7: Line 7:
   |from=a shortcut '''in ''any'' namespace'''
   |from=a shortcut '''in ''any'' namespace'''
   |to=a page in any namespace except template namespace{{#if:{{{of|}}}{{{for|}}}|. The referent of this shortcut is: {{{of|{{{for}}}}}}}}
   |to=a page in any namespace except template namespace{{#if:{{{of|}}}{{{for|}}}|. The referent of this shortcut is: {{{of|{{{for}}}}}}}}
   |info=** ''If target page '''is''' a template, then use {{tl|R from template shortcut}} instead.''  Shortcuts are [[wikilink]]ed on community pages, talk pages and edit summaries, but not in {{Wikipedia|wp:mainspace|mainspace}} articles.
   |info=** ''If target page '''is''' a template, then use {{tl|R from template shortcut}} instead.''  Shortcuts are {{Wikipedia|wikilink}}ed on community pages, talk pages and edit summaries, but not in {{Wikipedia|wp:mainspace|mainspace}} articles.
** '''Note:'''  ''Template talk pages are in a {{Wikipedia|wp:talk namespace|talk namespace}}; they are '''''not''''' in the template namespace.  All shortcuts to talk pages should be tagged with {{tl|R from shortcut}}.''
** '''Note:'''  ''Template talk pages are in a {{Wikipedia|wp:talk namespace|talk namespace}}; they are '''''not''''' in the template namespace.  All shortcuts to talk pages should be tagged with {{tl|R from shortcut}}.''
   |all category=Redirects from shortcuts
   |all category=Redirects from shortcuts

Latest revision as of 05:36, 25 September 2022

When used with the "Redirect category shell" (Rcat shell) template:

Template {{Redirect category shell}} may be used to add one or more "Wikipedia logo"rcat templates, along with their parameters and categories, to a redirect. For more information see the documentation page below.


  • From a shortcut: This is a redirect from a shortcut in any namespace to a page in any namespace except template namespace.
    • If target page is a template, then use {{R from template shortcut}} instead. Shortcuts are "Wikipedia logo"wikilinked on community pages, talk pages and edit summaries, but not in "Wikipedia logo"mainspace articles.
    • Note: Template talk pages are in a "Wikipedia logo"talk namespace; they are not in the template namespace. All shortcuts to talk pages should be tagged with {{R from shortcut}}.
[Edit] [🔄Purge] Template-info.png Template documentation

exclamation mark

Note: This template is used on a lot of pages. In order not to put too much load on the servers, edits should be kept to a bare minimum.
Please discuss proposed changes on the talk page first.
Editing a template causes all pages that use the template to be re-rendered. If the Template is used often, this can put a lot of load on the servers since it fills up the job queue. [statistics]


Usage

Use this rcat template in any "Wikipedia logo"namespace.
  • Add this rcat to a redirect in the following manner:
#REDIRECT [[(target page name)]]

{{Rcat shell|
{{R from shortcut}}
}}
Template {{Rcat shell}} is an alias for the {{Redirect category shell}} template, which may be used to add to a redirect as many appropriate rcats as needed, usually from one to seven, along with their parameters. For more information see the documentation on its template page. This rcat may also tag a redirect individually:
#REDIRECT [[(target page name)]]

{{R from shortcut}}
This is in accord with instructions found at "Wikipedia logo"Wikipedia:REDCAT.
  • Use this rcat to tag any redirect that acts as a "Wikipedia logo"shortcut: an abbreviated link to an administrative page. See "Wikipedia logo"Wikipedia:Shortcut for more details.

The parameter |of = or |for = can be used to specify the referent of the shortcut (e.g. to explain an acronym, since we do not use {{R from abbreviation}} except in mainspace). For example, the shortcut "Wikipedia logo"WP:AEIS uses |for = "analysis, evaluation, interpretation, or synthesis".

TemplateData

This is the "Wikipedia logo"TemplateData for this template used by TemplateWizard, "Wikipedia logo"VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for R from shortcut

{
	"params": {
		"of": {
			"aliases": [
				"for"
			],
			"label": "Referent",
			"description": "The referent of the shortcut.",
			"example": "\"analysis, evaluation, interpretation, or synthesis\" for [[WP:AEIS]]",
			"type": "string"
		}
	},
	"description": "Places this redirect in the category [[Category:Redirects from shortcuts]]. If the redirect is in mainspace, it also places it in [[Category:Unprintworthy redirects]]."
}

Aliases

See also