User:DeKaitlyn/Templates/RSFont/doc

From Old School RuneScape Wiki
Jump to: navigation, search
Information icon-grey.svg
This is a documentation subpage for User:DeKaitlyn/Templates/RSFont.
It contains usage information, categories, and other content that is not part of the original template page.

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.