Template:Divbox: Difference between revisions

m
docs: link fix
(updated to recognize style subtemplates at new locations, as subpages of this template)
m (docs: link fix)
 
Line 3: Line 3:
{{{3}}}
{{{3}}}
</div></includeonly>
</div></includeonly>
<noinclude>Just a simple template for making pretty message boxes. Syntax is <nowiki>{{Divbox|style|title|message}}</nowiki> to get a box in the style of your choice, with a centered title and some text in the body. The title is optional; if you use <nowiki>{{Divbox|plain|3=Text body}}</nowiki>, you will get a box that simply says "Text body" with no title. When it comes to the style parameter, you can choose from the following [[seven]] flavors: blue, gray, navy, orange, plain, red, and yellow. The styles come from [https://wiki.oni2.net/Special:PrefixIndex?prefix=Divbox&namespace=10 individual templates] that are only meant to be called from this one.
<noinclude>Just a simple template for making pretty message boxes. Syntax is <nowiki>{{Divbox|style|title|message}}</nowiki> to get a box in the style of your choice, with a centered title and some text in the body. The title is optional; if you use <nowiki>{{Divbox|plain|3=Text body}}</nowiki>, you will get a box that simply says "Text body" with no title. When it comes to the style parameter, you can choose from the following [[seven]] flavors: blue, gray, navy, orange, plain, red, and yellow. The styles come from [[Special:PrefixIndex/Template:Divbox|individual templates]] that are only meant to be called from this one.


Here are samples of each flavor:
Here are samples of each flavor: