Difference between revisions of "Template:Emote Animation"
From Paragon Wiki Archive
m (oops! didn't realize there were two article name cases... making it more sophisticated to account for that) |
(edited using new partial templates) |
||
Line 1: | Line 1: | ||
− | <includeonly>{| class="wikitable" | + | <includeonly><!-- {| class="wikitable" |
|+ Some animations may be large and take a long time to load | |+ Some animations may be large and take a long time to load | ||
|- | |- | ||
Line 9: | Line 9: | ||
}} | }} | ||
|} | |} | ||
− | {{#ifeq: {{{nocat|}}}|true||[[Category:Emote Animations|{{#ifeq:{{#sub:{{PAGENAME}}|0|5}}|Emote|{{#sub:{{PAGENAME}}|5}}|{{#ifeq:{{#sub:{{PAGENAME}}|0|13}}|Costume Emote|{{#sub:{{PAGENAME}}|13}}|{{PAGENAME}}}}}}]]}}</includeonly><noinclude>{{Documentation}} | + | {{#ifeq: {{{nocat|}}}|true||[[Category:Emote Animations|{{#ifeq:{{#sub:{{PAGENAME}}|0|5}}|Emote|{{#sub:{{PAGENAME}}|5}}|{{#ifeq:{{#sub:{{PAGENAME}}|0|13}}|Costume Emote|{{#sub:{{PAGENAME}}|13}}|{{PAGENAME}}}}}}]]}} --> |
+ | {{Emotes Animation Header|title={{{title|{{{emote|{{PAGENAME}}}}}}}}}} | ||
+ | {{Emotes Animation|emote={{{emote|{{PAGENAME}}}}}|noGW={{{noGW|}}}}} | ||
+ | {{Emotes Animation Footer|nocat={{{nocat|}}}}}</includeonly><noinclude>{{Documentation}} | ||
[[Category:Standardized Text Templates]]</noinclude> | [[Category:Standardized Text Templates]]</noinclude> |
Revision as of 03:04, 21 November 2009
[edit] [ ] Documentation
Usage
Parameter | Use | Example | Default Value |
---|---|---|---|
title | Specify a title for the box | Emote HandsUp | The value of emote |
emote | Specify the emote to display | Emote Dice2 | {{PAGENAME}} |
noGW | Use Mantid instead of Ghost Widow | true | |
nocat | Disable adding the category to the page. (For example, the examples in this page) | true |
Creates a box for displaying an animated GIF of an emote. This template is intended for use on Emote {EMOTENAME} pages, and by default will attempt to display the Ghost_Widow_{EMOTENAME}.gif image. If the noGW parameter is specified, the Mantid_{EMOTENAME}.gif image will be used instead.
The emote parameter can be used to specify an emote, rather than using the current page name for the emote. Note that since the default value for emote is {{PAGENAME}}, and this template is designed for use on the various Emote Animation pages, the value for emote should begin with "Emote", followed by the emote name. This ensures that the correct image is pulled.
See also