Template:Stroke View history

m (add missing color barces)
m (usa:Template:Stroke سے 10 نسخے درآمد کیے گئے: Importing Road Templates from USA)
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>text-shadow:  
<includeonly>{{#if:{{{span|}}}{{{1|}}}|<span style="}}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}}}}}},
  -1px -1px 0 #000, 
-{{{l|{{{distance|1}}}}}}px {{{tl|{{{distance|0}}}}}}px 0 {{{lcolor|{{{color|#000}}}}}},
    1px -1px 0 #000,
{{{r|{{{distance|1}}}}}}px {{{r|{{{distance|0}}}}}}px 0 {{{rcolor|{{{color|#000}}}}}},
    -1px 1px 0 #000,
{{{t|{{{distance|0}}}}}}px -{{{t|{{{distance|1}}}}}}px 0 {{{tcolor|{{{color|#000}}}}}},
    1px 1px 0 #000;}}
{{{b|{{{distance|0}}}}}}px {{{b|{{{distance|1}}}}}}px 0 {{{bcolor|{{{color|#000}}}}}}; {{{style|}}} {{#if:{{{span|}}}{{{1|}}}|">{{{span|}}}{{{1|}}}</span>}}</includeonly><noinclude>{{doc}}</noinclude>
<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 change individual distances and colors with:
*{{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>

Latest revision as of 12:15, 30 April 2020

Documentation icon Template documentation[create]
Please add categories to the /doc subpage.
Subpages of this template.