Template:Divround/doc: Difference between revisions
(Created page with "{{documentation |This template is used to create a rounded rectangle that can contain anything: text, images or even other templates including more divround templates inside m...") |
No edit summary |
||
Line 12: | Line 12: | ||
...and even more. | ...and even more. | ||
{{divround|}} | {{divround|}} | ||
...aaaaand still more.}}<noinclude>[[Category: | ...aaaaand still more.}}<noinclude>[[Category:Doc_templates]]</noinclude> |
Latest revision as of 20:38, 19 November 2021
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.
{{divround|TEXT|TEXT_COLOR|WIDTH|BG_COLOR}}
For example, the following code {{divround|This is more text.|yellow|400px|darkgreen}}
, would show this:
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.