Template:R from emoji/doc: Difference between revisions
Jump to navigation
Jump to search
Richardpruen (talk | contribs) m 1 revision imported |
imported>DePiep No edit summary |
||
| 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: [[Wikipedia:Wikidata]]) --> | ||
{{ombox|type=content|text=This is a redirect from an [[emoji]] (whether or not it is in the [[Template: | {{ombox|type=content|text=This is a redirect from an [[emoji]] (whether or not it is in the [[Template:Unicode chart single emojis|Unicode chart emojis]]).}} | ||
{{Substitution|not|nor used to tag [[Wikipedia:Soft redirects|soft redirects]]}} | {{Substitution|not|nor used to tag [[Wikipedia:Soft redirects|soft redirects]]}} | ||
| Line 9: | Line 9: | ||
== Usage == | == Usage == | ||
This template can be used in combination with {{tl|Redirect category shell}} or without. This is in accord with instructions found at [[Wikipedia:REDCAT]]. | This template can be used in combination with {{tl|Redirect category shell}} or without. This is in accord with instructions found at [[Wikipedia:REDCAT]]. | ||
* Use this template on any redirect from a title that is an emoji, whether or not it is included in the [[Template: | * Use this template on any redirect from a title that is an emoji, whether or not it is included in the [[Template:Unicode chart single emojis|Unicode chart single emoji]] (i.e. [[♥]] uses this template). | ||
* For emoji that are a single Unicode character, it should be paired with {{tl|R from Unicode character}}. | * For emoji that are a single Unicode character, it should be paired with {{tl|R from Unicode character}}. | ||
** This does {{em|not}} include emoji with skin-tone modifiers, or country flags, which consist of multiple characters. [[👩🏿🤝👨🏼]], for example, is rendered as one character in most web browsers, but is composed of seven (this can be seen in the [[Percent encoding|percent-encoded]] title of its article: [https://en.wikipedia.org/w/index.php?title=%F0%9F%91%A9%F0%9F%8F%BF%E2%80%8D%F0%9F%A4%9D%E2%80%8D%F0%9F%91%A8%F0%9F%8F%BC https://en.wikipedia.org/w/index.php?title=%F0%9F%91%A9%F0%9F%8F%BF%E2%80%8D%F0%9F%A4%9D%E2%80%8D%F0%9F%91%A8%F0%9F%8F%BC]). | ** This does {{em|not}} include emoji with skin-tone modifiers, or country flags, which consist of multiple characters. [[👩🏿🤝👨🏼]], for example, is rendered as one character in most web browsers, but is composed of seven (this can be seen in the [[Percent encoding|percent-encoded]] title of its article: [https://en.wikipedia.org/w/index.php?title=%F0%9F%91%A9%F0%9F%8F%BF%E2%80%8D%F0%9F%A4%9D%E2%80%8D%F0%9F%91%A8%F0%9F%8F%BC https://en.wikipedia.org/w/index.php?title=%F0%9F%91%A9%F0%9F%8F%BF%E2%80%8D%F0%9F%A4%9D%E2%80%8D%F0%9F%91%A8%F0%9F%8F%BC]). | ||
Latest revision as of 14:53, 19 May 2022
| This is a documentation subpage for Template:R from emoji. It may contain usage information, categories and other content that is not part of the original template page. |
| This is a redirect from an emoji (whether or not it is in the Unicode chart emojis). |
| This template should not be substituted nor used to tag soft redirects. |
Template:R from emoji is used to categorize emoji redirects and populates Category:Redirects from emoji when used.
Usage
This template can be used in combination with {{Redirect category shell}} or without. This is in accord with instructions found at Wikipedia:REDCAT.
- Use this template on any redirect from a title that is an emoji, whether or not it is included in the Unicode chart single emoji (i.e. ♥ uses this template).
- For emoji that are a single Unicode character, it should be paired with {{R from Unicode character}}.
- This does not include emoji with skin-tone modifiers, or country flags, which consist of multiple characters. 👩🏿🤝👨🏼, for example, is rendered as one character in most web browsers, but is composed of seven (this can be seen in the percent-encoded title of its article: https://en.wikipedia.org/w/index.php?title=%F0%9F%91%A9%F0%9F%8F%BF%E2%80%8D%F0%9F%A4%9D%E2%80%8D%F0%9F%91%A8%F0%9F%8F%BC).
- For emoji which are a subset of another emoji (such as skin tone variations), use {{R avoided double redirect}} with the value being the base emoji.
When using Template:Redirect category shell
{{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
#REDIRECT [[(target page name)]]
{{R from emoji}}
Optional parameters
Emoji name
The name of the emoji should be added using the |1= parameter. This helps identify the emoji and also sort it by its name.
- {{R from emoji|(name)}}
- {{R from emoji|1=(name)}}
Flags
If the emoji is a flag, |flag= should be set.
- {{R from emoji|(name)|flag=yes}}
- {{R from emoji|1=(name)|flag=yes}}
Examples
#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|🧑}}
}}