User:Mehmet Karatay/Quote box/regression tests

Purge this page if you think the display is not up to date. This will force the Wikiquote servers to update all their caches for items used on this page.

This page is intended to contain regression tests for the template:quote box (talk). Please check this page if you modify the source of the template to make sure you did not introduce or expose any bugs. If you edit the template quote box, then please be willing to repair or revert any damage that may result.

For convenience, each parameter is indicated by a letter. The presence of the parameter is indicated by presence of the letter. The letters are as follows:

  • Q: quote
  • S: source
  • D: description
  • I: image
  • X: image_size

Permutations with Q

edit

These are all the possible boxes that can be correctly used in an article.

They have all been repeated twice for each combination to make sure the spacing between them is okay. It is very easy to change the source to inadvertently include unsightly spaces between quote boxes. Unfortunately, this is especially true if white space has been added to the template source to make it easier to follow. Ideally the spacing between boxes will be similar to the spacing of a row with only one line of text.

For the technically minded the html source of the page should be generated as </table> <table> instead of </table> <p> <br /> <p> <table> in between two quotes boxes.

QSDIX

edit
{{User:Mehmet Karatay/Quote box
|quote=The frog jumped over the hill
|source=The lady fairy
|description=The first sentence of a rhyme
|image=Wikiquote-logo.svg
|image_size=40px
}}
The frog jumped over the hill  
The first sentence of a rhyme The lady fairy
The frog jumped over the hill  
The first sentence of a rhyme The lady fairy

QSDI

edit
{{User:Mehmet Karatay/Quote box
|quote=The frog jumped over the hill
|source=The lady fairy
|description=The first sentence of a rhyme
|image=Wikiquote-logo.svg
}}
The frog jumped over the hill  
The first sentence of a rhyme The lady fairy
The frog jumped over the hill  
The first sentence of a rhyme The lady fairy

QSDX

edit
{{User:Mehmet Karatay/Quote box
|quote=The frog jumped over the hill
|source=The lady fairy
|description=The first sentence of a rhyme
|image_size=40px
}}
The frog jumped over the hill
The first sentence of a rhyme The lady fairy
The frog jumped over the hill
The first sentence of a rhyme The lady fairy
{{User:Mehmet Karatay/Quote box
|quote=The frog jumped over the hill
|source=The lady fairy
|description=The first sentence of a rhyme
}}
The frog jumped over the hill
The first sentence of a rhyme The lady fairy
The frog jumped over the hill
The first sentence of a rhyme The lady fairy

QSIX

edit
{{User:Mehmet Karatay/Quote box
|quote=The frog jumped over the hill
|source=The lady fairy
|image=Wikiquote-logo.svg
|image_size=40px
}}
The frog jumped over the hill  
The lady fairy
The frog jumped over the hill  
The lady fairy
{{User:Mehmet Karatay/Quote box
|quote=The frog jumped over the hill
|source=The lady fairy
|image=Wikiquote-logo.svg
}}
The frog jumped over the hill  
 The lady fairy
The frog jumped over the hill  
 The lady fairy
{{User:Mehmet Karatay/Quote box
|quote=The frog jumped over the hill
|source=The lady fairy
|image_size=40px
}}
The frog jumped over the hill
 The lady fairy
The frog jumped over the hill
 The lady fairy
{{User:Mehmet Karatay/Quote box
|quote=The frog jumped over the hill
|source=The lady fairy
}}
The frog jumped over the hill
 The lady fairy
The frog jumped over the hill
 The lady fairy

QDIX

edit
{{User:Mehmet Karatay/Quote box
|quote=The frog jumped over the hill
|description=The first sentence of a rhyme
|image=Wikiquote-logo.svg
|image_size=40px
}}
The frog jumped over the hill  
The first sentence of a rhyme
The frog jumped over the hill  
The first sentence of a rhyme
{{User:Mehmet Karatay/Quote box
|quote=The frog jumped over the hill
|description=The first sentence of a rhyme
|image=Wikiquote-logo.svg
}}
The frog jumped over the hill  
The first sentence of a rhyme
The frog jumped over the hill  
The first sentence of a rhyme
{{User:Mehmet Karatay/Quote box
|quote=The frog jumped over the hill
|description=The first sentence of a rhyme
|image_size=40px
}}
The frog jumped over the hill
The first sentence of a rhyme
The frog jumped over the hill
The first sentence of a rhyme
{{User:Mehmet Karatay/Quote box
|quote=The frog jumped over the hill
|description=The first sentence of a rhyme
}}
The frog jumped over the hill
The first sentence of a rhyme
The frog jumped over the hill
The first sentence of a rhyme
{{User:Mehmet Karatay/Quote box
|quote=The frog jumped over the hill
|image=Wikiquote-logo.svg
|image_size=40px
}}
The frog jumped over the hill  
The frog jumped over the hill  

