Template:Text/doc

From Dead Cells Wiki
Jump to navigation Jump to search

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:


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


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

Text in blue!

Changing Background Color[edit]

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

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


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

Remember to put 2 | after {{Text}}

Changing Background And Text Color[edit]

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

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


So, {{Text|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.


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