Jump to content

Template:Text-shadow/doc

From Wikipedia, the free encyclopedia

Purpose

[edit]

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>

Usage

[edit]

{{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