User:Mehmet Karatay/Quote box

Quote box puts quotes in a box so individual quotes are easily distinguished from each other. There is room for a description of the quote or context, the source and an image adding to the quote. Pages with long quotes especially benefit, as bullet points can be easily lost to the eye.

An example:

Usage
Copy a blank version to use. Remember to use the "|" (pipe) character between each field. Please delete any unused fields to avoid clutter in the edit window. The only required parameter is quote, all other parameters are optional. Quote box accepts up to five parameters including quote. image_size is ignored if image is not present.


 * Horizontal format


 * Vertical format

Wikilinks
Most fields can be wikilinked but should generally only be linked to an existing Wikiquote or Wikipedia article.

Description of fields

 * quote Place the main quotation here, following usual Wikiquote guide lines except the bullet-pointing using *


 * description (optional) Give a short description of the quote or perhaps place it in context. Remember Wikiquote is not an encyclopaedia so keep it brief and make sure it adds to the understanding of the quote.


 * source (optional) Give the source of the quote. If it is not obvious from the page give the name of the person who said the quote here, even if the source isn't known.


 * image (optional) If there is an image which illustrates the quote well then link to it here. Any image will be in the image name space so there is on need to place image: before the file name.
 * image_size (optional) This is only considered if image is used. The default size of the image in the quote box is 100px wide, unless the only fields used are quote and image in which case it is 50px wide. You can override that size here if needed.

Examples
There are many permutations of how Quote box can be used. Only a selection is listed below. The only required field is quote.

Quote, description and source
The Category:Citation templates can be used when providing a source. Note that the author is linked to his Wikipedia page.

Quote, description and image
In this example, the image size has been made smaller than the default 100px. Bare in mind that making an image too large might make the quote box look too empty. If the quote is short than a standard  might work better.

Development
Please view any changes on the regression tests page. These put the template through all 32 combinations of the parameters. There are further notes commented at the start of the source of the template. If you edit this template please be willing to repair or revert any damage that may result.