Difference between revisions of "Template:Infobox legislature/testcases"
Jump to navigation
Jump to search
imported>Zyxw (→Image tests: update formatting, add descriptions) |
imported>Frietjes (replace per tfm of colorbox) |
||
Line 38: | Line 38: | ||
{{unbulleted list |class=nowrap | {{unbulleted list |class=nowrap | ||
| ''Majority'' {{smaller|(55)}} | | ''Majority'' {{smaller|(55)}} | ||
− | | {{ | + | | {{color box|#000090}} [[Democratic Party (United States)|Democratic]] {{smaller|(53)}} |
− | | {{ | + | | {{color box|#7174e0}} [[Independent politician|Independent]] {{smaller|(2)}} |
}} | }} | ||
{{unbulleted list |class=nowrap |style=padding-top:0.3em; | {{unbulleted list |class=nowrap |style=padding-top:0.3em; | ||
| ''Minority'' | | ''Minority'' | ||
− | | {{ | + | | {{color box|#900000}} [[Republican Party (United States)|Republican]] {{smaller|(45)}} |
}} <!--- | }} <!--- | ||
{{unbulleted list |class=nowrap |style=padding-top:0.3em; | {{unbulleted list |class=nowrap |style=padding-top:0.3em; | ||
− | | {{ | + | | {{color box|#FFFFFF}} ''vacant'' {{smaller|(0)}} |
}} ----> | }} ----> | ||
| term_length = 6 years | | term_length = 6 years |
Latest revision as of 15:20, 29 September 2016
![]() | 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: |
Contents
United States Senate
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
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)