Difference between revisions of "Template:Quote/doc"

From WikiCorporates
Jump to navigation Jump to search
(Created page with "=== Usage === This is a template for a centred blockquote. The parameters are: <pre> {{{margin}}} - optional. Default = 6.0em {{{1}}} - the quote text {{{2}}} -...")
 
(→‎Usage)
Line 4: Line 4:
 
The parameters are:
 
The parameters are:
 
<pre>
 
<pre>
−
{{{margin}}} - optional. Default = 6.0em
+
|margin  - optional. Default = 2.0em
−
{{{1}}}       - the quote text
+
|width  - optional. Default = 100%
−
{{{2}}}       - optional. Eg. author
+
|{{{1}}} - the quote text
 +
|{{{2}}} - optional. Eg. author
 
</pre>
 
</pre>
  

Revision as of 16:39, 21 December 2019

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