Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Template talk:MantidGW Animation Pair

From Paragon Wiki Archive
Jump to: navigation, search

Out of some random curiosity, does this really have to be a zillion inter-connected templates, and not one single template that does the work of the whole thing? Wouldn't that be...easier? Only have to tweak one item if you want to make changes across the whole template. Use #if or #switch to implement differences if there needs to be, which frankly, I don't see the need for. And I don't see the need to EVER not include the category.

{| class="wikitable"
|+ Some animations may be large and take a long time to load
|-
! colspan=2 | {{PAGENAME}}
|-
| style="text-align:center"|[[Image:Mantid {{PAGENAME}}.gif]]
| style="text-align:center"|[[Image:Ghost Widow {{PAGENAME}}.gif]]
|}
<includeonly>[[Category:Emote Animations]]</includeonly><noinclude>[[Category:Standardized Text Templates]]</noinclude>

The results would be: (where it says "MantidGW Animation Pair", it would, of course, insert the title of the page (e.g. Emote Alakazam)

Some animations may be large and take a long time to load
MantidGW Animation Pair
[[Image:Mantid {{PAGENAME}}.gif]] [[Image:Ghost Widow {{PAGENAME}}.gif]]

Or a filled in example:

Some animations may be large and take a long time to load
Emote Alakazam
Mantid Emote Alakazam.gif Ghost Widow Emote Alakazam.gif

-- Agge (talk) 05:15, 13 June 2009 (UTC)

Shouldn't there just be one person being animated to cut down on room? Just pick Ghost Widow. Sera404 12:28, 13 June 2009 (UTC)
I was just transferring all of Mantid's animations, since he told me he may be taking his host down soon.
As far as interconnected templates go, I was trying to make it modular so that any number of animations could be placed on the page, with this template being used as shorthand for Mantid + Ghost Widow, as most of the emotes have both (there are a handful of emotes that don't have a GW animation, for example, Emote Dice7) --Fleeting Whisper 02:58, 14 June 2009 (UTC)

OK, so we utilize the {{Emote Animation}} template and put it all into one with an #if statement, to include GW or not.

{| class="wikitable"
|+ Some animations may be large and take a long time to load
|-
! colspan=2 {{!}} {{PAGENAME}}
|-
{{#if: {{{noGW|}}}
|{{!}} colspan=2 {{!}} style="text-align:center"{{!}}[[Image:Mantid {{PAGENAME}}.gif]]
|{{!}} style="text-align:center"{{!}}[[Image:Mantid {{PAGENAME}}.gif]]
{{!}} style="text-align:center"{{!}}[[Image:Ghost Widow {{PAGENAME}}.gif]]
}}
|}
<includeonly>[[Category:Emote Animations]]</includeonly><noinclude>[[Category:Standardized Text Templates]]</noinclude>

So the syntax would look like {{Emote Animation}} (to include GW, default) or {{Emote Animation|noGW}} (to not include GW).

Other than shape-shifted alternatives (Dwarf form changes/disallows some emotes), I don't see the need to even include the second image, let alone "any number of animations", but YMMV. -- Agge (talk) 06:21, 14 June 2009 (UTC)

And to Sera: These are meant for use on the "Emote <Emotename>" (ala Emote Alakazam) pages only (I assume), so cutting down on room isn't terribly necessary. -- Agge (talk) 06:43, 14 June 2009 (UTC)

Considering the Emotes page makes the distinction of emotes that have flying/nonflying version, creating flying version may be worth considering (of course, this would require someone to take up Mantid's mantle of creating the demorecords and turning them into GIFs) --Fleeting Whisper 00:57, 24 June 2009 (UTC)