Difference between revisions of "Template:Infobox French constituency/sandbox"
Jump to navigation
Jump to search
imported>Newystats (trying to get 2nd image to work) |
imported>Newystats (map cap2 pop) |
||
| Line 6: | Line 6: | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|alt={{{image_alt|}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|alt={{{image_alt|}}}}} | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| − | | | + | | map = {{#invoke:InfoboxImage|InfoboxImage|image={{{map|}}}|size={{{map_size|}}}|alt={{{map_alt|}}}}} |
| caption2 = {{{caption2|}}} | | caption2 = {{{caption2|}}} | ||
| label1 = {{ifempty|{{{member-type|}}}|Member}} | | label1 = {{ifempty|{{{member-type|}}}|Member}} | ||
| data1 = <table style="width:100%; margin:0; border-spacing:0;"><tr><td style="border:none;background-color:{{French politics/party colours|{{{party-colour|}}}}}"> </td><td style="border:none; padding-left:0.2em;">{{br separated entries|{{{member}}}|{{{member-party}}}}}</td></tr></table> | | data1 = <table style="width:100%; margin:0; border-spacing:0;"><tr><td style="border:none;background-color:{{French politics/party colours|{{{party-colour|}}}}}"> </td><td style="border:none; padding-left:0.2em;">{{br separated entries|{{{member}}}|{{{member-party}}}}}</td></tr></table> | ||
| − | + | | pop = {{{pop|} | |
| label2 = Department | | label2 = Department | ||
| data2 = {{{Department|{{{department|}}}}}} | | data2 = {{{Department|{{{department|}}}}}} | ||
Revision as of 04:32, 14 January 2019
{{Infobox | bodyclass = bordered | title = | subheaderstyle = background: #ADDFAD; padding-left:5px; padding-top:5px;
| subheader =
French National Assembly
constituency
| image = | caption = | map = | caption2 = | label1 = Script error: No such module "If empty".
| data1 =
| {{{member}}} {{{member-party}}} |
| pop = {Template:Pop
| 50px | This is the template sandbox page for Template:Infobox French constituency (diff). See also the companion subpage for test cases. |
50px Template documentation
Usage
{{Infobox French constituency
| name =
| image =
| caption =
| image2 =
| caption2 =
| map =
| member-type =
| member =
| member-party =
| party-colour =
| department =
| canton =
| voters =
}}
| The above documentation is transcluded from Template:Infobox French constituency/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Subpages of this template. |