Difference between revisions of "Template:Dashbox"
Jump to navigation
Jump to search
(Created page with "{| style="padding:5px; border:1px dashed #2f6fab; width:100%; margin-bottom:.2em;" {{#if: {{{header|}}}| style="border:1px solid #2f6fab; text-align:center;" | ''' {{{header}}...") |
(No difference)
|
Revision as of 20:50, 16 February 2017
{{{header}}}
{{{text}}} |
Usage
Add this template around a block of text to surround the text with a dashed blue line.
Use header=
to add text in a header box
Use text=
to indicate the text that should appear within the box.
Example
{{dashbox|header=Sample rule|text= Always use a serial comma (a.k.a. Oxford comma) with series of three or more items: {{example|text= 100 1 Smith, John. 245 10 Baseball, hot dogs, and apple pie /{{subfield|c}}by John Smith.}} }}
displays as:
Sample rule |
Always use a serial comma (a.k.a. Oxford comma) with series of three or more items: 100 1 Smith, John.
245 10 Baseball, hot dogs, and apple pie /‡cby John Smith.
|