Template:Divround/doc

From Songs of Syx Wiki
Revision as of 20:38, 19 November 2021 by Zippy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template Documentation

Description

This template is used to create a rounded rectangle that can contain anything: text, images or even other templates including more divround templates inside more divround templates. The text's color, background color and width can all be customized. Some fields can be left blank to leave them at their default values.

Syntax

{{divround|TEXT|TEXT_COLOR|WIDTH|BG_COLOR}}

Examples

For example, the following code {{divround|This is more text.|yellow|400px|darkgreen}}, would show this:

This is more text.

The width, text color and background color entries can be left out completely, which will just create default values for those three.


Leaving the text field blank could have this template be used as an interesting separator, if typed like this: {{divround|||300px|}}, this creates...
Still more text.

...and even more.

...aaaaand still more.