Difference between revisions of "Template:Quote"
Jump to navigation
Jump to search
| (14 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | + | <blockquote style="margin:{{#if:{{{margin|}}}|{{{margin}}}em;|2.0em;}} width:{{#if:{{{width|}}}|{{{width}}}%;|100%;}} padding:0.6em 1.0em; background:#f5f5f5; border:solid #bbbbbb; border-width:1px 0;"><div>{{{1}}}</div> | |
| − | — {{{2}}}</blockquote> | + | {{#if:{{{2|}}}| — {{{2}}}}}</blockquote><noinclude>{{doc2}}</noinclude> |
Latest revision as of 16:40, 21 December 2019
{{{1}}}
[edit] Documentation
Usage
This is a template for a centred blockquote.
The parameters are:
|margin - optional. Default = 2.0em
|width - optional. Default = 100%
|{{{1}}} - the quote text
|{{{2}}} - optional, eg. author
All Parameters Example
{{Quote
|margin=20em
|You can't have your cake and eat it too. Deal with it.
|Proverb
}}
Which will give:
You can't have your cake and eat it too. Deal with it.— Proverb