Template:Glow: Difference between revisions

From Songs of Syx Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<span style="color: {{{2}}}; text-shadow:13px 13px 10px #0000, 1px 1px 10px {{{2}}};}">{{{1}}}</span><noinclude><br />This template adds a glow effect to text<br />
<span style="color: {{{2}}}; text-shadow:13px 13px 10px #0000, 1px 1px 6px {{{2}}};}">{{{1}}}</span><noinclude><br />This template adds a glow effect to text<br />
The format of this templates is as follows: <code><nowiki>{{glow|text|text color|glow color}}</nowiki></code>.<br />
The format of this templates is as follows: <code><nowiki>{{glow|text|text color|glow color}}</nowiki></code>.<br />
<span style="color: white; text-shadow:13px 13px 10px #0000, 1px 1px 6px #ffffff99;}">This an example of what text could look like.</span>
<span style="color: white; text-shadow:13px 13px 10px #0000, 1px 1px 6px #ffffff99;}">This an example of what text could look like.</span>
Line 5: Line 5:
Note that the opacity of the text color and glow color can also be modified.<br />
Note that the opacity of the text color and glow color can also be modified.<br />
The first two numbers in a color code, with the next two and last two resemble red, green and blue respectivelty.<br />
The first two numbers in a color code, with the next two and last two resemble red, green and blue respectivelty.<br />
However, adding a seventh and eighth number can control opacity, with 00 being lowest and FF being highest.
However, adding a seventh and eighth number can control opacity, with 00 being lowest and FF being highest.<br />
 
The following example: <code><nowiki>{{glow|Some more text.|white|#ffffff</nowiki><span style="color:#ff6666";">55</span><nowiki>}}</nowiki></code> will create...<br />
{{glow|Some more text.|white|#000}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 15:05, 1 June 2021

{{{1}}}
This template adds a glow effect to text
The format of this templates is as follows: {{glow|text|text color|glow color}}.
This an example of what text could look like.

Note that the opacity of the text color and glow color can also be modified.
The first two numbers in a color code, with the next two and last two resemble red, green and blue respectivelty.
However, adding a seventh and eighth number can control opacity, with 00 being lowest and FF being highest.

The following example: {{glow|Some more text.|white|#ffffff55}} will create...
Some more text.