Jump to content

Template:R from year: Difference between revisions

From Elite Dangerous Wiki
Content deleted Content added
|main category=<!--for automatic namespace detection-->
 
m Localise imported template guidance and policy links; preserve index layout and licence information
 
Line 7: Line 7:
|printworthy=no
|printworthy=no
|main category=<!--for automatic namespace detection-->
|main category=<!--for automatic namespace detection-->
}}<includeonly>{{#ifeq:{{NAMESPACE}}||[[Category:Redirects from year format |{{padleft:{{PAGENAME}}|9}}]]|{{Incorrect redirect template|[[WP:Mainspace|Main]]}}}}</includeonly><noinclude>
}}<includeonly>{{#ifeq:{{NAMESPACE}}||[[Category:Redirects from year format |{{padleft:{{PAGENAME}}|9}}]]|{{Incorrect redirect template|[[Project:Manual of Style|Main]]}}}}</includeonly><noinclude>
<!-- Place categories on /doc subpage; interwikis go to Wikidata. -->
<!-- Place categories on /doc subpage; interwikis go to Wikidata. -->
{{Documentation}}
{{Documentation}}

Latest revision as of 10:04, 31 October 2026

When used inside the {{Redirect category shell}} template:


When used by itself:

  • From year: This is a redirect from a formatted year title to the related year article.
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit "Template:R from year/doc" to edit its documentation if it is available. (How does this work?)


Usage

  • Add this rcat to a redirect (not a talk-page redirect) in the following manner:
#REDIRECT [[(target article title)]]

{{Rcat shell|
{{R from year}}
{{R unprintworthy}}
}}
Template {{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:
#REDIRECT [[(target article title)]]

{{R from year}}
This is in accord with instructions found at Wikipedia:REDCAT.
  • Use this rcat to tag any mainspace redirect from a formatted year title, such as YYYY AD/CE/BCE or AD YYYY, to its associated article about the year's events.
  • Sort keys have been padded (by default) with leading zeros for correct sorting within the redirect category.
  • This redirect's category is a subcategory of Category:Redirects from unnecessary disambiguation, so its associated rcat, {{R from unnecessary disambiguation}}, should not be used with this rcat.

Aliases

See also

Lua error in Module:Navbox_with_collapsible_groups at line 6: attempt to call field 'with collapsible groups' (a nil value).