Difference between revisions of "Template:Rainbow"

From Dwaia Wiki
Jump to navigation Jump to search
 
Line 2: Line 2:
 
Example usage:
 
Example usage:
 
<pre>
 
<pre>
I really like it when I {{Rainbow| {{Color|#f33|<b>beat my dick</b>}} | duration=0.5}}.
+
I really like it when I {{Rainbow| {{Color|#ff0|<b>beat my dick</b>}} | duration=0.5}}.
 
</pre>
 
</pre>
 
becomes:
 
becomes:
  
I really like it when I {{Rainbow| {{Color|#f33|<b>beat my dick</b>}} | duration=0.5}}.
+
I really like it when I {{Rainbow| {{Color|#ff0|<b>beat my dick</b>}} | duration=0.5}}.
  
 
The Rainbow modifier works on pretty much anything really. However, you may need to copy the code and insert the animation directly into the element's style, as templates can't have certain kinds of HTML inside them, and the wrapping can also mess up formatting:
 
The Rainbow modifier works on pretty much anything really. However, you may need to copy the code and insert the animation directly into the element's style, as templates can't have certain kinds of HTML inside them, and the wrapping can also mess up formatting:

Latest revision as of 22:09, 4 October 2019

Example usage:

I really like it when I {{Rainbow| {{Color|#ff0|<b>beat my dick</b>}} | duration=0.5}}.

becomes:

I really like it when I beat my dick .

The Rainbow modifier works on pretty much anything really. However, you may need to copy the code and insert the animation directly into the element's style, as templates can't have certain kinds of HTML inside them, and the wrapping can also mess up formatting:

<table style="margin-left:auto;animation: rainbow 3s infinite linear;"><tr><td>[[File:Ead.png|thumb|link=https://www.youtube.com/watch?v=dJ2_wc0kbK4]]</td></tr></table>


Ead.png