Difference between revisions of "Template:Infobox legislature/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(additional image tests)
imported>Zyxw
(→‎Image tests: update formatting, add descriptions)
Line 57: Line 57:
 
}}
 
}}
  
== Image tests ==
+
== Images test: widths without px ==
 +
 
 +
* width of first two images is set to 150 by this test case
 +
* width of middle two images is set to 250 by this test case
 +
* width of last two images is set to 150 by this test case
  
=== Widths without px ===
 
 
{{Testcase table
 
{{Testcase table
 
| name = image test
 
| name = image test
Line 85: Line 88:
 
| meeting_place2 = second session room image
 
| meeting_place2 = second session room image
 
}}
 
}}
 +
 +
== Images test: width not specified ==
 +
 +
* width of first two images is 75% of default, due to ''upright'' set in template (220 * 0.75 rounded to nearest 10 = 170px, will vary if thumbnail size is changed in [[Special:Preferences]]; see {{section link|Wikipedia:Extended image syntax|Size}})
 +
* width of middle two images is 120px, due a default set in template
 +
* width of last two images set is default (220px for users who have not changed preferences or are not logged in)
  
 
=== Empty width parameters ===
 
=== Empty width parameters ===
 +
 
{{Testcase table
 
{{Testcase table
 
| name = image test
 
| name = image test
Line 114: Line 124:
  
 
=== Undefined width parameters===
 
=== Undefined width parameters===
 +
 
{{Testcase table
 
{{Testcase table
 
| name = image test
 
| name = image test

Revision as of 12:48, 3 September 2015

United States Senate

Template:Testcase table

Images test: widths without px

  • width of first two images is set to 150 by this test case
  • width of middle two images is set to 250 by this test case
  • width of last two images is set to 150 by this test case

Template:Testcase table

Images test: width not specified

  • width of first two images is 75% of default, due to upright set in template (220 * 0.75 rounded to nearest 10 = 170px, will vary if thumbnail size is changed in Special:Preferences; see Script error: No such module "Section link".)
  • width of middle two images is 120px, due a default set in template
  • width of last two images set is default (220px for users who have not changed preferences or are not logged in)

Empty width parameters

Template:Testcase table

Undefined width parameters

Template:Testcase table