User:DeKaitlyn/Templates/RSFont

From Old School RuneScape Wiki
Jump to: navigation, search

{{{1}}}

Template documentation[edit] [purge]
This documentation is transcluded from User:DeKaitlyn/Templates/RSFont/doc.

This template can be used to display text the way it would appear in-game.

Usage

Note: 'color' may be spelled without the 'u' as this is how it appears in CSS styling.

{{User:DeKaitlyn/Templates/RSFont|text|color=optional colour}}
Additional parameters
{{User:DeKaitlyn/Templates/RSFont|text|color=optional colour|bg=background colour|shadow=no}}

Example

{{User:DeKaitlyn/Templates/RSFont|The quick brown fox jumps over the lazy dog.}}

Produces: The quick brown fox jumps over the lazy dog.

{{User:DeKaitlyn/Templates/RSFont|The quick brown fox jumps over the lazy dog.|color=red}}

Produces: The quick brown fox jumps over the lazy dog.

To remove the shadow, the parameter shadow=no can be used:

{{User:DeKaitlyn/Templates/RSFont|The quick brown fox jumps over the lazy dog.|color=red|shadow=no}}

Produces: The quick brown fox jumps over the lazy dog.

To change background colour, use bg=colour. This is best combined with no shadow:

{{User:DeKaitlyn/Templates/RSFont|The quick brown fox jumps over the lazy dog.|bg=#404040|shadow=no}}

Produces: The quick brown fox jumps over the lazy dog.