Template:Emoji/doc

    From TestWiki
    TemplateStyles' src attribute must not be empty.

    Usage[edit source]

    This template is for using emoji on discussion and user pages. Don’t use it on encyclopedic articles!

    Parameter Default Explanation
    default or hex Template:N/a Unicode number for the emoji (without U nor +). You can find it on:

    For instance, 263A is a smiling face, so {{emoji|263A}} or {{emoji|hex=263A}} becomes ☺.

    name Template:N/a Human-readable name or emocode for the emoji. See Module:Emoji/data for all accepted emocodes.

    For instance, {{emoji|name=grin}} becomes 😁.

    size 16 Size for the emoji in pixels.
    theme one Visual theme for the emoji, chosen among:

    It is worth noting that some emoji sets may support some emoji sequences separated with a hyphen, e.g. {{Emoji|1F1FB-1F1E6}} → 🇻-1F1E6;.

    Examples[edit source]

    Code Rendered as
    {{emoji|263A}} ☺
    {{emoji|263A|theme=twitter}} ☺
    {{emoji|263A|size=24}} ☺
    {{emoji|263A|theme=noto|size=36}} ☺
    {{emoji|263A|theme=fx|size=48}} ☺
    {{emoji|263A|theme=none}}
    {{emoji|263A|theme=none|size=36}}

    Gallery[edit source]

    See {{Emoji/Gallery}}. Template:Emoji/Gallery

    Template data[edit source]

    This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

    TemplateData for Emoji

    Insert an emoji.

    Template parameters

    ParameterDescriptionTypeStatus
    Unicode1

    Unicode for the emoji

    Default
    Unknownrequired
    Themetheme

    Style for the emoji

    Default
    one
    Stringoptional
    Sizesize

    Size for the emoji

    Default
    16
    Numberoptional