• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Difference between revisions of "Template:TextGlow"

From Kancolle Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#vardefine:glow-color|{{{glow-color| {{{glow-colour| {{{glow| {{{color| {{{colour| {{{colour| {{{2|red}}} }}} }}} }}} }}} }}} }}} }}{{#vardefine:glow-size|{{{gl...")
 
m
 
Line 1: Line 1:
 
<includeonly>{{#vardefine:glow-color|{{{glow-color| {{{glow-colour| {{{glow| {{{color| {{{colour| {{{colour| {{{2|red}}} }}} }}} }}} }}} }}} }}} }}{{#vardefine:glow-size|{{{glow-size| {{{size|5px}}} }}} }}<span style="
 
<includeonly>{{#vardefine:glow-color|{{{glow-color| {{{glow-colour| {{{glow| {{{color| {{{colour| {{{colour| {{{2|red}}} }}} }}} }}} }}} }}} }}} }}{{#vardefine:glow-size|{{{glow-size| {{{size|5px}}} }}} }}<span style="
 
   {{#if:{{{text-size| {{{font-size|}}} }}}|font-size:{{{text-size| {{{font-size|12px}}} }}} |}};
 
   {{#if:{{{text-size| {{{font-size|}}} }}}|font-size:{{{text-size| {{{font-size|12px}}} }}} |}};
   {{#if:{{{text-color| {{{text-colour|}}} }}}| color:{{{text-color| {{{text-colour|#f61}}} }}}|}};
+
   {{#if:{{{text-color| {{{text-colour|}}} }}}| color:{{{text-color| {{{text-colour|#f61}}} }}}|}};
   {{#ifeq:{{{font-weight|}}}|false||font-weight:{{{font-weight|800}}}}};
+
   {{#ifeq:{{{font-weight|}}}||| {{#ifeq:{{{font-weight|}}}|true|font-weight:800|font-weight:{{{font-weight|800}}} }} }};
 
   text-shadow:
 
   text-shadow:
 
     {{#var:glow-color}} 0px 0px {{#var:glow-size}},
 
     {{#var:glow-color}} 0px 0px {{#var:glow-size}},
Line 20: Line 20:
 
     {{#var:glow-color}} 0px 0px {{#var:glow-size}}
 
     {{#var:glow-color}} 0px 0px {{#var:glow-size}}
 
;">{{{text| {{{1|}}} }}}</span></includeonly><noinclude>
 
;">{{{text| {{{1|}}} }}}</span></includeonly><noinclude>
<pre>{{TextGlow|It makes text glow (using shadows)|glow-color=black|text-color=white}}</pre>
+
<pre>{{TextGlow|It makes text glow (using shadows)|glow-color=black|text-color=white|font-weight=true}}</pre>
{{TextGlow|It makes text glow (using shadows)|glow-color=black|text-color=white}}
+
{{TextGlow|It makes text glow (using shadows)|glow-color=black|text-color=white|font-weight=true}}
  
 
<pre>{{TextGlow|Taken & improved from [[Template:ItemStack]]|white|text-color=black}}</pre>
 
<pre>{{TextGlow|Taken & improved from [[Template:ItemStack]]|white|text-color=black}}</pre>
 
{{TextGlow|Taken & improved from [[Template:ItemStack]]|white|text-color=black}}
 
{{TextGlow|Taken & improved from [[Template:ItemStack]]|white|text-color=black}}
  
<pre>{{TextGlow|Options for more than just glow color|#FF0000|text-color=#FFFFFF|glow-size=15px|text-size=22px|font-weight=false}}</pre>
+
<pre>{{TextGlow|Options for more than just glow color|#FF0000|text-color=#FFFFFF|glow-size=15px|text-size=22px}}</pre>
{{TextGlow|Options for more than just glow color|#FF0000|text-color=#FFFFFF|glow-size=15px|text-size=22px|font-weight=false}}
+
{{TextGlow|Options for more than just glow color|#FF0000|text-color=#FFFFFF|glow-size=15px|text-size=22px}}
 
</noinclude>
 
</noinclude>

Latest revision as of 10:56, 17 May 2022

{{TextGlow|It makes text glow (using shadows)|glow-color=black|text-color=white|font-weight=true}}

It makes text glow (using shadows)

{{TextGlow|Taken & improved from [[Template:ItemStack]]|white|text-color=black}}

Taken & improved from Template:ItemStack

{{TextGlow|Options for more than just glow color|#FF0000|text-color=#FFFFFF|glow-size=15px|text-size=22px}}

Options for more than just glow color