Template:CanonicaliseEmoteName: Difference between revisions
Appearance
Created page with "<includeonly>{{#switch: {{#sub:{{trim|{{{1}}}}}|0|3}} | Jph = jph{{#sub:{{trim|{{{1}}}}}|3}} | {{{1}}} }}</includeonly><noinclude> == Example == E.g: <pre><nowiki>{{CanonicaliseEmoteName|jphJoms}}</nowiki></pre> {{CanonicaliseEmoteName|jphJoms}} <pre><nowiki>{{CanonicaliseEmoteName|JphJoms}}</nowiki></pre> {{CanonicaliseEmoteName|JphJoms}} <pre><nowiki>{{CanonicaliseEmoteName|AYAYA}}</nowiki></pre> {{CanonicaliseEmoteName|AYAYA}} <templatedata> { "params": { "1..." |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{#sub:{{trim|{{{1}}}}}|0|3}} | <includeonly>{{#switch: {{lc:{{#sub:{{trim|{{{1}}}}}|0|3}}}} | ||
| | | jph = jph{{#sub:{{trim|{{{1}}}}}|3}} | ||
| {{{1}}} | | {{trim|{{{1}}}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
== Example == | == Example == | ||
Line 10: | Line 10: | ||
<pre><nowiki>{{CanonicaliseEmoteName|JphJoms}}</nowiki></pre> | <pre><nowiki>{{CanonicaliseEmoteName|JphJoms}}</nowiki></pre> | ||
{{CanonicaliseEmoteName|JphJoms}} | {{CanonicaliseEmoteName|JphJoms}} | ||
<pre><nowiki>{{CanonicaliseEmoteName|JPHJoms}}</nowiki></pre> | |||
{{CanonicaliseEmoteName|JPHJoms}} | |||
<pre><nowiki>{{CanonicaliseEmoteName|AYAYA}}</nowiki></pre> | <pre><nowiki>{{CanonicaliseEmoteName|AYAYA}}</nowiki></pre> |
Latest revision as of 00:40, 26 January 2025
Example
E.g:
{{CanonicaliseEmoteName|jphJoms}}
jphJoms
{{CanonicaliseEmoteName|JphJoms}}
jphJoms
{{CanonicaliseEmoteName|JPHJoms}}
jphJoms
{{CanonicaliseEmoteName|AYAYA}}
AYAYA
Gets the canonical emote name (JphEmote -> jphEmote).
Parameter | Description | Type | Status | |
---|---|---|---|---|
Emote | 1 | The name of the emote. | String | required |