User:B1KWikis/Sandbox/T/Test
This is the test template, used for both functionality of a boilerplate, and for the functionality of documentation, the functions this template uses are advanced conditional and default functions.
To use this template, simply place {{/T/Test|Text to display}}
into the Sandbox, this will display:
For more advanced usage, the font size (size) and Background color (BG and Font color (col) can be changed.
For example, placing {{User:B1KWikis/Sandbox/T/Test|Foo Bar|BG=0000cc|size=3}}
will display a blue box with Foo Bar, size 3 in it, like so:
See? That's a bit ugly and hard to read, to remedy this, the new font color option (col) can be used.
Placing {{User:B1KWikis/Sandbox/T/Test|Foo Bar|BG=0000cc|col=white (or ffffff)}}
will make this:
Since default size is 3, I didn't bother putting size in
As another example, do not hesitate with color codes, names of colors can also be used. For the below example, both gold or "cccc00" [See here for more information] can be used to name the "BG" and "col" color tags:
Do not place {{/T/Test}}, that is a no-no, it will display this error message:
{{User:B1KWikis/Sandbox/T/Test}} " and add "|Text to display " before the "}}" , if you don't know what was intended to be typed, contact the contributor; if you don't know how to use this template, refer here for more information. |
For final reference, the types of optional tags that can be used are:
- col - changes font color
- size - changes size
- BG - Changes color of box
Please, do not edit or change this template