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 16px {{{3}}};}">{{{1}}}</span><noinclude><br />This template adds a glow effect to text<br />
<span style="color: {{{2}}}; text-shadow:13px 13px 10px #0000, 0px 0px 6px {{{3}}};}">{{{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 8: Line 8:


The following example: <code><nowiki>{{glow|Some more text.|white|#ffffff</nowiki><span style="color:#ff6666";">55</span><nowiki>}}</nowiki></code> will create...<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|#ffffff55}} <-- Notice how that text has a weaker glow.<br />
{{glow|Some more text.|white|#ffffff55}} <-- Notice how that text now has a weaker glow.<br />
{{glow|Another text, but yellow with a red glow.|yellow|red}}
{{glow|Another text, but yellow with a red glow.|yellow|red}}<br />
{{glow|One more example with standard red|white|#fffa}}<br />
{{glow|That was a lie, ''this'' is the final example with lime text with a blue glow.|lime|cyan}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 18:03, 5 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. <-- Notice how that text now has a weaker glow.
Another text, but yellow with a red glow.
One more example with standard red
That was a lie, this is the final example with lime text with a blue glow.