Jump to content

Template:EmotePage: Difference between revisions

From Joepedia
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{#cargo_declare:
<includeonly>{{EmoteInfobox
  _table = emotes
   |{{trim|{{{1}}}}}
  |name = String(unique;mandatory)
   |image={{{ image | {{EmoteFilename | {{trim|{{{1}}}}} }} }}}
  |twitch = String(allowed values=true,false,historic)
   |discord = String(allowed values=true,false,historic)
  |animated = Boolean
  |variants = Wikitext
  |artist = String
  |reference = Wikitext
}}</noinclude><includeonly><!-- Temporarily commented out due to bugs.
  {{#cargo_store:
  _table = emotes
  |name = {{{1}}}
  |twitch = {{{twitch|false}}}
   |discord = {{{discord|false}}}
  |animated = {{{animated|false}}}
  |variants = {{{variants|}}}
  |artist = {{{artist|}}}
  |reference = {{{reference|}}}
}}-->{{EmoteInfobox
  |{{{1}}}
   |animated={{{animated|}}}
   |animated={{{animated|}}}
   |artist={{{artist|}}}
   |artist={{{artist|}}}
Line 27: Line 9:
   |variants={{{variants|}}}
   |variants={{{variants|}}}
}}<!---
}}<!---
-->{{DEFAULTSORT:{{#sub:{{{1}}}|3}}}}<!---
-->{{DEFAULTSORT:{{#sub:{{trim|{{{1}}}}}|3}}}}<!---
-->[[Category: Emotes]]<!---
-->[[Category: Emotes]]<!---
-->{{#if: {{{discord|}}} | [[Category: Discord Emotes]]}}<!---
-->{{#if: {{{discord|}}} | [[Category: Discord Emotes]]}}<!---
-->{{#if: {{{twitch|}}} | [[Category: Twitch Emotes]]}}<!---
-->{{#if: {{{twitch|}}} | [[Category: Twitch Emotes]]}}<!---
-->[[Category: {{#if:{{{animated|}}}|Animated|Static}} Emotes]]<!---
-->[[Category: {{#if:{{{animated|}}}|Animated|Static}} Emotes]]<!---
-->[[{{EmoteFilename|{{{1}}}}}|25px|alt={{{1}}}]] “{{trim|{{{1}}}}}” is an {{#if:{{{animated|}}}|animated}} emote that can be found on:  
-->[[{{{ image | {{EmoteFilename | {{trim|{{{1}}}}} }} }}}|25px|alt={{trim|{{{1}}}}}]] “{{trim|{{{1}}}}}” is an {{#if:{{{animated|}}}|animated}} emote that can be found on:  
{{#switch: {{{twitch|}}}
{{#switch: {{{twitch|}}}
  |true = * Twitch
  |true = * Twitch
Line 96: Line 78:
"description": "A list of any variants of this emote that exist.",
"description": "A list of any variants of this emote that exist.",
"type": "content"
"type": "content"
},
"image": {
"label": "Image",
"description": "The image file for the emote. Defaults to looking for the name, but better to specify it explicitly.",
"type": "wiki-file-name",
"default": "{{{name}}}.png|.gif",
"required": true
}
}
},
},
Line 101: Line 90:
"paramOrder": [
"paramOrder": [
"1",
"1",
"image",
"animated",
"animated",
"artist",
"artist",

Latest revision as of 23:13, 25 January 2025

A template for a page describing an emote.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Name1

The name of the emote.

Stringrequired
Imageimage

The image file for the emote. Defaults to looking for the name, but better to specify it explicitly.

Default
{{{name}}}.png|.gif
Filerequired
Animatedanimated

If this is an animated emote.

Default
false
Booleanoptional
Artistartist

The name of the artist who created the emote.

Unknownrequired
Referencereference

A description of what the emote references or represents.

Contentsuggested
Available on Twitchtwitch

If the emote is currently available on Twitch.

Suggested values
true false historic
Stringoptional
Available on Discorddiscord

If the emote is currently available on Discord.

Suggested values
true false historic
Stringoptional
Variantsvariants

A list of any variants of this emote that exist.

Contentoptional