Template:EmoteFilename: Difference between revisions
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>File:Jph{{#sub:{{trim|{{{1}}}}}|3}}.{{#ifexist:File:Jph{{#sub:{{trim|{{{1}}}}}|3}}. | <includeonly>File:Jph{{#sub:{{trim|{{{1}}}}}|3}}.{{#ifexist:File:Jph{{#sub:{{trim|{{{1}}}}}|3}}.png|png|gif}}</includeonly><noinclude> | ||
Example: | |||
<pre>{{EmoteFilename|jphBlind}}</pre> | |||
{{EmoteFilename|jphBlind}} | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
"label": "Emote Name", | "label": "Emote Name", | ||
"description": "The name of the emote to get the filename for.", | "description": "The name of the emote to get the filename for.", | ||
Line 14: | Line 14: | ||
} | } | ||
}, | }, | ||
"description": "Gets the filename for an emote from the emote's name.", | "description": "Gets the default filename for an emote from the emote's name.", | ||
"format": "inline" | "format": "inline" | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |