k (add options) |
k (add missing color barces) |
||
Baris 1: | Baris 1: | ||
<includeonly>text-shadow: | <includeonly>text-shadow: | ||
-{{{tl|{{{distance|1}}}}}}px -{{{tl|{{{distance|1}}}}}}px 0 {{{tlcolor|{{{color|#000}}}, | -{{{tl|{{{distance|1}}}}}}px -{{{tl|{{{distance|1}}}}}}px 0 {{{tlcolor|{{{color|#000}}}}}}, | ||
{{{tr|{{{distance|1}}}}}}px -{{{tr|{{{distance|1}}}}}}px 0 {{{trcolor|{{{color|#000}}}, | {{{tr|{{{distance|1}}}}}}px -{{{tr|{{{distance|1}}}}}}px 0 {{{trcolor|{{{color|#000}}}}}}, | ||
-{{{bl|{{{distance|1}}}}}}px {{{bl|{{{distance|1}}}}}}px 0 {{{blcolor|{{{color|#000}}}, | -{{{bl|{{{distance|1}}}}}}px {{{bl|{{{distance|1}}}}}}px 0 {{{blcolor|{{{color|#000}}}}}}, | ||
{{{br|{{{distance|1}}}}}}px {{{br|{{{distance|1}}}}}}px 0 {{{brcolor|{{{color|#000}}};</includeonly><noinclude>{{doc|content=This adds a css style parameter to put a stroke around text<br>{{pre2|text-shadow: | {{{br|{{{distance|1}}}}}}px {{{br|{{{distance|1}}}}}}px 0 {{{brcolor|{{{color|#000}}}}}};</includeonly><noinclude>{{doc|content=This adds a css style parameter to put a stroke around text<br>{{pre2|text-shadow: | ||
-1px -1px 0 #000, | -1px -1px 0 #000, | ||
1px -1px 0 #000, | 1px -1px 0 #000, | ||
-1px 1px 0 #000, | -1px 1px 0 #000, | ||
1px 1px 0 #000;}} | 1px 1px 0 #000;}} | ||
<span style="color: white; {{stroke}}">This is text with a stroke</span> | |||
You can specify the overall distance with {{para|distance}}, and color with {{para|color}}. | You can specify the overall distance with {{para|distance}}, and color with {{para|color}}. | ||