Template:R from emoji/doc

From Wikipedia, the free encyclopedia

Template:R from emoji is used to categorize emoji redirects and populates Category:Redirects from emoji when used.

Usage[edit]

This template can be used in combination with {{Redirect category shell}} or without. This is in accord with instructions found at Wikipedia:REDCAT.

When using Template:Redirect category shell[edit]

{{Redirect category shell}} may be used to add as many appropriate redirect categories as needed to a redirect. Add this redirect category to a redirect in the following manner:

#REDIRECT [[(target page name)]]

{{Redirect category shell|
{{R from emoji}}
}}

When used individually[edit]

#REDIRECT [[(target page name)]]

{{R from emoji}}

Optional parameters[edit]

Emoji name[edit]

The name of the emoji should be added using the |1= parameter. This helps identify the emoji and also sort it by its name.

The |name= comes from the CLDR and can be found in places such as: https://www.unicode.org/cldr/charts/44/annotations/americas.html

Flags[edit]

If the emoji is a flag, |flag= should be set.

Examples[edit]

#REDIRECT [[(target page name)]]

{{Redirect category shell|
{{R from emoji|Flag: Wales|flag=yes}}
}}
#REDIRECT [[(target page name)]]

{{Redirect category shell|
{{R from emoji|Person: Light Skin Tone}}
{{R avoided double redirect|🧑}}
}}

TemplateData[edit]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:R from emoji in articles based on its TemplateData.

TemplateData for R from emoji

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Name1

The official CLDR emoji name.

Example
red exclamation mark
Linesuggested
Flagflag

Set to "yes" if the emoji is that of a flag.

Lineoptional

See also[edit]