Difference between revisions of "Template:Infobox legislature/testcases"
Jump to navigation
Jump to search
imported>Zyxw (add an image test) |
imported>Zyxw (additional image tests) |
||
Line 57: | Line 57: | ||
}} | }} | ||
− | == | + | == Image tests == |
+ | === Widths without px === | ||
{{Testcase table | {{Testcase table | ||
| name = image test | | name = image test | ||
Line 70: | Line 71: | ||
| logo_caption = Flag of the United States Senate | | logo_caption = Flag of the United States Senate | ||
| structure1 = 113th United States Senate Structure.svg | | structure1 = 113th United States Senate Structure.svg | ||
− | | structure1_res = | + | | structure1_res = 250 |
| structure1_alt = place description of image here | | structure1_alt = place description of image here | ||
| structure2 = 42nd Senate.png | | structure2 = 42nd Senate.png | ||
− | | structure2_res = | + | | structure2_res = 250 |
| structure2_alt = place description of image here | | structure2_alt = place description of image here | ||
| session_room = 111th US Senate class photo.jpg | | session_room = 111th US Senate class photo.jpg | ||
Line 81: | Line 82: | ||
| session_room2 = US_Senate_Chamber_c1873.jpg | | session_room2 = US_Senate_Chamber_c1873.jpg | ||
| session_res2 = 150 | | session_res2 = 150 | ||
+ | | session_alt2 = place description of image here | ||
+ | | meeting_place2 = second session room image | ||
+ | }} | ||
+ | |||
+ | === Empty width parameters === | ||
+ | {{Testcase table | ||
+ | | name = image test | ||
+ | | coa_pic = Seal of the United States Senate.svg | ||
+ | | coa_res = | ||
+ | | coa_alt = place description of image here | ||
+ | | coa_caption = Seal of the United States Senate | ||
+ | | logo_pic = Flag of the United States Senate.svg | ||
+ | | logo_res = | ||
+ | | logo_alt = place description of image here | ||
+ | | logo_caption = Flag of the United States Senate | ||
+ | | structure1 = 113th United States Senate Structure.svg | ||
+ | | structure1_res = | ||
+ | | structure1_alt = place description of image here | ||
+ | | structure2 = 42nd Senate.png | ||
+ | | structure2_res = | ||
+ | | structure2_alt = place description of image here | ||
+ | | session_room = 111th US Senate class photo.jpg | ||
+ | | session_res = | ||
+ | | session_alt = place description of image here | ||
+ | | meeting_place = first session room image | ||
+ | | session_room2 = US_Senate_Chamber_c1873.jpg | ||
+ | | session_res2 = | ||
+ | | session_alt2 = place description of image here | ||
+ | | meeting_place2 = second session room image | ||
+ | }} | ||
+ | |||
+ | === Undefined width parameters=== | ||
+ | {{Testcase table | ||
+ | | name = image test | ||
+ | | coa_pic = Seal of the United States Senate.svg | ||
+ | | coa_alt = place description of image here | ||
+ | | coa_caption = Seal of the United States Senate | ||
+ | | logo_pic = Flag of the United States Senate.svg | ||
+ | | logo_alt = place description of image here | ||
+ | | logo_caption = Flag of the United States Senate | ||
+ | | structure1 = 113th United States Senate Structure.svg | ||
+ | | structure1_alt = place description of image here | ||
+ | | structure2 = 42nd Senate.png | ||
+ | | structure2_alt = place description of image here | ||
+ | | session_room = 111th US Senate class photo.jpg | ||
+ | | session_alt = place description of image here | ||
+ | | meeting_place = first session room image | ||
+ | | session_room2 = US_Senate_Chamber_c1873.jpg | ||
| session_alt2 = place description of image here | | session_alt2 = place description of image here | ||
| meeting_place2 = second session room image | | meeting_place2 = second session room image | ||
}} | }} |
Revision as of 11:31, 3 September 2015
![]() | This is the template test cases page for the sandbox of Template:Infobox legislature. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |