Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Icon: Difference between revisions

Template page
m Fixed some minor things.
Line 1,209: Line 1,209:
{|
{|
| valign="top" |
| valign="top" |
{| class="wikitable" style="font-size:90%;"
{| class="wikitable" style="font-size:90%"
! style="background:#222222;" | Tag
! style="background:#222222;" | Tag
! style="background:#222222;" | Syntax
! style="background:#222222;" | Syntax
Line 1,404: Line 1,404:
| valign="top" |
| valign="top" |
In order to make icons flashing, include this to your page:<br>
In order to make icons flashing, include this to your page:<br>
{{code|<pre>{{#css:
<small>{{code|<nowiki>{{#css:
 
@keyframes flashy { 50% { opacity: 0; } }
@keyframes flashy { 50% { opacity: 0; } }
@-webkit-keyframes flashy { 50% { opacity: 0; } }
@-webkit-keyframes flashy { 50% { opacity: 0; } }
@-moz-keyframes flashy { 50% { opacity: 0; } }
@-moz-keyframes flashy { 50% { opacity: 0; } }
@-o-keyframes flashy { 50% { opacity: 0; } }
@-o-keyframes flashy { 50% { opacity: 0; } }
.flashy img {
.flashy img {
     animation-name: flashy;
     animation-name: flashy;
Line 1,417: Line 1,415:
     animation-iteration-count: infinite;
     animation-iteration-count: infinite;
     animation-direction: alternate;
     animation-direction: alternate;
     -webkit-animation-name: flashy;
     -webkit-animation-name: flashy;
     -webkit-animation-duration: .5s;
     -webkit-animation-duration: .5s;
Line 1,423: Line 1,420:
     -webkit-animation-iteration-count: infinite;
     -webkit-animation-iteration-count: infinite;
     -webkit-animation-direction: alternate;
     -webkit-animation-direction: alternate;
     -moz-animation-name: flashy;
     -moz-animation-name: flashy;
     -moz-animation-duration: .5s;
     -moz-animation-duration: .5s;
Line 1,429: Line 1,425:
     -moz-animation-iteration-count: infinite;
     -moz-animation-iteration-count: infinite;
     -moz-animation-direction: alternate;
     -moz-animation-direction: alternate;
     -o-animation-name: flashy;
     -o-animation-name: flashy;
     -o-animation-duration: .5s;
     -o-animation-duration: .5s;
Line 1,435: Line 1,430:
     -o-animation-iteration-count: infinite;
     -o-animation-iteration-count: infinite;
     -o-animation-direction: alternate;
     -o-animation-direction: alternate;
}
} }}</nowiki>}}</small>
}}</pre>}}
And then use {{co|violet|<nowiki><span class="flashy"&gt;{{icon|war target|9}}</span&gt;</nowiki>}} to make it blink, like <span class="flashy">{{icon|tag war|9}}</span> here does.
And then use {{co|violet|<nowiki><span class="flashy"&gt;{{icon|war target|9}}</span&gt;</nowiki>}} to make it blink, like <span class="flashy">{{icon|tag war|9}}</span> here does.
|}
|}