To add a shadow behind the text. The effect produced by this template can also be produced with the following HTML code:

<span class="unicode" style="color:(COLOR);text-shadow:(HORIZONTAL DISTANCE)em (VERTICAL DISTANCE)em (SHADOW SIZE)em (SHADOW COLOR)">(TEXT)</span>

{{Text-shadow|Text|Text-Color(optional)|Shadow-Color(optional)|Horizontal-Distance(optional)|Vertical-Distance(optional)|Size(optional)}}

Default values are as shown:

Text-Color          : black
Shadow-Color        : #777777
Horizontal-Distance : 0.1
Vertical-Distance   : 0.1
Size                : 0.1

Example:

{{Text-shadow|Ahmedabad|Indigo|LightSlateGray}}
{{Text-shadow|Jonathan|Blue|Brown|0.5|0.1|0.1}}
{{Text-shadow|Joseph|LightSlateGray|Brown|0.1|0.1|0.0}}
{{Text-shadow|Jotaro|#000000|#000000|-0.3|-0.3|0.1}}
{{Text-shadow|Josuke|Yellow|#000000|3|0.0|0.1}}
{{Text-shadow|Giorno|Yellow|Purple|-0.0|-0.0|0.6}}
{{Text-shadow|Jolyne|chartreuse|aliceblue|-0.0|-0.0|0.2}}

gives this:

Ahmedabad
Jonathan
Joseph
Jotaro
Josuke
Giorno
Jolyne


"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Text-shadow/doc&oldid=709420" වෙතින් සම්ප්‍රවේශනය කෙරිණි