Template:Quote box: Difference between revisions
m testing |
mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div class="quote-box" style="margin: {{{margin|1em}}} {{{align|auto}}}; width: {{{width|80%}}}; padding: 10px; border: 1px solid #aaa; background-color: #f9f9f9; color: black"> | <div class="quote-box" style="margin: {{{margin|1em}}} {{{align|auto}}}; width: {{{width|80%}}}; padding: 10px; border: 1px solid #aaa; background-color: #f9f9f9; color: black"> | ||
<blockquote style="margin: 0;">{{{quote|}}}</blockquote> | <blockquote style="margin: 0;">{{{quote|}}}</blockquote>{{#if:{{{source|}}}| <small>'''- {{{source|}}}'''}}</small> | ||
</div> | </div> | ||
</includeonly> | </includeonly> | ||
Line 24: | Line 23: | ||
|width=100px | |width=100px | ||
|align=left | |align=left | ||
|quote=Example of an important quote}} | |quote=Example of an important quote | ||
|source=Clinton the CAT}} | |||
</nowiki> | </nowiki> | ||
</pre> | </pre> | ||
Line 31: | Line 31: | ||
|width=100px | |width=100px | ||
|align=left | |align=left | ||
|quote=Example of an important quote}} | |quote=Example of an important quote | ||
|source=Clinton the CAT}} | |||
[[Category:Styling templates]] | [[Category:Styling templates]] | ||
== Template Data == | == Template Data == | ||
Line 61: | Line 62: | ||
}, | }, | ||
"source": { | "source": { | ||
"description": "The source to include in the box", | "description": "The name of the source & reference to include in the box", | ||
"required": false | "required": false | ||
} | } |