Template:Divbox: Difference between revisions
Jump to navigation
Jump to search
m (/cat) |
m (/cat) |
||
Line 8: | Line 8: | ||
{{Divbox|navy|Join the Navy|See the world!}} | {{Divbox|navy|Join the Navy|See the world!}} | ||
[[Category:Message | [[Category:Message box templates]]</noinclude> |
Revision as of 22:18, 8 December 2015
Just a simple template for making pretty message boxes. Syntax is {{Divbox|style|title|message}} 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 {{Divbox|plain|3=Text body}}, 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 individual templates that are only meant to be called from this one.
Sample usage: {{Divbox|navy|Join the Navy|See the world!}} yields: