Jump to content

Template:Quote box: Difference between revisions

From Consumer_Action_Taskforce
remove center alignment of text
m add category
Line 31: Line 31:
|align=left
|align=left
|quote=Example of an important quote}}
|quote=Example of an important quote}}
 
[[Category:Styling Templates]]
== Template Data ==
== Template Data ==



Revision as of 11:41, 21 January 2025


Usage

Add this to the source editor


{{Quote box
|quote=Example of an important quote}}

to create a box with a quote like this:

Example of an important quote


You can adjust the other parameters like this:


{{Quote box
|margin=2.5em
|width=100px
|align=left
|quote=Example of an important quote}}

Example of an important quote

Template Data

This creates a box containing a blockquote accoring to the parameters or defaults

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
marginmargin

Margin to leave around the box.

Suggested values
1em, 10px etc
Unknownoptional
alignalign

Alignment of the box

Suggested values
left,right,center etc.
Default
auto
Unknownoptional
widthwidth

Width of the box

Default
80%
Example
100px, 40%, etc
Unknownoptional
quotequote

The quote to include in the box

Unknownrequired