Jump to content

Template:R from EC number: Difference between revisions

From Elite Dangerous Wiki
Content deleted Content added
drop EC in cat, not just E
 
m Localise imported template guidance and policy links; preserve index layout and licence information
 
Line 4: Line 4:
|name=From an EC number
|name=From an EC number
|from=an [[Enzyme Commission number]]
|from=an [[Enzyme Commission number]]
|to=its subject's article in [[WP:Mainspace|mainspace]]
|to=its subject's article in [[Project:Manual of Style|mainspace]]
|main category=Redirects from EC numbers
|main category=Redirects from EC numbers
|printworthy=no
|printworthy=no
}}<includeonly>{{Main other|{{{category|[[Category:Redirects from EC numbers|{{{1|{{replace|{{PAGENAME}}|EC|}}}}}]]}}}|{{Incorrect redirect template|[[wp:mainspace|main]]}}}}</includeonly><noinclude>
}}<includeonly>{{Main other|{{{category|[[Category:Redirects from EC numbers|{{{1|{{replace|{{PAGENAME}}|EC|}}}}}]]}}}|{{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 09:53, 31 October 2026

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


When used by itself:

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit "Template:R from EC number/doc" to edit its documentation if it is available. (How does this work?)

Usage

#REDIRECT [[(target article title)]]

{{Rcat shell|
{{R from EC number}}
}}
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 EC number}}
This is in accord with instructions found at WP:REDCAT.
  • Use this rcat to tag all mainspace redirects from EC numbers that target their related articles. Redirects should be in the form "EC x.x.x.x" where "x" in a single- or double-digit integer and will be automatically sorted in the category by the number (x.x.x.x) without the "EC" prefix. An example is:

Aliases

Technical note

This template has an unnamed parameter, |1=, that is used to correctly sort a few redirects from EC numbers that were formatted incorrectly when created. Normally, this parameter does not need to be used since correctly formatted redirects (EC x.x.x.x) are automatically sorted by this rcat template.

See also

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