Template:Divround: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<div class="rounddiv" style="color: {{{2}}}; width:{{{3}}}; background-color:{{{4}}};">{{{1}}}</div><noinclude> | <div class="rounddiv" style="color: {{{2}}}; width:{{{3}}}; background-color:{{{4}}};">{{{1}}}</div><noinclude><br>{{Divround/doc}}[[Category:Templates]]</noinclude> | ||
{{ | |||
[[Category:Templates]]</noinclude> |
Latest revision as of 20:39, 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.