Difference between revisions of "Template:Infobox French constituency"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
m
imported>Andrybak
(move documentation to /doc subpage)
Line 21: Line 21:
  
 
}}<noinclude>
 
}}<noinclude>
{{documentation|content=
+
{{documentation}}
== Usage ==
+
</noinclude>
<pre>{{Infobox French constituency
 
| name =
 
| image =
 
| map =
 
| member-type =
 
| member =
 
| member-party =
 
| party-colour =
 
| department =
 
| cantons =
 
| voters =
 
}}</pre>
 
[[Category:Constituency templates]]
 
}}</noinclude>
 

Revision as of 16:40, 23 May 2020

French National Assembly
constituency
Script error: No such module "If empty".
 {{{member}}}
{{{member-party}}}

[[Category:Infobox templates|Template:Remove first word]]

50px Template documentation[view] [edit] [history] [purge]

Usage

{{Infobox French constituency
| title =
| image =
| caption = 
| map =
| caption2 = 
| member-type =
| member =
| member-party =
| party-colour =
| department =
| cantons =
| voters =
}}

Parameters

Mandatory

|title=
what appears at the top of the infobox.
|member=, |member-party=
Wikilinks to the parliament member and their party.

Optional

|member-type=
Type of the parliament member, for example "Deputy". Default is "Member".
|image=, |image_size=, |image_alt=, |caption=
Filename, size, alt text, and caption for the image.
|map= |map_size=, |map_alt=, |caption2=
Filename, size, alt text, and caption for the constituency's map. See commons:Category:Election maps of departments of France.
|party-colour=
Party's colour abbreviated designation according to Template:French politics/party colours, or custom value.
|department= and |cantons=
Divisions of France.
|voters=
Number of voters in the constituency.