Jump to content

Template:EmotePage: Difference between revisions

From Joepedia
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
   {{EmoteCategory|{{{1}}}}}
   {{EmoteCategory|{{{1}}}}}
   {{#switch: {{{source}}}
   {{#if: {{{discord|}}} | {{EmoteCategory|{{{1}}}|Discord }} }}
    | twitch = {{EmoteCategory|{{{1}}}|Twitch }}
  {{#if: {{{twitch|}}} | {{EmoteCategory|{{{1}}}|Twitch }} }}
    | discord = {{EmoteCategory|{{{1}}}|Discord }}
  }}
   {{EmoteCategory|{{{1}}}|{{#if:{{{animated|}}}|Animated|Static}} }}
   {{EmoteCategory|{{{1}}}|{{#if:{{{animated|}}}|Animated|Static}} }}
</includeonly>[[File:{{{image|{{{1}}}.{{#if: {{{animated|}}} | gif | png }}}}}|right|thumb|250px|“{{{1}}}” {{Attribution|{{{artist}}}}}]]
</includeonly>[[File:{{{image|{{{1}}}.{{#if: {{{animated|}}} | gif | png }}}}}|right|thumb|250px|“{{{1}}}” {{Attribution|{{{artist}}}}}]]
Line 16: Line 14:
| image = [[File:{{{image|{{{1}}}.{{#if: {{{animated|}}} | gif | png }}}}}|frameless|“{{{1}}}”]]
| image = [[File:{{{image|{{{1}}}.{{#if: {{{animated|}}} | gif | png }}}}}|frameless|“{{{1}}}”]]
| label1 = Available On
| label1 = Available On
| data1 = {{#if: {{{discord|}}} Discord }}{{#if: {{{twitch|}}} Twitch }}
| data1 = {{#if: {{{discord|}}} | Discord }}{{#if: {{{twitch|}}} | Twitch }}
| label2 = Animated
| label2 = Animated
| data2 = {{#if: {{{animated|}}} Yes }}
| data2 = {{#if: {{{animated|}}} | Yes }}
| label3 = Based On
| label3 = Based On
| data3 = {{{reference|}}}
| data3 = {{{reference|}}}
Line 28: Line 26:
[[File:{{{image|{{{1}}}.{{#if: {{{animated|}}} | gif | png }}}}}|25px|alt={{{1}}}]] “{{{1}}}” is an {{#if:{{{animated|}}}|animated}} emote that {{#if:{{{active|}}}|can|used to}} be found on {{{source}}}.  
[[File:{{{image|{{{1}}}.{{#if: {{{animated|}}} | gif | png }}}}}|25px|alt={{{1}}}]] “{{{1}}}” is an {{#if:{{{animated|}}}|animated}} emote that {{#if:{{{active|}}}|can|used to}} be found on {{{source}}}.  


{{#if:{{{reference|}}}|It is a reference to [[{{{reference}}}]].}}
{{#if:{{{reference|}}}|It is a reference to {{{reference}}}.}}


It was drawn {{Attribution|{{{artist}}}}}.<noinclude>
It was drawn {{Attribution|{{{artist}}}}}.<noinclude>
Line 48: Line 46:
"description": "The image to use.",
"description": "The image to use.",
"type": "wiki-file-name"
"type": "wiki-file-name"
},
"source": {
"label": "Source",
"description": "Where the emote is (or was) available.",
"type": "string",
"suggestedvalues": [
"discord",
"twitch"
],
"suggested": true
},
},
"artist": {
"artist": {
Line 69: Line 57:
"type": "string",
"type": "string",
"suggested": true
"suggested": true
},
"active": {
"label": "Active",
"description": "If the emote is currently available for use.",
"type": "boolean"
},
},
"animated": {
"animated": {
"label": "Animated",
"label": "Animated",
"description": "If this is an animated emote.",
"description": "If this is an animated emote.",
"type": "boolean",
"default": "false"
},
"discord": {
"label": "Available on Discord",
"description": "If the emote is currently available on Discord.",
"type": "boolean",
"default": "false"
},
"twitch": {
"label": "Available on Twitch",
"description": "If the emote is currently available on Twitch.",
"type": "boolean",
"type": "boolean",
"default": "false"
"default": "false"
Line 88: Line 83:
"image",
"image",
"artist",
"artist",
"source",
"reference",
"reference",
"active"
"twitch",
"discord"
],
],
"format": "block"
"format": "block"

Revision as of 07:57, 21 January 2025

[[File:{{{1}}}.png|right|thumb|250px|“{{{1}}}” by [[{{{artist}}}|{{{artist}}}]]]]

EmotePage
[[File:{{{1}}}.png|frameless|“{{{1}}}”]]
Attribution
Artworkby [[|]]

[[File:{{{1}}}.png|25px|alt={{{1}}}]] “{{{1}}}” is an emote that used to be found on {{{source}}}.


It was drawn by [[{{{artist}}}|{{{artist}}}]].

A template for a page describing an emote.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Name1 name emote

The name of the emote.

Stringrequired
Animatedanimated

If this is an animated emote.

Default
false
Booleanoptional
Imageimage

The image to use.

Fileoptional
Artistartist

The name of the artist who created the emote.

Unknownrequired
Referencereference

A description of what the emote references or represents.

Stringsuggested
Available on Twitchtwitch

If the emote is currently available on Twitch.

Default
false
Booleanoptional
Available on Discorddiscord

If the emote is currently available on Discord.

Default
false
Booleanoptional