Difference between revisions of "Template:Infobox cabinet members/testcases"
Jump to navigation
Jump to search
imported>Zackmann08 |
imported>Frietjes |
||
| Line 2: | Line 2: | ||
__notoc__ | __notoc__ | ||
==First testcase== | ==First testcase== | ||
| − | {{ | + | {{testcase table|_style=width:100% |
| − | {{ | + | |above={{{above}}}|topimage={{{topimage}}}|topcaption={{{topcaption}}}|image={{{image}}}|caption={{{caption}}}|party_column=true |name_style=font-weight:bold; |
| − | {{ | + | |office1={{{office1}}}|name1a={{{name1a}}}|party1a={{{party1a}}}|term1a={{{term1a}}}|name1b={{{name1b}}}|party1b={{{party1b}}}|term1b={{{term1b}}}|name1c={{{name1c}}}|party1c={{{party1c}}}|term1c={{{term1c}}}|name1d={{{name1d}}}|party1d={{{party1d}}}|term1d={{{term1d}}}|name1e={{{name1e}}}|party1e={{{party1e}}}|term1e={{{term1e}}} |
| − | + | |office2={{{office2}}}|name2a={{{name2a}}}|party2a={{{party2a}}}|term2a={{{term2a}}}|name2b={{{name2b}}}|party2b={{{party2b}}}|term2b={{{term2b}}} | |
| − | |office1 |name1a |party1a |term1a |name1b |party1b |term1b |name1c |party1c |term1c |name1d |party1d |term1d |name1e |party1e |term1e | + | |office3={{{office3}}}|name3a={{{name3a}}}|party3a={{{party3a}}}|term3a={{{term3a}}}|name3b={{{name3b}}}|party3b={{{party3b}}}|term3b={{{term3b}}}|name3c={{{name3c}}}|party3c={{{party3c}}}|term3c={{{term3c}}}|name3d={{{name3d}}}|party3d={{{party3d}}}|term3d={{{term3d}}} |
| − | |office2 |name2a |party2a |term2a |name2b |party2b |term2b | + | |below={{{below}}} |
| − | |office3 |name3a |party3a |term3a |name3b |party3b |term3b |name3c |party3c |term3c |name3d |party3d |term3d | ||
| − | | below | ||
}} | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Override labels== | ==Override labels== | ||
| − | {{ | + | {{testcase table|_style=width:100% |
| − | {{ | + | |above={{{above}}}|topimage={{{topimage}}}|topcaption={{{topcaption}}}|image={{{image}}}|caption={{{caption}}}|party_column=true |name_style=font-weight:bold; |
| − | {{ | + | |office_label={{{office_label}}}|name_label={{{name_label}}}|party_label={{{party_label}}}|term_label={{{term_label}}} |
| − | + | |office1={{{office1}}}|name1a={{{name1a}}}|party1a={{{party1a}}}|term1a={{{term1a}}}|name1b={{{name1b}}}|party1b={{{party1b}}}|term1b={{{term1b}}}|name1c={{{name1c}}}|party1c={{{party1c}}}|term1c={{{term1c}}}|name1d={{{name1d}}}|party1d={{{party1d}}}|term1d={{{term1d}}}|name1e={{{name1e}}}|party1e={{{party1e}}}|term1e={{{term1e}}} | |
| − | | office_label | name_label | party_label| term_label | + | |below={{{below}}} |
| − | | office1 |name1a |party1a |term1a |name1b |party1b |term1b |name1c |party1c |term1c |name1d |party1d |term1d |name1e |party1e |term1e | ||
| − | | below | ||
}} | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==No party column == | ==No party column == | ||
| − | {{ | + | {{testcase table|_style=width:100% |
| − | {{ | + | |above={{{above}}}|topimage={{{topimage}}}|topcaption={{{topcaption}}}|image={{{image}}}|caption={{{caption}}}|party_column =|name_style=font-weight:bold; |
| − | {{ | + | |office_label={{{office_label}}}|name_label={{{name_label}}}|party_label={{{party_label}}}|term_label={{{term_label}}} |
| − | + | |office1={{{office1}}}|name1a={{{name1a}}}|party1a={{{party1a}}}|term1a={{{term1a}}}|name1b={{{name1b}}}|party1b={{{party1b}}}|term1b={{{term1b}}}|name1c={{{name1c}}}|party1c={{{party1c}}}|term1c={{{term1c}}}|name1d={{{name1d}}}|party1d={{{party1d}}}|term1d={{{term1d}}}|name1e={{{name1e}}}|party1e={{{party1e}}}|term1e={{{term1e}}} | |
| − | | office_label | name_label | party_label| term_label | + | |below={{{below}}} |
| − | | office1 |name1a |party1a |term1a |name1b |party1b |term1b |name1c |party1c |term1c |name1d |party1d |term1d |name1e |party1e |term1e | ||
| − | | below | ||
}} | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{{Collapse top|title= Alignment}} | {{Collapse top|title= Alignment}} | ||
==Align left== | ==Align left== | ||
| − | {{ | + | {{testcase table|_style=width:100% |
| − | {{ | + | |above={{{above}}}|topimage={{{topimage}}}|topcaption={{{topcaption}}}|image={{{image}}}|caption={{{caption}}}|party_column =|name_style=font-weight:bold; | float=left |
| − | {{ | + | |office_label={{{office_label}}}|name_label={{{name_label}}}|party_label={{{party_label}}}|term_label={{{term_label}}} |
| − | + | |office1={{{office1}}}|name1a={{{name1a}}}|party1a={{{party1a}}}|term1a={{{term1a}}}|name1b={{{name1b}}}|party1b={{{party1b}}}|term1b={{{term1b}}}|name1c={{{name1c}}}|party1c={{{party1c}}}|term1c={{{term1c}}}|name1d={{{name1d}}}|party1d={{{party1d}}}|term1d={{{term1d}}}|name1e={{{name1e}}}|party1e={{{party1e}}}|term1e={{{term1e}}} | |
| − | | office_label | name_label | party_label| term_label | + | |below={{{below}}} |
| − | | office1 |name1a |party1a |term1a |name1b |party1b |term1b |name1c |party1c |term1c |name1d |party1d |term1d |name1e |party1e |term1e | ||
| − | | below | ||
}} | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Align center== | ==Align center== | ||
| − | {{ | + | {{testcase table|_style=width:100% |
| − | {{ | + | |above={{{above}}}|topimage={{{topimage}}}|topcaption={{{topcaption}}}|image={{{image}}}|caption={{{caption}}}|party_column =|name_style=font-weight:bold; | float=center |
| − | {{ | + | |office_label={{{office_label}}}|name_label={{{name_label}}}|party_label={{{party_label}}}|term_label={{{term_label}}} |
| − | + | |office1={{{office1}}}|name1a={{{name1a}}}|party1a={{{party1a}}}|term1a={{{term1a}}}|name1b={{{name1b}}}|party1b={{{party1b}}}|term1b={{{term1b}}}|name1c={{{name1c}}}|party1c={{{party1c}}}|term1c={{{term1c}}}|name1d={{{name1d}}}|party1d={{{party1d}}}|term1d={{{term1d}}}|name1e={{{name1e}}}|party1e={{{party1e}}}|term1e={{{term1e}}} | |
| − | | office_label | name_label | party_label| term_label | + | |below={{{below}}} |
| − | | office1 |name1a |party1a |term1a |name1b |party1b |term1b |name1c |party1c |term1c |name1d |party1d |term1d |name1e |party1e |term1e | ||
| − | | below | ||
}} | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Align right== | ==Align right== | ||
| − | {{ | + | {{testcase table|_style=width:100% |
| − | {{ | + | |above={{{above}}}|topimage={{{topimage}}}|topcaption={{{topcaption}}}|image={{{image}}}|caption={{{caption}}}|party_column =|name_style=font-weight:bold; | float=right |
| − | {{ | + | |office_label={{{office_label}}}|name_label={{{name_label}}}|party_label={{{party_label}}}|term_label={{{term_label}}} |
| − | + | |office1={{{office1}}}|name1a={{{name1a}}}|party1a={{{party1a}}}|term1a={{{term1a}}}|name1b={{{name1b}}}|party1b={{{party1b}}}|term1b={{{term1b}}}|name1c={{{name1c}}}|party1c={{{party1c}}}|term1c={{{term1c}}}|name1d={{{name1d}}}|party1d={{{party1d}}}|term1d={{{term1d}}}|name1e={{{name1e}}}|party1e={{{party1e}}}|term1e={{{term1e}}} | |
| − | | office_label | name_label | party_label| term_label | + | |below={{{below}}} |
| − | | office1 |name1a |party1a |term1a |name1b |party1b |term1b |name1c |party1c |term1c |name1d |party1d |term1d |name1e |party1e |term1e | ||
| − | | below | ||
}} | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Align none== | ==Align none== | ||
| − | {{ | + | {{testcase table|_style=width:100% |
| − | {{ | + | |above={{{above}}}|topimage={{{topimage}}}|topcaption={{{topcaption}}}|image={{{image}}}|caption={{{caption}}}|party_column =|name_style=font-weight:bold; | float=none |
| − | {{ | + | |office_label={{{office_label}}}|name_label={{{name_label}}}|party_label={{{party_label}}}|term_label={{{term_label}}} |
| − | + | |office1={{{office1}}}|name1a={{{name1a}}}|party1a={{{party1a}}}|term1a={{{term1a}}}|name1b={{{name1b}}}|party1b={{{party1b}}}|term1b={{{term1b}}}|name1c={{{name1c}}}|party1c={{{party1c}}}|term1c={{{term1c}}}|name1d={{{name1d}}}|party1d={{{party1d}}}|term1d={{{term1d}}}|name1e={{{name1e}}}|party1e={{{party1e}}}|term1e={{{term1e}}} | |
| − | + | |below={{{below}}} | |
| − | |||
| − | |||
| − | |||
| − | {{ | ||
| − | {{ | ||
| − | |||
| − | |||
| − | | office_label | name_label | party_label| term_label | ||
| − | | office1 |name1a |party1a |term1a |name1b |party1b |term1b |name1c |party1c |term1c |name1d |party1d |term1d |name1e |party1e |term1e | ||
| − | | below | ||
}} | }} | ||
| − | + | {{Collapse bottom}} | |
| − | {{Collapse bottom | ||
==U.S. Cabinet == | ==U.S. Cabinet == | ||
| − | {{ | + | {{testcase table|_style=width:100%|_template=Infobox U.S. Cabinet|_template2=Infobox U.S. Cabinet/sandbox |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
|align=none | |align=none | ||
|Name=Adams | |Name=Adams | ||
| Line 194: | Line 84: | ||
|Navy end=1829 | |Navy end=1829 | ||
}} | }} | ||
| − | |||
Revision as of 23:16, 21 September 2018
| 42px | This is the template test cases page for the sandbox of Template:Infobox cabinet members. 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: |
First testcase
Override labels
No party column
Alignment
|
|---|
Align leftAlign centerAlign rightAlign none |