Template:FontColor

From K6ka's Wiki
(Redirected from Template:Fontcolour)
Jump to navigation Jump to search

Template documentation (View · Edit · History · Purge)

Usage[edit]

This template is used to make a simple way to change background and text color.

Examples[edit]

These are some examples of how to make them:

Changing Text Color[edit]

This shows how to change text color, follow this to see how:


{{Fontcolor|Color of text|Text}} is how to change text color.


So,{{Fontcolor|blue|Text in blue!}} gives...

Text in blue!

Changing Background Color[edit]

This shows how to change background color, follow this to see how:

{{Fontcolor||Background color|text}} is how to change background color, notice that there are 2 | after {{Fontcolor?


So, {{Fontcolor||red|Remember to put 2 | after {{Fontcolor}} }} gives...

Remember to put 2 | after {{Fontcolor}}

Changing Background And Text Color[edit]

This shows how to change background and text color together, follow this to see how:

{{Fontcolor|Color of text|Color of background}} is how to change background and color.


So, {{Fontcolor|blue|red|WOW, the text is blue and the background is red!}} gives..

WOW, the text is blue and the background is red!

Colors[edit]

These are the 16 main colors, the rest can be found on this page.

Color Hexadecimal Code Color Hexadecimal Code
black #000000 silver #c0c0c0
gray #808080 white #ffffff
maroon #800000 red #ff0000
purple #800080 fuchsia #ff00ff
green #008000 lime #00ff00
olive #808000 yellow #ffff00
navy #000080 blue #0000ff
teal #008080 aqua #00ffff

Credits[edit]

This template, and its documentation, was copied from the Templates Wiki on Wikia. The original template can be found here, and the documentation here.


Visit Template:FontColor/doc to edit this text! (How does this work?) (Refresh this text - why?)