Difference between revisions of "Template:Quote/doc"

From WikiCorporates
Jump to navigation Jump to search
(→‎Usage)
 
Line 7: Line 7:
 
|width  - optional. Default = 100%
 
|width  - optional. Default = 100%
 
|{{{1}}} - the quote text
 
|{{{1}}} - the quote text
−
|{{{2}}} - optional. Eg. author
+
|{{{2}}} - optional, eg. author
 
</pre>
 
</pre>
  
Line 22: Line 22:
 
{{Quote|margin=20em|You can't have your cake and eat it too. Deal with it.|Proverb}}
 
{{Quote|margin=20em|You can't have your cake and eat it too. Deal with it.|Proverb}}
  
−
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>
+
<includeonly>[[Category:WikiCorporates templates]]</includeonly>

Latest revision as of 15:10, 30 May 2020

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