Template:Quote frame/doc

Usage
This template provides a quotation in a bordered box, on a light grey background, and spanning the page width by default.

The width parameter takes any valid CSS width value, such as 33% or 25em. This should not be specified in fixed pixel sizes (like 100px). As shown in the table above, the width is relative to the size of the container not the entire page, so the displayed width will be smaller if used inside a table.

The equal sign ( = )
If any of the parameters' content include an equal sign in its input, this will make the template not recognize the parameter properly unless:
 * The parameters are named or numbered:


 * The  in the content is escaped with the  template:
 * The  in the content is escaped with the   character reference:

TemplateData
{ "description": "insert description here", "params": { "1": {     "label": "Quoted material", "description": "", "type": "string", "required": true },   "2": {      "label": "Author", "description": "", "type": "string", "required": false },   "3": {      "label": "Title", "description": "", "type": "string", "required": false },   "4": {      "label": "Publication", "description": "Use and etc.", "type": "string", "required": false },   "align": { "label": "Alignment", "description": "Alignment of the quote box on the page—left / right / center / none. Defaults to none alignment.", "type": "string", "required": false },   "width": { "label": "Width", "description": "Fixed width of the quote box, in a valid CSS value. Defaults to no fixed width.", "type": "string", "required": false } } }

Bugs

 * using quote frame in a discussion that will later be archived with archive top and archive bottom will cause problems if the line in which the template is used in is intended with colons. In other words, avoid doing this if you expect the discussion to be archived using the "archive top" and "archive bottom" templates:

Example of bug:

Some text here.

More text here.

results in:

Some text here.

More text here.