Note: The default size of the image in this combination is 50px not 100px.

{{User:Mehmet Karatay/Quote box
|quote=The frog jumped over the hill
|image=Wikiquote-logo.svg
}}
The frog jumped over the hill  
The frog jumped over the hill  
{{User:Mehmet Karatay/Quote box
|quote=The frog jumped over the hill
|image_size=40px
}}
The frog jumped over the hill
The frog jumped over the hill
{{User:Mehmet Karatay/Quote box
|quote=The frog jumped over the hill
}}
The frog jumped over the hill
The frog jumped over the hill

Permutations without Q

edit

All of these should produce the same result—a simple warning message. Please have a quick scan, it shouldn't take long. Any white space problems produced by a quote following a quote are not important if the quote is missing; therefore they are not tested for.

SDIX

edit
{{User:Mehmet Karatay/Quote box
|source=The lady fairy
|description=The first sentence of a rhyme
|image=Wikiquote-logo.svg
|image_size=40px
}}
Please ensure you suply a quote using |quote = a quote
{{User:Mehmet Karatay/Quote box
|source=The lady fairy
|description=The first sentence of a rhyme
|image=Wikiquote-logo.svg
}}
Please ensure you suply a quote using |quote = a quote
{{User:Mehmet Karatay/Quote box
|source=The lady fairy
|description=The first sentence of a rhyme
|image_size=40px
}}
Please ensure you suply a quote using |quote = a quote
{{User:Mehmet Karatay/Quote box
|source=The lady fairy
|description=The first sentence of a rhyme
}}
Please ensure you suply a quote using |quote = a quote
{{User:Mehmet Karatay/Quote box
|source=The lady fairy
|image=Wikiquote-logo.svg
|image_size=40px
}}
Please ensure you suply a quote using |quote = a quote
{{User:Mehmet Karatay/Quote box
|source=The lady fairy
|image=Wikiquote-logo.svg
}}
Please ensure you suply a quote using |quote = a quote
{{User:Mehmet Karatay/Quote box
|source=The lady fairy
|image_size=40px
}}
Please ensure you suply a quote using |quote = a quote
{{User:Mehmet Karatay/Quote box
|source=The lady fairy
}}
Please ensure you suply a quote using |quote = a quote
{{User:Mehmet Karatay/Quote box
|description=The first sentence of a rhyme
|image=Wikiquote-logo.svg
|image_size=40px
}}
Please ensure you suply a quote using |quote = a quote
{{User:Mehmet Karatay/Quote box
|description=The first sentence of a rhyme
|image=Wikiquote-logo.svg
}}
Please ensure you suply a quote using |quote = a quote
{{User:Mehmet Karatay/Quote box
|description=The first sentence of a rhyme
|image_size=40px
}}
Please ensure you suply a quote using |quote = a quote
{{User:Mehmet Karatay/Quote box
|description=The first sentence of a rhyme
}}
Please ensure you suply a quote using |quote = a quote
{{User:Mehmet Karatay/Quote box
|image=Wikiquote-logo.svg
|image_size=40px
}}
Please ensure you suply a quote using |quote = a quote
{{User:Mehmet Karatay/Quote box
|image=Wikiquote-logo.svg
}}
Please ensure you suply a quote using |quote = a quote
{{User:Mehmet Karatay/Quote box
|image_size=40px
}}
Please ensure you suply a quote using |quote = a quote

empty

edit
{{User:Mehmet Karatay/Quote box
}}
Please ensure you suply a quote using |quote = a quote


Specific problems

edit

If problems are found which are not due to the perumtaions put them in here so they can easily be tested for. Describe each problem at the start of the subsection.

Image too large

edit

If the image size supplied becomes to wide in QSDIX, then the size of the source box becomes small. This is especially likely if the image used is panoramic. Initially, the divider between the descriptino and the source stays in the same location, but then as the image gets larger it is pushed further left. There is currently no solution to this problem.

Normal example:

{{User:Mehmet Karatay/Quote box
|quote=The frog jumped over the hill
|source=The lady fairy
|description=The first sentence of a rhyme
|image=Wikiquote-logo.svg
|image_size=100px
}}
The frog jumped over the hill  
The first sentence of a rhyme The lady fairy

Image size larger, but description source divider in same location as above:

{{User:Mehmet Karatay/Quote box
|quote=The frog jumped over the hill
|source=The lady fairy
|description=The first sentence of a rhyme
|image=Wikiquote-logo.svg
|image_size=200px
}}
The frog jumped over the hill  
The first sentence of a rhyme The lady fairy

Image size very large, description source divider pushed left and source column is too small:

{{User:Mehmet Karatay/Quote box
|quote=The frog jumped over the hill
|source=The lady fairy
|description=The first sentence of a rhyme
|image=Wikiquote-logo.svg
|image_size=500px
}}
The frog jumped over the hill  
The first sentence of a rhyme The lady fairy