Template talk:MantidGW Animation Pair: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Aggelakis (historical)
No edit summary
imported>Aggelakis (historical)
No edit summary
Line 63: Line 63:


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. -- [[User:Aggelakis|Agge]] ([[User_talk:Aggelakis|talk]]) 06:21, 14 June 2009 (UTC)
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. -- [[User:Aggelakis|Agge]] ([[User_talk:Aggelakis|talk]]) 06:21, 14 June 2009 (UTC)
And to Sera: These are meant for use on the "Emote <Emotename>" pages only, so cutting down on room isn't terribly necessary. -- [[User:Aggelakis|Agge]] ([[User_talk:Aggelakis|talk]]) 06:43, 14 June 2009 (UTC)

Revision as of 06:43, 14 June 2009

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
File:Mantid MantidGW Animation Pair.gif File:Ghost Widow MantidGW Animation Pair.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>" pages only, so cutting down on room isn't terribly necessary. -- Agge (talk) 06:43, 14 June 2009 (UTC)