Template:EmoteFilename: Difference between revisions

Created page with "File:Jph{{#sub:{{{1}}}|3}}.{{#ifexist:File:Jph{{#sub:{{{1}}}|3}}.gif|gif|png}}<noinclude> <templatedata> { "params": { "1": { "aliases": [ "emote", "name" ], "label": "Emote Name", "description": "The name of the emote to get the filename for.", "type": "string", "required": true } }, "description": "Gets the filename for an emote from the emote's name.", "format": "inline" } </templatedata> </noinclude>"
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
File:Jph{{#sub:{{{1}}}|3}}.{{#ifexist:File:Jph{{#sub:{{{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>