User:Mehmet Karatay/Quote box

This template contains one or more optional parameters: see the talk page for details.

This template employs some extremely complicated and esoteric features of template syntax. Please do not attempt to alter it unless you are certain that you understand the setup and are prepared to repair any consequent collateral damage if the results are unexpected. Any experiments should be conducted in the sandbox or your user space.


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:

As I stood entranced at this fulfilment of my dearest hopes [of seeing Mount Kenya], I drew a great sigh of satisfaction; and as I said to Brahmi, 'Look!' and pointed to the glittering crystal, I am not very sure but there was something like a tear in my eye.
Thomson was the second European to see Mount Kenya. By the time he did some people were begining to doubt Krapf's reports. Joseph Thomson (1968). Through Masai Land (3 ed.). London: Frank Cass & Co Ltd. 

Usage

edit

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
{{User:Mehmet Karatay/quote box |quote= |description= |source= |image= |image_size= }}
Vertical format
{{User:Mehmet Karatay/quote box
|quote= 
|description= 
|source= 
|image=
|image_size=
}}

Fields

edit
edit

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

Description of fields

edit
  • 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

edit

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

Quote only

edit
{{User:Mehmet Karatay/Quote box
|quote= Only an easy scramble remained and we were there, on the hitherto untrodden summit of Nelion.
}}
Only an easy scramble remained and we were there, on the hitherto untrodden summit of Nelion.

Quote, description and source

edit

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

{{User:Mehmet Karatay/Quote box
|quote= Only an easy scramble remained and we were there, on the hitherto untrodden summit of Nelion.
|description= Eric Shipton made the first ascent of Nelion and the second ascent of Batian in 1929.
|source=  {{cite book
  | author = Eric Shipton
  | authorlink = w:Eric Shipton
  | others = Illustrations by Biro
  | title = That Untravelled World
  | origdate = 1969
  | edition = 2nd edition
  | date = 1977
  | publisher = Hodder and Stoughton
  | location = London
  | isbn = 0-340-21609-3 
 }}
}}
Only an easy scramble remained and we were there, on the hitherto untrodden summit of Nelion.
Eric Shipton made the first ascent of Nelion and the second ascent of Batian in 1929. Eric Shipton (1977). That Untravelled World. Illustrations by Biro (2nd edition ed.). London: Hodder and Stoughton. ISBN 0-340-21609-3. 

Quote, description and image

edit

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 [[Image:|thumb|"quote"]] might work better.

{{User:Mehmet Karatay/Quote box
|quote= Only an easy scramble remained and we were there, on the hitherto untrodden summit of Nelion.
|description= Eric Shipton made the first ascent of Nelion and the second ascent of Batian in 1929.
|image=Mount Kenya.jpg
|image_width=80px
}}
Only an easy scramble remained and we were there, on the hitherto untrodden summit of Nelion.  
Eric Shipton made the first ascent of Nelion and the second ascent of Batian in 1929.

Development

edit

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.