Template:Font color
Template:Documentation subpage Template:Warning Template:High-use
Contents
- 1 Purpose
- 2 Purpose
- 3 Usage
- 4 Examples
- 5 See also
- 6 Purpose
- 7 Usage
- 8 Examples
- 9 See also
- 10 Purpose
- 11 Usage
- 12 Examples
- 13 See also
- 14 Purpose
- 15 Usage
- 16 Examples
- 17 See also
- 18 Purpose
- 19 Usage
- 20 Examples
- 21 See also
- 22 Purpose
- 23 Usage
- 24 Examples
- 25 See also
- 26 Purpose
- 27 Usage
- 28 Examples
- 29 See also
- 30 Usage
- 31 Purpose
- 32 Usage
- 33 Examples
- 34 See also
- 35 Purpose
- 36 Usage
- 37 Examples
- 38 See also
- 39 Purpose
- 40 Usage
- 41 Examples
- 42 See also
- 43 Examples
- 44 Purpose
- 45 Usage
- 46 Examples
- 47 See also
- 48 Purpose
- 49 Usage
- 50 Examples
- 51 See also
- 52 Purpose
- 53 Usage
- 54 Examples
- 55 See also
- 56 Purpose
- 57 Usage
- 58 Examples
- 59 See also
- 60 Purpose
- 61 Usage
- 62 Examples
- 63 See also
- 64 Purpose
- 65 Usage
- 66 Examples
- 67 See also
- 68 Purpose
- 69 Usage
- 70 Examples
- 71 See also
- 72 Purpose
- 73 Usage
- 74 Examples
- 75 See also
- 76 Purpose
- 77 Usage
- 78 Examples
- 79 See also
- 80 Purpose
- 81 Usage
- 82 Examples
- 83 See also
- 84 Purpose
- 85 Usage
- 86 Examples
- 87 See also
- 88 Purpose
- 89 Usage
- 90 Examples
- 91 See also
- 92 Purpose
- 93 Usage
- 94 Examples
- 95 See also
- 96 See also
Purpose
Template:Tl is how you insert colorized text, such as Template:Documentation subpage Template:Warning Template:High-use
Purpose
Template:Tl is how you insert colorized text, such as Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color and Template loop detected: Template:Font color, and many others. You can specify its Template loop detected: Template:Font color color at the same time.
Template:Tl is also how you can color wikilinks to something other than blue for when you need to work within background colors. Normally [[ wikilink ]] → wikilink, but here we use a Template:Tl with Template:Para to create a black wikilink → Template loop detected: Template:Font color You can make any text link to any page using the Template:Para parameter.
This template will use Wikipedia:HTML5 recommendations, inserting the span tags Template:Tag and Template:Tag, so the page increases its readability and usability in both the wikitext and the rendered page.
Usage
Template:Tlf has a one-color and a two-color form:
- {{font color | color | text }}
- {{font color | text color | background color | text }}.
Either form has a |link= option, for colorizing (otherwise blue or red) wikilink text.
- |linkTemplate:=yes →
[[text]]
- |link=fullpagename →
[[fullpagename]]
You can also name the other fields.
- {{font color | fg=color | text=text }}
- {{font color | fg=text color | bg=background color | text=text }}
You can name |fg= or |bg=, which is nice, but... if you name either of them, you must also name |text=, which is a compromise. (See Help:Template#Parameters for why.)
Spacing is of no concern.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{ font color | tan | green | text with four words }}.
→.
Template loop detected: Template:Font color.
Parameters
- Or
Examples
Markup | Renders as |
---|---|
{{ font color | green | green text }}
|
Template loop detected: Template:Font color |
{{ font color | blue | do not style text as a link }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigyellow | default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigbg=yellow | text = default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font color | white | black | white with black background }}
|
Template loop detected: Template:Font color |
{{ font color | #ffffff | #000000 | white with black background }} ([[hexadecimal colors]])
|
Template loop detected: Template:Font color (hexadecimal colors) |
Markup | Renders as |
---|---|
{{ font color | white | blue | Wikipedia:Example | link = yes }}
|
Template loop detected: Template:Font color |
{{ font color | white | blue | Wikipedia:Example | link = Wikipedia:Sandbox }}
|
Template loop detected: Template:Font color |
{{ font color | text = Wikipedia:Example | link = Wikipedia:Sandbox | bg
= blue | fg = white }}
|
Template loop detected: Template:Font color |
The Template:Para parameter is a good way to colorize wikilinks, and it is about as much typing as the pipe trick.
Although a wikilink accepts a font color (or other template or markup):
Template:BigWikipedia:ExampleTemplate:Big{{font color|white|blue|the Wikipedia:Example page}}Template:Big
- → [[Wikipedia:Example | Template loop detected: Template:Font color]] (a font-colored link),
a font color does not accept a wikilink, it creates wikilinks itself with Template:Para.
- Template:OK {{ font color | green | violet | Wikipedia:Example | link=yes }} → Template loop detected: Template:Font color (a Template:Para Template:Tl)
- Template:Cross{{ font color | green | violet | the [[Wikipedia:Example]] page}} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
- Template:Cross{{ font color | green | violet | [[Wikipedia:Exammple]] }} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
For more examples see /testcases. For actual mainspace template usage, here are search links for
- Template:Sl.
- Template:Template usage.
- Template:Sl showing its use in articles whose title begins with the letter "F".
See also
- Important Manual of Style information
- Web colors
- HTML color names
- List of colors
- Help: Link color
- Template:Tl
- Template:Tl
- Template:Tl — colored table header cell
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
Template:Sandbox other , Template:Documentation subpage Template:Warning Template:High-use
Purpose
Template:Tl is how you insert colorized text, such as Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color and Template loop detected: Template:Font color, and many others. You can specify its Template loop detected: Template:Font color color at the same time.
Template:Tl is also how you can color wikilinks to something other than blue for when you need to work within background colors. Normally [[ wikilink ]] → wikilink, but here we use a Template:Tl with Template:Para to create a black wikilink → Template loop detected: Template:Font color You can make any text link to any page using the Template:Para parameter.
This template will use Wikipedia:HTML5 recommendations, inserting the span tags Template:Tag and Template:Tag, so the page increases its readability and usability in both the wikitext and the rendered page.
Usage
Template:Tlf has a one-color and a two-color form:
- {{font color | color | text }}
- {{font color | text color | background color | text }}.
Either form has a |link= option, for colorizing (otherwise blue or red) wikilink text.
- |linkTemplate:=yes →
[[text]]
- |link=fullpagename →
[[fullpagename]]
You can also name the other fields.
- {{font color | fg=color | text=text }}
- {{font color | fg=text color | bg=background color | text=text }}
You can name |fg= or |bg=, which is nice, but... if you name either of them, you must also name |text=, which is a compromise. (See Help:Template#Parameters for why.)
Spacing is of no concern.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{ font color | tan | green | text with four words }}.
→.
Template loop detected: Template:Font color.
Parameters
- Or
Examples
Markup | Renders as |
---|---|
{{ font color | green | green text }}
|
Template loop detected: Template:Font color |
{{ font color | blue | do not style text as a link }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigyellow | default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigbg=yellow | text = default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font color | white | black | white with black background }}
|
Template loop detected: Template:Font color |
{{ font color | #ffffff | #000000 | white with black background }} ([[hexadecimal colors]])
|
Template loop detected: Template:Font color (hexadecimal colors) |
Markup | Renders as |
---|---|
{{ font color | white | blue | Wikipedia:Example | link = yes }}
|
Template loop detected: Template:Font color |
{{ font color | white | blue | Wikipedia:Example | link = Wikipedia:Sandbox }}
|
Template loop detected: Template:Font color |
{{ font color | text = Wikipedia:Example | link = Wikipedia:Sandbox | bg
= blue | fg = white }}
|
Template loop detected: Template:Font color |
The Template:Para parameter is a good way to colorize wikilinks, and it is about as much typing as the pipe trick.
Although a wikilink accepts a font color (or other template or markup):
Template:BigWikipedia:ExampleTemplate:Big{{font color|white|blue|the Wikipedia:Example page}}Template:Big
- → [[Wikipedia:Example | Template loop detected: Template:Font color]] (a font-colored link),
a font color does not accept a wikilink, it creates wikilinks itself with Template:Para.
- Template:OK {{ font color | green | violet | Wikipedia:Example | link=yes }} → Template loop detected: Template:Font color (a Template:Para Template:Tl)
- Template:Cross{{ font color | green | violet | the [[Wikipedia:Example]] page}} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
- Template:Cross{{ font color | green | violet | [[Wikipedia:Exammple]] }} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
For more examples see /testcases. For actual mainspace template usage, here are search links for
- Template:Sl.
- Template:Template usage.
- Template:Sl showing its use in articles whose title begins with the letter "F".
See also
- Important Manual of Style information
- Web colors
- HTML color names
- List of colors
- Help: Link color
- Template:Tl
- Template:Tl
- Template:Tl — colored table header cell
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
Template:Sandbox other , Template:Documentation subpage Template:Warning Template:High-use
Purpose
Template:Tl is how you insert colorized text, such as Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color and Template loop detected: Template:Font color, and many others. You can specify its Template loop detected: Template:Font color color at the same time.
Template:Tl is also how you can color wikilinks to something other than blue for when you need to work within background colors. Normally [[ wikilink ]] → wikilink, but here we use a Template:Tl with Template:Para to create a black wikilink → Template loop detected: Template:Font color You can make any text link to any page using the Template:Para parameter.
This template will use Wikipedia:HTML5 recommendations, inserting the span tags Template:Tag and Template:Tag, so the page increases its readability and usability in both the wikitext and the rendered page.
Usage
Template:Tlf has a one-color and a two-color form:
- {{font color | color | text }}
- {{font color | text color | background color | text }}.
Either form has a |link= option, for colorizing (otherwise blue or red) wikilink text.
- |linkTemplate:=yes →
[[text]]
- |link=fullpagename →
[[fullpagename]]
You can also name the other fields.
- {{font color | fg=color | text=text }}
- {{font color | fg=text color | bg=background color | text=text }}
You can name |fg= or |bg=, which is nice, but... if you name either of them, you must also name |text=, which is a compromise. (See Help:Template#Parameters for why.)
Spacing is of no concern.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{ font color | tan | green | text with four words }}.
→.
Template loop detected: Template:Font color.
Parameters
- Or
Examples
Markup | Renders as |
---|---|
{{ font color | green | green text }}
|
Template loop detected: Template:Font color |
{{ font color | blue | do not style text as a link }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigyellow | default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigbg=yellow | text = default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font color | white | black | white with black background }}
|
Template loop detected: Template:Font color |
{{ font color | #ffffff | #000000 | white with black background }} ([[hexadecimal colors]])
|
Template loop detected: Template:Font color (hexadecimal colors) |
Markup | Renders as |
---|---|
{{ font color | white | blue | Wikipedia:Example | link = yes }}
|
Template loop detected: Template:Font color |
{{ font color | white | blue | Wikipedia:Example | link = Wikipedia:Sandbox }}
|
Template loop detected: Template:Font color |
{{ font color | text = Wikipedia:Example | link = Wikipedia:Sandbox | bg
= blue | fg = white }}
|
Template loop detected: Template:Font color |
The Template:Para parameter is a good way to colorize wikilinks, and it is about as much typing as the pipe trick.
Although a wikilink accepts a font color (or other template or markup):
Template:BigWikipedia:ExampleTemplate:Big{{font color|white|blue|the Wikipedia:Example page}}Template:Big
- → [[Wikipedia:Example | Template loop detected: Template:Font color]] (a font-colored link),
a font color does not accept a wikilink, it creates wikilinks itself with Template:Para.
- Template:OK {{ font color | green | violet | Wikipedia:Example | link=yes }} → Template loop detected: Template:Font color (a Template:Para Template:Tl)
- Template:Cross{{ font color | green | violet | the [[Wikipedia:Example]] page}} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
- Template:Cross{{ font color | green | violet | [[Wikipedia:Exammple]] }} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
For more examples see /testcases. For actual mainspace template usage, here are search links for
- Template:Sl.
- Template:Template usage.
- Template:Sl showing its use in articles whose title begins with the letter "F".
See also
- Important Manual of Style information
- Web colors
- HTML color names
- List of colors
- Help: Link color
- Template:Tl
- Template:Tl
- Template:Tl — colored table header cell
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
Template:Sandbox other , Template:Documentation subpage Template:Warning Template:High-use
Purpose
Template:Tl is how you insert colorized text, such as Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color and Template loop detected: Template:Font color, and many others. You can specify its Template loop detected: Template:Font color color at the same time.
Template:Tl is also how you can color wikilinks to something other than blue for when you need to work within background colors. Normally [[ wikilink ]] → wikilink, but here we use a Template:Tl with Template:Para to create a black wikilink → Template loop detected: Template:Font color You can make any text link to any page using the Template:Para parameter.
This template will use Wikipedia:HTML5 recommendations, inserting the span tags Template:Tag and Template:Tag, so the page increases its readability and usability in both the wikitext and the rendered page.
Usage
Template:Tlf has a one-color and a two-color form:
- {{font color | color | text }}
- {{font color | text color | background color | text }}.
Either form has a |link= option, for colorizing (otherwise blue or red) wikilink text.
- |linkTemplate:=yes →
[[text]]
- |link=fullpagename →
[[fullpagename]]
You can also name the other fields.
- {{font color | fg=color | text=text }}
- {{font color | fg=text color | bg=background color | text=text }}
You can name |fg= or |bg=, which is nice, but... if you name either of them, you must also name |text=, which is a compromise. (See Help:Template#Parameters for why.)
Spacing is of no concern.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{ font color | tan | green | text with four words }}.
→.
Template loop detected: Template:Font color.
Parameters
- Or
Examples
Markup | Renders as |
---|---|
{{ font color | green | green text }}
|
Template loop detected: Template:Font color |
{{ font color | blue | do not style text as a link }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigyellow | default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigbg=yellow | text = default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font color | white | black | white with black background }}
|
Template loop detected: Template:Font color |
{{ font color | #ffffff | #000000 | white with black background }} ([[hexadecimal colors]])
|
Template loop detected: Template:Font color (hexadecimal colors) |
Markup | Renders as |
---|---|
{{ font color | white | blue | Wikipedia:Example | link = yes }}
|
Template loop detected: Template:Font color |
{{ font color | white | blue | Wikipedia:Example | link = Wikipedia:Sandbox }}
|
Template loop detected: Template:Font color |
{{ font color | text = Wikipedia:Example | link = Wikipedia:Sandbox | bg
= blue | fg = white }}
|
Template loop detected: Template:Font color |
The Template:Para parameter is a good way to colorize wikilinks, and it is about as much typing as the pipe trick.
Although a wikilink accepts a font color (or other template or markup):
Template:BigWikipedia:ExampleTemplate:Big{{font color|white|blue|the Wikipedia:Example page}}Template:Big
- → [[Wikipedia:Example | Template loop detected: Template:Font color]] (a font-colored link),
a font color does not accept a wikilink, it creates wikilinks itself with Template:Para.
- Template:OK {{ font color | green | violet | Wikipedia:Example | link=yes }} → Template loop detected: Template:Font color (a Template:Para Template:Tl)
- Template:Cross{{ font color | green | violet | the [[Wikipedia:Example]] page}} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
- Template:Cross{{ font color | green | violet | [[Wikipedia:Exammple]] }} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
For more examples see /testcases. For actual mainspace template usage, here are search links for
- Template:Sl.
- Template:Template usage.
- Template:Sl showing its use in articles whose title begins with the letter "F".
See also
- Important Manual of Style information
- Web colors
- HTML color names
- List of colors
- Help: Link color
- Template:Tl
- Template:Tl
- Template:Tl — colored table header cell
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
and
Template:Documentation subpage Template:Warning Template:High-use
Purpose
Template:Tl is how you insert colorized text, such as Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color and Template loop detected: Template:Font color, and many others. You can specify its Template loop detected: Template:Font color color at the same time.
Template:Tl is also how you can color wikilinks to something other than blue for when you need to work within background colors. Normally [[ wikilink ]] → wikilink, but here we use a Template:Tl with Template:Para to create a black wikilink → Template loop detected: Template:Font color You can make any text link to any page using the Template:Para parameter.
This template will use Wikipedia:HTML5 recommendations, inserting the span tags Template:Tag and Template:Tag, so the page increases its readability and usability in both the wikitext and the rendered page.
Usage
Template:Tlf has a one-color and a two-color form:
- {{font color | color | text }}
- {{font color | text color | background color | text }}.
Either form has a |link= option, for colorizing (otherwise blue or red) wikilink text.
- |linkTemplate:=yes →
[[text]]
- |link=fullpagename →
[[fullpagename]]
You can also name the other fields.
- {{font color | fg=color | text=text }}
- {{font color | fg=text color | bg=background color | text=text }}
You can name |fg= or |bg=, which is nice, but... if you name either of them, you must also name |text=, which is a compromise. (See Help:Template#Parameters for why.)
Spacing is of no concern.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{ font color | tan | green | text with four words }}.
→.
Template loop detected: Template:Font color.
Parameters
- Or
Examples
Markup | Renders as |
---|---|
{{ font color | green | green text }}
|
Template loop detected: Template:Font color |
{{ font color | blue | do not style text as a link }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigyellow | default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigbg=yellow | text = default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font color | white | black | white with black background }}
|
Template loop detected: Template:Font color |
{{ font color | #ffffff | #000000 | white with black background }} ([[hexadecimal colors]])
|
Template loop detected: Template:Font color (hexadecimal colors) |
Markup | Renders as |
---|---|
{{ font color | white | blue | Wikipedia:Example | link = yes }}
|
Template loop detected: Template:Font color |
{{ font color | white | blue | Wikipedia:Example | link = Wikipedia:Sandbox }}
|
Template loop detected: Template:Font color |
{{ font color | text = Wikipedia:Example | link = Wikipedia:Sandbox | bg
= blue | fg = white }}
|
Template loop detected: Template:Font color |
The Template:Para parameter is a good way to colorize wikilinks, and it is about as much typing as the pipe trick.
Although a wikilink accepts a font color (or other template or markup):
Template:BigWikipedia:ExampleTemplate:Big{{font color|white|blue|the Wikipedia:Example page}}Template:Big
- → [[Wikipedia:Example | Template loop detected: Template:Font color]] (a font-colored link),
a font color does not accept a wikilink, it creates wikilinks itself with Template:Para.
- Template:OK {{ font color | green | violet | Wikipedia:Example | link=yes }} → Template loop detected: Template:Font color (a Template:Para Template:Tl)
- Template:Cross{{ font color | green | violet | the [[Wikipedia:Example]] page}} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
- Template:Cross{{ font color | green | violet | [[Wikipedia:Exammple]] }} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
For more examples see /testcases. For actual mainspace template usage, here are search links for
- Template:Sl.
- Template:Template usage.
- Template:Sl showing its use in articles whose title begins with the letter "F".
See also
- Important Manual of Style information
- Web colors
- HTML color names
- List of colors
- Help: Link color
- Template:Tl
- Template:Tl
- Template:Tl — colored table header cell
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
Template:Sandbox other , and many others. You can specify its Template:Documentation subpage Template:Warning Template:High-use
Purpose
Template:Tl is how you insert colorized text, such as Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color and Template loop detected: Template:Font color, and many others. You can specify its Template loop detected: Template:Font color color at the same time.
Template:Tl is also how you can color wikilinks to something other than blue for when you need to work within background colors. Normally [[ wikilink ]] → wikilink, but here we use a Template:Tl with Template:Para to create a black wikilink → Template loop detected: Template:Font color You can make any text link to any page using the Template:Para parameter.
This template will use Wikipedia:HTML5 recommendations, inserting the span tags Template:Tag and Template:Tag, so the page increases its readability and usability in both the wikitext and the rendered page.
Usage
Template:Tlf has a one-color and a two-color form:
- {{font color | color | text }}
- {{font color | text color | background color | text }}.
Either form has a |link= option, for colorizing (otherwise blue or red) wikilink text.
- |linkTemplate:=yes →
[[text]]
- |link=fullpagename →
[[fullpagename]]
You can also name the other fields.
- {{font color | fg=color | text=text }}
- {{font color | fg=text color | bg=background color | text=text }}
You can name |fg= or |bg=, which is nice, but... if you name either of them, you must also name |text=, which is a compromise. (See Help:Template#Parameters for why.)
Spacing is of no concern.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{ font color | tan | green | text with four words }}.
→.
Template loop detected: Template:Font color.
Parameters
- Or
Examples
Markup | Renders as |
---|---|
{{ font color | green | green text }}
|
Template loop detected: Template:Font color |
{{ font color | blue | do not style text as a link }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigyellow | default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigbg=yellow | text = default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font color | white | black | white with black background }}
|
Template loop detected: Template:Font color |
{{ font color | #ffffff | #000000 | white with black background }} ([[hexadecimal colors]])
|
Template loop detected: Template:Font color (hexadecimal colors) |
Markup | Renders as |
---|---|
{{ font color | white | blue | Wikipedia:Example | link = yes }}
|
Template loop detected: Template:Font color |
{{ font color | white | blue | Wikipedia:Example | link = Wikipedia:Sandbox }}
|
Template loop detected: Template:Font color |
{{ font color | text = Wikipedia:Example | link = Wikipedia:Sandbox | bg
= blue | fg = white }}
|
Template loop detected: Template:Font color |
The Template:Para parameter is a good way to colorize wikilinks, and it is about as much typing as the pipe trick.
Although a wikilink accepts a font color (or other template or markup):
Template:BigWikipedia:ExampleTemplate:Big{{font color|white|blue|the Wikipedia:Example page}}Template:Big
- → [[Wikipedia:Example | Template loop detected: Template:Font color]] (a font-colored link),
a font color does not accept a wikilink, it creates wikilinks itself with Template:Para.
- Template:OK {{ font color | green | violet | Wikipedia:Example | link=yes }} → Template loop detected: Template:Font color (a Template:Para Template:Tl)
- Template:Cross{{ font color | green | violet | the [[Wikipedia:Example]] page}} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
- Template:Cross{{ font color | green | violet | [[Wikipedia:Exammple]] }} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
For more examples see /testcases. For actual mainspace template usage, here are search links for
- Template:Sl.
- Template:Template usage.
- Template:Sl showing its use in articles whose title begins with the letter "F".
See also
- Important Manual of Style information
- Web colors
- HTML color names
- List of colors
- Help: Link color
- Template:Tl
- Template:Tl
- Template:Tl — colored table header cell
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
color at the same time.
Template:Tl is also how you can color wikilinks to something other than blue for when you need to work within background colors. Normally [[ wikilink ]] → wikilink, but here we use a Template:Tl with Template:Para to create a black wikilink → Template:Documentation subpage Template:Warning Template:High-use
Purpose
Template:Tl is how you insert colorized text, such as Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color and Template loop detected: Template:Font color, and many others. You can specify its Template loop detected: Template:Font color color at the same time.
Template:Tl is also how you can color wikilinks to something other than blue for when you need to work within background colors. Normally [[ wikilink ]] → wikilink, but here we use a Template:Tl with Template:Para to create a black wikilink → Template loop detected: Template:Font color You can make any text link to any page using the Template:Para parameter.
This template will use Wikipedia:HTML5 recommendations, inserting the span tags Template:Tag and Template:Tag, so the page increases its readability and usability in both the wikitext and the rendered page.
Usage
Template:Tlf has a one-color and a two-color form:
- {{font color | color | text }}
- {{font color | text color | background color | text }}.
Either form has a |link= option, for colorizing (otherwise blue or red) wikilink text.
- |linkTemplate:=yes →
[[text]]
- |link=fullpagename →
[[fullpagename]]
You can also name the other fields.
- {{font color | fg=color | text=text }}
- {{font color | fg=text color | bg=background color | text=text }}
You can name |fg= or |bg=, which is nice, but... if you name either of them, you must also name |text=, which is a compromise. (See Help:Template#Parameters for why.)
Spacing is of no concern.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{ font color | tan | green | text with four words }}.
→.
Template loop detected: Template:Font color.
Parameters
- Or
Examples
Markup | Renders as |
---|---|
{{ font color | green | green text }}
|
Template loop detected: Template:Font color |
{{ font color | blue | do not style text as a link }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigyellow | default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigbg=yellow | text = default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font color | white | black | white with black background }}
|
Template loop detected: Template:Font color |
{{ font color | #ffffff | #000000 | white with black background }} ([[hexadecimal colors]])
|
Template loop detected: Template:Font color (hexadecimal colors) |
Markup | Renders as |
---|---|
{{ font color | white | blue | Wikipedia:Example | link = yes }}
|
Template loop detected: Template:Font color |
{{ font color | white | blue | Wikipedia:Example | link = Wikipedia:Sandbox }}
|
Template loop detected: Template:Font color |
{{ font color | text = Wikipedia:Example | link = Wikipedia:Sandbox | bg
= blue | fg = white }}
|
Template loop detected: Template:Font color |
The Template:Para parameter is a good way to colorize wikilinks, and it is about as much typing as the pipe trick.
Although a wikilink accepts a font color (or other template or markup):
Template:BigWikipedia:ExampleTemplate:Big{{font color|white|blue|the Wikipedia:Example page}}Template:Big
- → [[Wikipedia:Example | Template loop detected: Template:Font color]] (a font-colored link),
a font color does not accept a wikilink, it creates wikilinks itself with Template:Para.
- Template:OK {{ font color | green | violet | Wikipedia:Example | link=yes }} → Template loop detected: Template:Font color (a Template:Para Template:Tl)
- Template:Cross{{ font color | green | violet | the [[Wikipedia:Example]] page}} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
- Template:Cross{{ font color | green | violet | [[Wikipedia:Exammple]] }} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
For more examples see /testcases. For actual mainspace template usage, here are search links for
- Template:Sl.
- Template:Template usage.
- Template:Sl showing its use in articles whose title begins with the letter "F".
See also
- Important Manual of Style information
- Web colors
- HTML color names
- List of colors
- Help: Link color
- Template:Tl
- Template:Tl
- Template:Tl — colored table header cell
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
You can make any text link to any page using the Template:Para parameter.
This template will use Wikipedia:HTML5 recommendations, inserting the span tags Template:Tag and Template:Tag, so the page increases its readability and usability in both the wikitext and the rendered page.
Usage
Template:Tlf has a one-color and a two-color form:
- {{font color | color | text }}
- {{font color | text color | background color | text }}.
Either form has a |link= option, for colorizing (otherwise blue or red) wikilink text.
- |linkTemplate:=yes →
[[text]]
- |link=fullpagename →
[[fullpagename]]
You can also name the other fields.
- {{font color | fg=color | text=text }}
- {{font color | fg=text color | bg=background color | text=text }}
You can name |fg= or |bg=, which is nice, but... if you name either of them, you must also name |text=, which is a compromise. (See Help:Template#Parameters for why.)
Spacing is of no concern.
.
{{font color|tan|green|text with four words}}.
→.
Template:Documentation subpage
Template:Warning Template:High-use
Purpose
Template:Tl is how you insert colorized text, such as Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color and Template loop detected: Template:Font color, and many others. You can specify its Template loop detected: Template:Font color color at the same time.
Template:Tl is also how you can color wikilinks to something other than blue for when you need to work within background colors. Normally [[ wikilink ]] → wikilink, but here we use a Template:Tl with Template:Para to create a black wikilink → Template loop detected: Template:Font color You can make any text link to any page using the Template:Para parameter.
This template will use Wikipedia:HTML5 recommendations, inserting the span tags Template:Tag and Template:Tag, so the page increases its readability and usability in both the wikitext and the rendered page.
Usage
Template:Tlf has a one-color and a two-color form:
- {{font color | color | text }}
- {{font color | text color | background color | text }}.
Either form has a |link= option, for colorizing (otherwise blue or red) wikilink text.
- |linkTemplate:=yes →
[[text]]
- |link=fullpagename →
[[fullpagename]]
You can also name the other fields.
- {{font color | fg=color | text=text }}
- {{font color | fg=text color | bg=background color | text=text }}
You can name |fg= or |bg=, which is nice, but... if you name either of them, you must also name |text=, which is a compromise. (See Help:Template#Parameters for why.)
Spacing is of no concern.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{ font color | tan | green | text with four words }}.
→.
Template loop detected: Template:Font color.
Parameters
- Or
Examples
Markup | Renders as |
---|---|
{{ font color | green | green text }}
|
Template loop detected: Template:Font color |
{{ font color | blue | do not style text as a link }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigyellow | default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigbg=yellow | text = default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font color | white | black | white with black background }}
|
Template loop detected: Template:Font color |
{{ font color | #ffffff | #000000 | white with black background }} ([[hexadecimal colors]])
|
Template loop detected: Template:Font color (hexadecimal colors) |
Markup | Renders as |
---|---|
{{ font color | white | blue | Wikipedia:Example | link = yes }}
|
Template loop detected: Template:Font color |
{{ font color | white | blue | Wikipedia:Example | link = Wikipedia:Sandbox }}
|
Template loop detected: Template:Font color |
{{ font color | text = Wikipedia:Example | link = Wikipedia:Sandbox | bg
= blue | fg = white }}
|
Template loop detected: Template:Font color |
The Template:Para parameter is a good way to colorize wikilinks, and it is about as much typing as the pipe trick.
Although a wikilink accepts a font color (or other template or markup):
Template:BigWikipedia:ExampleTemplate:Big{{font color|white|blue|the Wikipedia:Example page}}Template:Big
- → [[Wikipedia:Example | Template loop detected: Template:Font color]] (a font-colored link),
a font color does not accept a wikilink, it creates wikilinks itself with Template:Para.
- Template:OK {{ font color | green | violet | Wikipedia:Example | link=yes }} → Template loop detected: Template:Font color (a Template:Para Template:Tl)
- Template:Cross{{ font color | green | violet | the [[Wikipedia:Example]] page}} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
- Template:Cross{{ font color | green | violet | [[Wikipedia:Exammple]] }} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
For more examples see /testcases. For actual mainspace template usage, here are search links for
- Template:Sl.
- Template:Template usage.
- Template:Sl showing its use in articles whose title begins with the letter "F".
See also
- Important Manual of Style information
- Web colors
- HTML color names
- List of colors
- Help: Link color
- Template:Tl
- Template:Tl
- Template:Tl — colored table header cell
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
.
{{font color|tan|green|text with four words}}.
→.
Template:Documentation subpage
Template:Warning Template:High-use
Purpose
Template:Tl is how you insert colorized text, such as Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color and Template loop detected: Template:Font color, and many others. You can specify its Template loop detected: Template:Font color color at the same time.
Template:Tl is also how you can color wikilinks to something other than blue for when you need to work within background colors. Normally [[ wikilink ]] → wikilink, but here we use a Template:Tl with Template:Para to create a black wikilink → Template loop detected: Template:Font color You can make any text link to any page using the Template:Para parameter.
This template will use Wikipedia:HTML5 recommendations, inserting the span tags Template:Tag and Template:Tag, so the page increases its readability and usability in both the wikitext and the rendered page.
Usage
Template:Tlf has a one-color and a two-color form:
- {{font color | color | text }}
- {{font color | text color | background color | text }}.
Either form has a |link= option, for colorizing (otherwise blue or red) wikilink text.
- |linkTemplate:=yes →
[[text]]
- |link=fullpagename →
[[fullpagename]]
You can also name the other fields.
- {{font color | fg=color | text=text }}
- {{font color | fg=text color | bg=background color | text=text }}
You can name |fg= or |bg=, which is nice, but... if you name either of them, you must also name |text=, which is a compromise. (See Help:Template#Parameters for why.)
Spacing is of no concern.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{ font color | tan | green | text with four words }}.
→.
Template loop detected: Template:Font color.
Parameters
- Or
Examples
Markup | Renders as |
---|---|
{{ font color | green | green text }}
|
Template loop detected: Template:Font color |
{{ font color | blue | do not style text as a link }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigyellow | default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigbg=yellow | text = default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font color | white | black | white with black background }}
|
Template loop detected: Template:Font color |
{{ font color | #ffffff | #000000 | white with black background }} ([[hexadecimal colors]])
|
Template loop detected: Template:Font color (hexadecimal colors) |
Markup | Renders as |
---|---|
{{ font color | white | blue | Wikipedia:Example | link = yes }}
|
Template loop detected: Template:Font color |
{{ font color | white | blue | Wikipedia:Example | link = Wikipedia:Sandbox }}
|
Template loop detected: Template:Font color |
{{ font color | text = Wikipedia:Example | link = Wikipedia:Sandbox | bg
= blue | fg = white }}
|
Template loop detected: Template:Font color |
The Template:Para parameter is a good way to colorize wikilinks, and it is about as much typing as the pipe trick.
Although a wikilink accepts a font color (or other template or markup):
Template:BigWikipedia:ExampleTemplate:Big{{font color|white|blue|the Wikipedia:Example page}}Template:Big
- → [[Wikipedia:Example | Template loop detected: Template:Font color]] (a font-colored link),
a font color does not accept a wikilink, it creates wikilinks itself with Template:Para.
- Template:OK {{ font color | green | violet | Wikipedia:Example | link=yes }} → Template loop detected: Template:Font color (a Template:Para Template:Tl)
- Template:Cross{{ font color | green | violet | the [[Wikipedia:Example]] page}} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
- Template:Cross{{ font color | green | violet | [[Wikipedia:Exammple]] }} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
For more examples see /testcases. For actual mainspace template usage, here are search links for
- Template:Sl.
- Template:Template usage.
- Template:Sl showing its use in articles whose title begins with the letter "F".
See also
- Important Manual of Style information
- Web colors
- HTML color names
- List of colors
- Help: Link color
- Template:Tl
- Template:Tl
- Template:Tl — colored table header cell
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
.
.
{{ font color | tan | green | text with four words }}.
→.
Template:Documentation subpage
Template:Warning Template:High-use
Purpose
Template:Tl is how you insert colorized text, such as Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color and Template loop detected: Template:Font color, and many others. You can specify its Template loop detected: Template:Font color color at the same time.
Template:Tl is also how you can color wikilinks to something other than blue for when you need to work within background colors. Normally [[ wikilink ]] → wikilink, but here we use a Template:Tl with Template:Para to create a black wikilink → Template loop detected: Template:Font color You can make any text link to any page using the Template:Para parameter.
This template will use Wikipedia:HTML5 recommendations, inserting the span tags Template:Tag and Template:Tag, so the page increases its readability and usability in both the wikitext and the rendered page.
Usage
Template:Tlf has a one-color and a two-color form:
- {{font color | color | text }}
- {{font color | text color | background color | text }}.
Either form has a |link= option, for colorizing (otherwise blue or red) wikilink text.
- |linkTemplate:=yes →
[[text]]
- |link=fullpagename →
[[fullpagename]]
You can also name the other fields.
- {{font color | fg=color | text=text }}
- {{font color | fg=text color | bg=background color | text=text }}
You can name |fg= or |bg=, which is nice, but... if you name either of them, you must also name |text=, which is a compromise. (See Help:Template#Parameters for why.)
Spacing is of no concern.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{ font color | tan | green | text with four words }}.
→.
Template loop detected: Template:Font color.
Parameters
- Or
Examples
Markup | Renders as |
---|---|
{{ font color | green | green text }}
|
Template loop detected: Template:Font color |
{{ font color | blue | do not style text as a link }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigyellow | default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigbg=yellow | text = default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font color | white | black | white with black background }}
|
Template loop detected: Template:Font color |
{{ font color | #ffffff | #000000 | white with black background }} ([[hexadecimal colors]])
|
Template loop detected: Template:Font color (hexadecimal colors) |
Markup | Renders as |
---|---|
{{ font color | white | blue | Wikipedia:Example | link = yes }}
|
Template loop detected: Template:Font color |
{{ font color | white | blue | Wikipedia:Example | link = Wikipedia:Sandbox }}
|
Template loop detected: Template:Font color |
{{ font color | text = Wikipedia:Example | link = Wikipedia:Sandbox | bg
= blue | fg = white }}
|
Template loop detected: Template:Font color |
The Template:Para parameter is a good way to colorize wikilinks, and it is about as much typing as the pipe trick.
Although a wikilink accepts a font color (or other template or markup):
Template:BigWikipedia:ExampleTemplate:Big{{font color|white|blue|the Wikipedia:Example page}}Template:Big
- → [[Wikipedia:Example | Template loop detected: Template:Font color]] (a font-colored link),
a font color does not accept a wikilink, it creates wikilinks itself with Template:Para.
- Template:OK {{ font color | green | violet | Wikipedia:Example | link=yes }} → Template loop detected: Template:Font color (a Template:Para Template:Tl)
- Template:Cross{{ font color | green | violet | the [[Wikipedia:Example]] page}} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
- Template:Cross{{ font color | green | violet | [[Wikipedia:Exammple]] }} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
For more examples see /testcases. For actual mainspace template usage, here are search links for
- Template:Sl.
- Template:Template usage.
- Template:Sl showing its use in articles whose title begins with the letter "F".
See also
- Important Manual of Style information
- Web colors
- HTML color names
- List of colors
- Help: Link color
- Template:Tl
- Template:Tl
- Template:Tl — colored table header cell
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
.
Parameters
- Or
Examples
Markup | Renders as | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ font color | green | green text }}
|
Template:Documentation subpage
Template:Warning Template:High-use PurposeTemplate:Tl is how you insert colorized text, such as Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color and Template loop detected: Template:Font color, and many others. You can specify its Template loop detected: Template:Font color color at the same time. Template:Tl is also how you can color wikilinks to something other than blue for when you need to work within background colors. Normally [[ wikilink ]] → wikilink, but here we use a Template:Tl with Template:Para to create a black wikilink → Template loop detected: Template:Font color You can make any text link to any page using the Template:Para parameter. This template will use Wikipedia:HTML5 recommendations, inserting the span tags Template:Tag and Template:Tag, so the page increases its readability and usability in both the wikitext and the rendered page. UsageTemplate:Tlf has a one-color and a two-color form:
Either form has a |link= option, for colorizing (otherwise blue or red) wikilink text.
You can also name the other fields.
You can name |fg= or |bg=, which is nice, but... if you name either of them, you must also name |text=, which is a compromise. (See Help:Template#Parameters for why.) Spacing is of no concern.
Parameters
Examples
The Template:Para parameter is a good way to colorize wikilinks, and it is about as much typing as the pipe trick. Although a wikilink accepts a font color (or other template or markup):
a font color does not accept a wikilink, it creates wikilinks itself with Template:Para.
For more examples see /testcases. For actual mainspace template usage, here are search links for
See also | ||||||||||||||||||||||
{{ font color | blue | do not style text as a link }}
|
Template:Documentation subpage
Template:Warning Template:High-use PurposeTemplate:Tl is how you insert colorized text, such as Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color and Template loop detected: Template:Font color, and many others. You can specify its Template loop detected: Template:Font color color at the same time. Template:Tl is also how you can color wikilinks to something other than blue for when you need to work within background colors. Normally [[ wikilink ]] → wikilink, but here we use a Template:Tl with Template:Para to create a black wikilink → Template loop detected: Template:Font color You can make any text link to any page using the Template:Para parameter. This template will use Wikipedia:HTML5 recommendations, inserting the span tags Template:Tag and Template:Tag, so the page increases its readability and usability in both the wikitext and the rendered page. UsageTemplate:Tlf has a one-color and a two-color form:
Either form has a |link= option, for colorizing (otherwise blue or red) wikilink text.
You can also name the other fields.
You can name |fg= or |bg=, which is nice, but... if you name either of them, you must also name |text=, which is a compromise. (See Help:Template#Parameters for why.) Spacing is of no concern.
Parameters
Examples
The Template:Para parameter is a good way to colorize wikilinks, and it is about as much typing as the pipe trick. Although a wikilink accepts a font color (or other template or markup):
a font color does not accept a wikilink, it creates wikilinks itself with Template:Para.
For more examples see /testcases. For actual mainspace template usage, here are search links for
See also | ||||||||||||||||||||||
{{ font colorTemplate:Bigyellow | default text in yellow background }}
|
Template:Documentation subpage
Template:Warning Template:High-use PurposeTemplate:Tl is how you insert colorized text, such as Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color and Template loop detected: Template:Font color, and many others. You can specify its Template loop detected: Template:Font color color at the same time. Template:Tl is also how you can color wikilinks to something other than blue for when you need to work within background colors. Normally [[ wikilink ]] → wikilink, but here we use a Template:Tl with Template:Para to create a black wikilink → Template loop detected: Template:Font color You can make any text link to any page using the Template:Para parameter. This template will use Wikipedia:HTML5 recommendations, inserting the span tags Template:Tag and Template:Tag, so the page increases its readability and usability in both the wikitext and the rendered page. UsageTemplate:Tlf has a one-color and a two-color form:
Either form has a |link= option, for colorizing (otherwise blue or red) wikilink text.
You can also name the other fields.
You can name |fg= or |bg=, which is nice, but... if you name either of them, you must also name |text=, which is a compromise. (See Help:Template#Parameters for why.) Spacing is of no concern.
Parameters
Examples
The Template:Para parameter is a good way to colorize wikilinks, and it is about as much typing as the pipe trick. Although a wikilink accepts a font color (or other template or markup):
a font color does not accept a wikilink, it creates wikilinks itself with Template:Para.
For more examples see /testcases. For actual mainspace template usage, here are search links for
See also | ||||||||||||||||||||||
{{ font colorTemplate:Bigbg=yellow | text = default text in yellow background }}
|
Template:Documentation subpage
Template:Warning Template:High-use PurposeTemplate:Tl is how you insert colorized text, such as Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color and Template loop detected: Template:Font color, and many others. You can specify its Template loop detected: Template:Font color color at the same time. Template:Tl is also how you can color wikilinks to something other than blue for when you need to work within background colors. Normally [[ wikilink ]] → wikilink, but here we use a Template:Tl with Template:Para to create a black wikilink → Template loop detected: Template:Font color You can make any text link to any page using the Template:Para parameter. This template will use Wikipedia:HTML5 recommendations, inserting the span tags Template:Tag and Template:Tag, so the page increases its readability and usability in both the wikitext and the rendered page. UsageTemplate:Tlf has a one-color and a two-color form:
Either form has a |link= option, for colorizing (otherwise blue or red) wikilink text.
You can also name the other fields.
You can name |fg= or |bg=, which is nice, but... if you name either of them, you must also name |text=, which is a compromise. (See Help:Template#Parameters for why.) Spacing is of no concern.
Parameters
Examples
The Template:Para parameter is a good way to colorize wikilinks, and it is about as much typing as the pipe trick. Although a wikilink accepts a font color (or other template or markup):
a font color does not accept a wikilink, it creates wikilinks itself with Template:Para.
For more examples see /testcases. For actual mainspace template usage, here are search links for
See also | ||||||||||||||||||||||
{{ font color | white | black | white with black background }}
|
Template:Documentation subpage
Template:Warning Template:High-use PurposeTemplate:Tl is how you insert colorized text, such as Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color and Template loop detected: Template:Font color, and many others. You can specify its Template loop detected: Template:Font color color at the same time. Template:Tl is also how you can color wikilinks to something other than blue for when you need to work within background colors. Normally [[ wikilink ]] → wikilink, but here we use a Template:Tl with Template:Para to create a black wikilink → Template loop detected: Template:Font color You can make any text link to any page using the Template:Para parameter. This template will use Wikipedia:HTML5 recommendations, inserting the span tags Template:Tag and Template:Tag, so the page increases its readability and usability in both the wikitext and the rendered page. UsageTemplate:Tlf has a one-color and a two-color form:
Either form has a |link= option, for colorizing (otherwise blue or red) wikilink text.
You can also name the other fields.
You can name |fg= or |bg=, which is nice, but... if you name either of them, you must also name |text=, which is a compromise. (See Help:Template#Parameters for why.) Spacing is of no concern.
Parameters
Examples
The Template:Para parameter is a good way to colorize wikilinks, and it is about as much typing as the pipe trick. Although a wikilink accepts a font color (or other template or markup):
a font color does not accept a wikilink, it creates wikilinks itself with Template:Para.
For more examples see /testcases. For actual mainspace template usage, here are search links for
See also | ||||||||||||||||||||||
{{ font color | #ffffff | #000000 | white with black background }} ([[hexadecimal colors]])
|
Template:Documentation subpage
Template:Warning Template:High-use PurposeTemplate:Tl is how you insert colorized text, such as Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color and Template loop detected: Template:Font color, and many others. You can specify its Template loop detected: Template:Font color color at the same time. Template:Tl is also how you can color wikilinks to something other than blue for when you need to work within background colors. Normally [[ wikilink ]] → wikilink, but here we use a Template:Tl with Template:Para to create a black wikilink → Template loop detected: Template:Font color You can make any text link to any page using the Template:Para parameter. This template will use Wikipedia:HTML5 recommendations, inserting the span tags Template:Tag and Template:Tag, so the page increases its readability and usability in both the wikitext and the rendered page. UsageTemplate:Tlf has a one-color and a two-color form:
Either form has a |link= option, for colorizing (otherwise blue or red) wikilink text.
You can also name the other fields.
You can name |fg= or |bg=, which is nice, but... if you name either of them, you must also name |text=, which is a compromise. (See Help:Template#Parameters for why.) Spacing is of no concern.
Parameters
Examples
The Template:Para parameter is a good way to colorize wikilinks, and it is about as much typing as the pipe trick. Although a wikilink accepts a font color (or other template or markup):
a font color does not accept a wikilink, it creates wikilinks itself with Template:Para.
For more examples see /testcases. For actual mainspace template usage, here are search links for
See also
(hexadecimal colors) |
Markup | Renders as | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ font color | white | blue | Wikipedia:Example | link = yes }}
|
Template:Documentation subpage
Template:Warning Template:High-use PurposeTemplate:Tl is how you insert colorized text, such as Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color and Template loop detected: Template:Font color, and many others. You can specify its Template loop detected: Template:Font color color at the same time. Template:Tl is also how you can color wikilinks to something other than blue for when you need to work within background colors. Normally [[ wikilink ]] → wikilink, but here we use a Template:Tl with Template:Para to create a black wikilink → Template loop detected: Template:Font color You can make any text link to any page using the Template:Para parameter. This template will use Wikipedia:HTML5 recommendations, inserting the span tags Template:Tag and Template:Tag, so the page increases its readability and usability in both the wikitext and the rendered page. UsageTemplate:Tlf has a one-color and a two-color form:
Either form has a |link= option, for colorizing (otherwise blue or red) wikilink text.
You can also name the other fields.
You can name |fg= or |bg=, which is nice, but... if you name either of them, you must also name |text=, which is a compromise. (See Help:Template#Parameters for why.) Spacing is of no concern.
Parameters
Examples
The Template:Para parameter is a good way to colorize wikilinks, and it is about as much typing as the pipe trick. Although a wikilink accepts a font color (or other template or markup):
a font color does not accept a wikilink, it creates wikilinks itself with Template:Para.
For more examples see /testcases. For actual mainspace template usage, here are search links for
See also | ||||||||||||||||||||||
{{ font color | white | blue | Wikipedia:Example | link = Wikipedia:Sandbox }}
|
Template:Documentation subpage
Template:Warning Template:High-use PurposeTemplate:Tl is how you insert colorized text, such as Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color and Template loop detected: Template:Font color, and many others. You can specify its Template loop detected: Template:Font color color at the same time. Template:Tl is also how you can color wikilinks to something other than blue for when you need to work within background colors. Normally [[ wikilink ]] → wikilink, but here we use a Template:Tl with Template:Para to create a black wikilink → Template loop detected: Template:Font color You can make any text link to any page using the Template:Para parameter. This template will use Wikipedia:HTML5 recommendations, inserting the span tags Template:Tag and Template:Tag, so the page increases its readability and usability in both the wikitext and the rendered page. UsageTemplate:Tlf has a one-color and a two-color form:
Either form has a |link= option, for colorizing (otherwise blue or red) wikilink text.
You can also name the other fields.
You can name |fg= or |bg=, which is nice, but... if you name either of them, you must also name |text=, which is a compromise. (See Help:Template#Parameters for why.) Spacing is of no concern.
Parameters
Examples
The Template:Para parameter is a good way to colorize wikilinks, and it is about as much typing as the pipe trick. Although a wikilink accepts a font color (or other template or markup):
a font color does not accept a wikilink, it creates wikilinks itself with Template:Para.
For more examples see /testcases. For actual mainspace template usage, here are search links for
See also | ||||||||||||||||||||||
{{ font color | text = Wikipedia:Example | link = Wikipedia:Sandbox | bg
= blue | fg = white }}
|
Template:Documentation subpage
Template:Warning Template:High-use PurposeTemplate:Tl is how you insert colorized text, such as Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color and Template loop detected: Template:Font color, and many others. You can specify its Template loop detected: Template:Font color color at the same time. Template:Tl is also how you can color wikilinks to something other than blue for when you need to work within background colors. Normally [[ wikilink ]] → wikilink, but here we use a Template:Tl with Template:Para to create a black wikilink → Template loop detected: Template:Font color You can make any text link to any page using the Template:Para parameter. This template will use Wikipedia:HTML5 recommendations, inserting the span tags Template:Tag and Template:Tag, so the page increases its readability and usability in both the wikitext and the rendered page. UsageTemplate:Tlf has a one-color and a two-color form:
Either form has a |link= option, for colorizing (otherwise blue or red) wikilink text.
You can also name the other fields.
You can name |fg= or |bg=, which is nice, but... if you name either of them, you must also name |text=, which is a compromise. (See Help:Template#Parameters for why.) Spacing is of no concern.
Parameters
Examples
The Template:Para parameter is a good way to colorize wikilinks, and it is about as much typing as the pipe trick. Although a wikilink accepts a font color (or other template or markup):
a font color does not accept a wikilink, it creates wikilinks itself with Template:Para.
For more examples see /testcases. For actual mainspace template usage, here are search links for
See also |
The Template:Para parameter is a good way to colorize wikilinks, and it is about as much typing as the pipe trick.
Although a wikilink accepts a font color (or other template or markup):
Template:BigWikipedia:ExampleTemplate:Big{{font color|white|blue|the Wikipedia:Example page}}Template:Big
- → [[Wikipedia:Example | Template:Documentation subpage
Template:Warning Template:High-use
Purpose
Template:Tl is how you insert colorized text, such as Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color and Template loop detected: Template:Font color, and many others. You can specify its Template loop detected: Template:Font color color at the same time.
Template:Tl is also how you can color wikilinks to something other than blue for when you need to work within background colors. Normally [[ wikilink ]] → wikilink, but here we use a Template:Tl with Template:Para to create a black wikilink → Template loop detected: Template:Font color You can make any text link to any page using the Template:Para parameter.
This template will use Wikipedia:HTML5 recommendations, inserting the span tags Template:Tag and Template:Tag, so the page increases its readability and usability in both the wikitext and the rendered page.
Usage
Template:Tlf has a one-color and a two-color form:
- {{font color | color | text }}
- {{font color | text color | background color | text }}.
Either form has a |link= option, for colorizing (otherwise blue or red) wikilink text.
- |linkTemplate:=yes →
[[text]]
- |link=fullpagename →
[[fullpagename]]
You can also name the other fields.
- {{font color | fg=color | text=text }}
- {{font color | fg=text color | bg=background color | text=text }}
You can name |fg= or |bg=, which is nice, but... if you name either of them, you must also name |text=, which is a compromise. (See Help:Template#Parameters for why.)
Spacing is of no concern.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{ font color | tan | green | text with four words }}.
→.
Template loop detected: Template:Font color.
Parameters
- Or
Examples
Markup | Renders as |
---|---|
{{ font color | green | green text }}
|
Template loop detected: Template:Font color |
{{ font color | blue | do not style text as a link }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigyellow | default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigbg=yellow | text = default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font color | white | black | white with black background }}
|
Template loop detected: Template:Font color |
{{ font color | #ffffff | #000000 | white with black background }} ([[hexadecimal colors]])
|
Template loop detected: Template:Font color (hexadecimal colors) |
Markup | Renders as |
---|---|
{{ font color | white | blue | Wikipedia:Example | link = yes }}
|
Template loop detected: Template:Font color |
{{ font color | white | blue | Wikipedia:Example | link = Wikipedia:Sandbox }}
|
Template loop detected: Template:Font color |
{{ font color | text = Wikipedia:Example | link = Wikipedia:Sandbox | bg
= blue | fg = white }}
|
Template loop detected: Template:Font color |
The Template:Para parameter is a good way to colorize wikilinks, and it is about as much typing as the pipe trick.
Although a wikilink accepts a font color (or other template or markup):
Template:BigWikipedia:ExampleTemplate:Big{{font color|white|blue|the Wikipedia:Example page}}Template:Big
- → [[Wikipedia:Example | Template loop detected: Template:Font color]] (a font-colored link),
a font color does not accept a wikilink, it creates wikilinks itself with Template:Para.
- Template:OK {{ font color | green | violet | Wikipedia:Example | link=yes }} → Template loop detected: Template:Font color (a Template:Para Template:Tl)
- Template:Cross{{ font color | green | violet | the [[Wikipedia:Example]] page}} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
- Template:Cross{{ font color | green | violet | [[Wikipedia:Exammple]] }} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
For more examples see /testcases. For actual mainspace template usage, here are search links for
- Template:Sl.
- Template:Template usage.
- Template:Sl showing its use in articles whose title begins with the letter "F".
See also
- Important Manual of Style information
- Web colors
- HTML color names
- List of colors
- Help: Link color
- Template:Tl
- Template:Tl
- Template:Tl — colored table header cell
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
Template:Sandbox other ]] (a font-colored link), a font color does not accept a wikilink, it creates wikilinks itself with Template:Para.
- Template:OK {{ font color | green | violet | Wikipedia:Example | link=yes }} → Template:Documentation subpage
Template:Warning Template:High-use
Purpose
Template:Tl is how you insert colorized text, such as Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color and Template loop detected: Template:Font color, and many others. You can specify its Template loop detected: Template:Font color color at the same time.
Template:Tl is also how you can color wikilinks to something other than blue for when you need to work within background colors. Normally [[ wikilink ]] → wikilink, but here we use a Template:Tl with Template:Para to create a black wikilink → Template loop detected: Template:Font color You can make any text link to any page using the Template:Para parameter.
This template will use Wikipedia:HTML5 recommendations, inserting the span tags Template:Tag and Template:Tag, so the page increases its readability and usability in both the wikitext and the rendered page.
Usage
Template:Tlf has a one-color and a two-color form:
- {{font color | color | text }}
- {{font color | text color | background color | text }}.
Either form has a |link= option, for colorizing (otherwise blue or red) wikilink text.
- |linkTemplate:=yes →
[[text]]
- |link=fullpagename →
[[fullpagename]]
You can also name the other fields.
- {{font color | fg=color | text=text }}
- {{font color | fg=text color | bg=background color | text=text }}
You can name |fg= or |bg=, which is nice, but... if you name either of them, you must also name |text=, which is a compromise. (See Help:Template#Parameters for why.)
Spacing is of no concern.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{ font color | tan | green | text with four words }}.
→.
Template loop detected: Template:Font color.
Parameters
- Or
Examples
Markup | Renders as |
---|---|
{{ font color | green | green text }}
|
Template loop detected: Template:Font color |
{{ font color | blue | do not style text as a link }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigyellow | default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigbg=yellow | text = default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font color | white | black | white with black background }}
|
Template loop detected: Template:Font color |
{{ font color | #ffffff | #000000 | white with black background }} ([[hexadecimal colors]])
|
Template loop detected: Template:Font color (hexadecimal colors) |
Markup | Renders as |
---|---|
{{ font color | white | blue | Wikipedia:Example | link = yes }}
|
Template loop detected: Template:Font color |
{{ font color | white | blue | Wikipedia:Example | link = Wikipedia:Sandbox }}
|
Template loop detected: Template:Font color |
{{ font color | text = Wikipedia:Example | link = Wikipedia:Sandbox | bg
= blue | fg = white }}
|
Template loop detected: Template:Font color |
The Template:Para parameter is a good way to colorize wikilinks, and it is about as much typing as the pipe trick.
Although a wikilink accepts a font color (or other template or markup):
Template:BigWikipedia:ExampleTemplate:Big{{font color|white|blue|the Wikipedia:Example page}}Template:Big
- → [[Wikipedia:Example | Template loop detected: Template:Font color]] (a font-colored link),
a font color does not accept a wikilink, it creates wikilinks itself with Template:Para.
- Template:OK {{ font color | green | violet | Wikipedia:Example | link=yes }} → Template loop detected: Template:Font color (a Template:Para Template:Tl)
- Template:Cross{{ font color | green | violet | the [[Wikipedia:Example]] page}} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
- Template:Cross{{ font color | green | violet | [[Wikipedia:Exammple]] }} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
For more examples see /testcases. For actual mainspace template usage, here are search links for
- Template:Sl.
- Template:Template usage.
- Template:Sl showing its use in articles whose title begins with the letter "F".
See also
- Important Manual of Style information
- Web colors
- HTML color names
- List of colors
- Help: Link color
- Template:Tl
- Template:Tl
- Template:Tl — colored table header cell
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
(a Template:Para Template:Tl)
- Template:Cross{{ font color | green | violet | the [[Wikipedia:Example]] page}} → Template:Documentation subpage
Template:Warning Template:High-use
Purpose
Template:Tl is how you insert colorized text, such as Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color and Template loop detected: Template:Font color, and many others. You can specify its Template loop detected: Template:Font color color at the same time.
Template:Tl is also how you can color wikilinks to something other than blue for when you need to work within background colors. Normally [[ wikilink ]] → wikilink, but here we use a Template:Tl with Template:Para to create a black wikilink → Template loop detected: Template:Font color You can make any text link to any page using the Template:Para parameter.
This template will use Wikipedia:HTML5 recommendations, inserting the span tags Template:Tag and Template:Tag, so the page increases its readability and usability in both the wikitext and the rendered page.
Usage
Template:Tlf has a one-color and a two-color form:
- {{font color | color | text }}
- {{font color | text color | background color | text }}.
Either form has a |link= option, for colorizing (otherwise blue or red) wikilink text.
- |linkTemplate:=yes →
[[text]]
- |link=fullpagename →
[[fullpagename]]
You can also name the other fields.
- {{font color | fg=color | text=text }}
- {{font color | fg=text color | bg=background color | text=text }}
You can name |fg= or |bg=, which is nice, but... if you name either of them, you must also name |text=, which is a compromise. (See Help:Template#Parameters for why.)
Spacing is of no concern.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{ font color | tan | green | text with four words }}.
→.
Template loop detected: Template:Font color.
Parameters
- Or
Examples
Markup | Renders as |
---|---|
{{ font color | green | green text }}
|
Template loop detected: Template:Font color |
{{ font color | blue | do not style text as a link }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigyellow | default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigbg=yellow | text = default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font color | white | black | white with black background }}
|
Template loop detected: Template:Font color |
{{ font color | #ffffff | #000000 | white with black background }} ([[hexadecimal colors]])
|
Template loop detected: Template:Font color (hexadecimal colors) |
Markup | Renders as |
---|---|
{{ font color | white | blue | Wikipedia:Example | link = yes }}
|
Template loop detected: Template:Font color |
{{ font color | white | blue | Wikipedia:Example | link = Wikipedia:Sandbox }}
|
Template loop detected: Template:Font color |
{{ font color | text = Wikipedia:Example | link = Wikipedia:Sandbox | bg
= blue | fg = white }}
|
Template loop detected: Template:Font color |
The Template:Para parameter is a good way to colorize wikilinks, and it is about as much typing as the pipe trick.
Although a wikilink accepts a font color (or other template or markup):
Template:BigWikipedia:ExampleTemplate:Big{{font color|white|blue|the Wikipedia:Example page}}Template:Big
- → [[Wikipedia:Example | Template loop detected: Template:Font color]] (a font-colored link),
a font color does not accept a wikilink, it creates wikilinks itself with Template:Para.
- Template:OK {{ font color | green | violet | Wikipedia:Example | link=yes }} → Template loop detected: Template:Font color (a Template:Para Template:Tl)
- Template:Cross{{ font color | green | violet | the [[Wikipedia:Example]] page}} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
- Template:Cross{{ font color | green | violet | [[Wikipedia:Exammple]] }} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
For more examples see /testcases. For actual mainspace template usage, here are search links for
- Template:Sl.
- Template:Template usage.
- Template:Sl showing its use in articles whose title begins with the letter "F".
See also
- Important Manual of Style information
- Web colors
- HTML color names
- List of colors
- Help: Link color
- Template:Tl
- Template:Tl
- Template:Tl — colored table header cell
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
(Text with [[wikilink brackets]] overrides the designated color)
- Template:Cross{{ font color | green | violet | [[Wikipedia:Exammple]] }} → Template:Documentation subpage
Template:Warning Template:High-use
Purpose
Template:Tl is how you insert colorized text, such as Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color, Template loop detected: Template:Font color and Template loop detected: Template:Font color, and many others. You can specify its Template loop detected: Template:Font color color at the same time.
Template:Tl is also how you can color wikilinks to something other than blue for when you need to work within background colors. Normally [[ wikilink ]] → wikilink, but here we use a Template:Tl with Template:Para to create a black wikilink → Template loop detected: Template:Font color You can make any text link to any page using the Template:Para parameter.
This template will use Wikipedia:HTML5 recommendations, inserting the span tags Template:Tag and Template:Tag, so the page increases its readability and usability in both the wikitext and the rendered page.
Usage
Template:Tlf has a one-color and a two-color form:
- {{font color | color | text }}
- {{font color | text color | background color | text }}.
Either form has a |link= option, for colorizing (otherwise blue or red) wikilink text.
- |linkTemplate:=yes →
[[text]]
- |link=fullpagename →
[[fullpagename]]
You can also name the other fields.
- {{font color | fg=color | text=text }}
- {{font color | fg=text color | bg=background color | text=text }}
You can name |fg= or |bg=, which is nice, but... if you name either of them, you must also name |text=, which is a compromise. (See Help:Template#Parameters for why.)
Spacing is of no concern.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{font color|tan|green|text with four words}}.
→.
Template loop detected: Template:Font color.
.
{{ font color | tan | green | text with four words }}.
→.
Template loop detected: Template:Font color.
Parameters
- Or
Examples
Markup | Renders as |
---|---|
{{ font color | green | green text }}
|
Template loop detected: Template:Font color |
{{ font color | blue | do not style text as a link }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigyellow | default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font colorTemplate:Bigbg=yellow | text = default text in yellow background }}
|
Template loop detected: Template:Font color |
{{ font color | white | black | white with black background }}
|
Template loop detected: Template:Font color |
{{ font color | #ffffff | #000000 | white with black background }} ([[hexadecimal colors]])
|
Template loop detected: Template:Font color (hexadecimal colors) |
Markup | Renders as |
---|---|
{{ font color | white | blue | Wikipedia:Example | link = yes }}
|
Template loop detected: Template:Font color |
{{ font color | white | blue | Wikipedia:Example | link = Wikipedia:Sandbox }}
|
Template loop detected: Template:Font color |
{{ font color | text = Wikipedia:Example | link = Wikipedia:Sandbox | bg
= blue | fg = white }}
|
Template loop detected: Template:Font color |
The Template:Para parameter is a good way to colorize wikilinks, and it is about as much typing as the pipe trick.
Although a wikilink accepts a font color (or other template or markup):
Template:BigWikipedia:ExampleTemplate:Big{{font color|white|blue|the Wikipedia:Example page}}Template:Big
- → [[Wikipedia:Example | Template loop detected: Template:Font color]] (a font-colored link),
a font color does not accept a wikilink, it creates wikilinks itself with Template:Para.
- Template:OK {{ font color | green | violet | Wikipedia:Example | link=yes }} → Template loop detected: Template:Font color (a Template:Para Template:Tl)
- Template:Cross{{ font color | green | violet | the [[Wikipedia:Example]] page}} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
- Template:Cross{{ font color | green | violet | [[Wikipedia:Exammple]] }} → Template loop detected: Template:Font color (Text with [[wikilink brackets]] overrides the designated color)
For more examples see /testcases. For actual mainspace template usage, here are search links for
- Template:Sl.
- Template:Template usage.
- Template:Sl showing its use in articles whose title begins with the letter "F".
See also
- Important Manual of Style information
- Web colors
- HTML color names
- List of colors
- Help: Link color
- Template:Tl
- Template:Tl
- Template:Tl — colored table header cell
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
(Text with [[wikilink brackets]] overrides the designated color)
For actual mainspace template usage, here are search links for
- Template:Sl.
- Template:Template usage.
- Template:Sl showing its use in articles whose title begins with the letter "F".
See also
- Important Manual of Style information
- Web colors
- HTML color names
- List of colors
- Help: Link color
- Template:Tl
- Template:Tl
- Template:Tl — colored table header cell
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl
- Template:Tl