Template:Emoji raw/doc
Jump to navigation
Jump to search
| This is a documentation subpage for Template:Emoji raw. It may contain usage information, categories and other content that is not part of the original template page. |
| File:Symbol template class.svg | This is a customized wrapper for the {{Emoji}} template, which means it's built upon the other template's code. Parameters from {{Emoji}} will only work here if they have been added to this template. If you have questions, ask at the talk page! |
Wrapper template for Template:Emoji that by default sets |theme=none, which makes it output Unicode emoji characters directly rather than images.
Note: this also "inverts" Template:Emoji's way of treating an unnamed parameter if given. This wrapper maps |1= to the |name= argument instead of to |hex=. This lets you do like so: {{Emoji raw|grin}} without putting |name= (though passing |name= still works as well). To pass in a hexadecimal character value, use the |hex= named parameter.
Usage
[edit source]{{Emoji raw}} → 😃
{{Emoji raw|scream}} → 😱
{{Emoji raw|hex=1F431}} → 🐱
See also
[edit source]- Also known as... – list of templates that redirect here and may also be used
- Wikipedia:Emoticons