Jump to content

Template:EmoteFilename: Difference between revisions

From Joepedia
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>File:Jph{{#sub:{{trim|{{{1}}}}}|3}}.{{#ifexist:File:Jph{{#sub:{{trim|{{{1}}}}}|3}}.png|png|gif}}</includeonly><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.",

Revision as of 22:21, 25 January 2025

Example:

{{EmoteFilename|jphBlind}}

File:JphBlind.png

Gets the filename for an emote from the emote's name.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Emote Name1

The name of the emote to get the filename for.

Stringrequired