Template:Emotes Animation: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
m (change parameters for new format)
(merge and redirect to Template:Emote Animation)
Tag: New redirect
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{{image 1|}}}|
#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:{{{image 1}}}|alt={{{alt 1|variant 1}}}]]</li>
{{#if:{{{image 2|}}}|
<li style="display: inline-block; border: 1px #aaa solid; padding: 0.2em;">[[File:{{{image 2}}}|alt={{{alt 2|variant 2}}}]]</li>
}}
{{#if:{{{image 3|}}}|
<li style="display: inline-block; border: 1px #aaa solid; padding: 0.2em;">[[File:{{{image 3}}}|alt={{{alt 3|variant 3}}}]]</li>
}}
{{#if:{{{image 4|}}}|
<li style="display: inline-block; border: 1px #aaa solid; padding: 0.2em;">[[File:{{{image 4}}}|alt={{{alt 4|variant 4}}}]]</li>
}}
{{#if:{{{image 5|}}}|
<li style="display: inline-block; border: 1px #aaa solid; padding: 0.2em;">[[File:{{{image 5}}}|alt={{{alt 5|variant 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