Template:Emotes Animation: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
(new format, merges header and footer, flexible file names)
(merge and redirect to Template:Emote Animation)
Tag: New redirect
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{{image1|}}}|
#REDIRECT [[Template:Emote Animation]]
<!-- new format -->
<div role="figure" aria-labelledby="emotes-animation-{{anchorencode:{{{label|{{PAGENAME}}}}}}}" style="text-align: center;">
 
<div id="emotes-animation-{{anchorencode:{{{label|{{PAGENAME}}}}}}}" style="font-weight: bold;">{{{label|{{PAGENAME}}}}}</div>
 
<ul style="margin: 0;">
 
<li style="display: inline-block; border: 1px #aaa solid; padding: 0.2em;">[[File:{{{image1}}}|alt={{{alt1|type 1}}}]]</li>
{{#if:{{{image2|}}}|
<li style="display: inline-block; border: 1px #aaa solid; padding: 0.2em;">[[File:{{{image2}}}|alt={{{alt2|type 2}}}]]</li>
}}
{{#if:{{{image3|}}}|
<li style="display: inline-block; border: 1px #aaa solid; padding: 0.2em;">[[File:{{{image3}}}|alt={{{alt3|type 3}}}]]</li>
}}
{{#if:{{{image4|}}}|
<li style="display: inline-block; border: 1px #aaa solid; padding: 0.2em;">[[File:{{{image4}}}|alt={{{alt4|type 4}}}]]</li>
}}
{{#if:{{{image5|}}}|
<li style="display: inline-block; border: 1px #aaa solid; padding: 0.2em;">[[File:{{{image5}}}|alt={{{alt5|type 5}}}]]</li>
}}
 
</ul>
 
<div role="note" style="font-size: smaller;">Animations may take time to load</div>
 
</div>
|
<!-- old format -->
<includeonly><li style="display: inline-block; border: 1px #aaa solid; padding: 0.2em;">{{#if: {{{noGW|}}}
|[[File:Mantid {{{emote|{{PAGENAME}}}}}.gif]]
|[[File:Ghost Widow {{{emote|{{PAGENAME}}}}}.gif]]
}}</li></includeonly>
}}<noinclude>{{Documentation}}
[[Category:Emotes Templates]]</noinclude>

Latest revision as of 21:25, 7 May 2022