Template:EmoteFilename: Difference between revisions

No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
File:Jph{{#sub:{{trim|{{{1}}}}}|3}}.{{#ifexist:File:Jph{{#sub:{{trim|{{{1}}}}}|3}}.gif|gif|png}}<noinclude>
<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": {
"aliases": [
"emote",
"name"
],
"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>