Difference between revisions of "Template:Infobox cabinet members/testcases"
Jump to navigation
Jump to search
imported>Frietjes |
imported>Frietjes |
||
| Line 27: | Line 27: | ||
{{Collapse top|title= Alignment}} | {{Collapse top|title= Alignment}} | ||
==Align left== | ==Align left== | ||
| − | {{testcase table|_style=width:100% | + | {{testcase table|_style=width:100%|_after={{lorem}} |
|above={{{above}}}|topimage={{{topimage}}}|topcaption={{{topcaption}}}|image={{{image}}}|caption={{{caption}}}|party_column =|name_style=font-weight:bold; | float=left | |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}}} | |office_label={{{office_label}}}|name_label={{{name_label}}}|party_label={{{party_label}}}|term_label={{{term_label}}} | ||
| Line 34: | Line 34: | ||
}} | }} | ||
==Align center== | ==Align center== | ||
| − | {{testcase table|_style=width:100% | + | {{testcase table|_style=width:100%|_after={{lorem}} |
|above={{{above}}}|topimage={{{topimage}}}|topcaption={{{topcaption}}}|image={{{image}}}|caption={{{caption}}}|party_column =|name_style=font-weight:bold; | float=center | |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}}} | |office_label={{{office_label}}}|name_label={{{name_label}}}|party_label={{{party_label}}}|term_label={{{term_label}}} | ||
| Line 41: | Line 41: | ||
}} | }} | ||
==Align right== | ==Align right== | ||
| − | {{testcase table|_style=width:100% | + | {{testcase table|_style=width:100%|_after={{lorem}} |
|above={{{above}}}|topimage={{{topimage}}}|topcaption={{{topcaption}}}|image={{{image}}}|caption={{{caption}}}|party_column =|name_style=font-weight:bold; | float=right | |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}}} | |office_label={{{office_label}}}|name_label={{{name_label}}}|party_label={{{party_label}}}|term_label={{{term_label}}} | ||
| Line 48: | Line 48: | ||
}} | }} | ||
==Align none== | ==Align none== | ||
| − | {{testcase table|_style=width:100% | + | {{testcase table|_style=width:100%|_after={{lorem}} |
|above={{{above}}}|topimage={{{topimage}}}|topcaption={{{topcaption}}}|image={{{image}}}|caption={{{caption}}}|party_column =|name_style=font-weight:bold; | float=none | |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}}} | |office_label={{{office_label}}}|name_label={{{name_label}}}|party_label={{{party_label}}}|term_label={{{term_label}}} | ||
Latest revision as of 23:18, 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 |