User:Moweez/Template:Stroke View history

(Created page with "<includeonly>text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;</includeonly><noinclude>{{doc|content=This adds a css style pa...")
 
m (add options)
Line 1: Line 1:
<includeonly>text-shadow:  
<includeonly>text-shadow:  
  -{{{tl|{{{distance|1}}}}}}px -{{{tl|{{{distance|1}}}}}}px 0 {{{tlcolor|{{{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}}},
    {{{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;</includeonly><noinclude>{{doc|content=This adds a css style paramater to put a storke around text<br>{{pre2|text-shadow:  
     1px 1px 0 #000;}}
  -1px -1px 0 #000, 
You can specify the overall distance with {{para|distance}}, and color with {{para|color}}.
    1px -1px 0 #000,
 
    -1px 1px 0 #000,
You can change individual distances and colors with:
    1px 1px 0 #000;}}}}</noinclude>
*{{para|tl}} top left distance
*{{para|tlcolor}} top left color
*{{para|tr}} top right distance
*{{para|trcolor}} top right color
*{{para|bl}} bottom left distance
*{{para|blcolor}} bottom left color
*{{para|br}} bottom right distance
*{{para|brcolor}} bottom right color}}</noinclude>

Revision as of 17:43, 17 July 2015

Documentation
This adds a css style parameter to put a stroke around text
text-shadow: 
   -1px -1px 0 #000,  
    1px -1px 0 #000,
    -1px 1px 0 #000,
     1px 1px 0 #000;

You can specify the overall distance with |distance=, and color with |color=.

You can change individual distances and colors with:

  • |tl= top left distance
  • |tlcolor= top left color
  • |tr= top right distance
  • |trcolor= top right color
  • |bl= bottom left distance
  • |blcolor= bottom left color
  • |br= bottom right distance
  • |brcolor= bottom right color
Subpages of this page.