Difference between revisions of "Template:Infobox French constituency/doc"

From blackwiki
Jump to navigation Jump to search
imported>Andrybak
(rename parameter "name" to "title" for consistency with Template:Infobox (per Special:Diff/958409273) →‎Parameters: new section)
imported>Andrybak
m (→‎Parameters: clarify some of the parameters)
Line 20: Line 20:
 
: what appears at the top of the infobox.
 
: what appears at the top of the infobox.
 
; {{para|member}}, {{para|member-party}}
 
; {{para|member}}, {{para|member-party}}
: Wikilinks to the parliament member and their party.
+
: Wikilinks to the parliament member and their [[:Category:Political parties in France|party]].
 
=== Optional ===
 
=== Optional ===
 
; {{para|member-type}}
 
; {{para|member-type}}
: Type of the parliament member. Default is "Member".
+
: Type of the parliament member, for example "Deputy". Default is "Member".
 
; {{para|image}}, {{para|image_size}}, {{para|image_alt}}, {{para|caption}}
 
; {{para|image}}, {{para|image_size}}, {{para|image_alt}}, {{para|caption}}
 
: [[Wikipedia:Extended_image_syntax|Filename, size, alt text]], and caption for the image.
 
: [[Wikipedia:Extended_image_syntax|Filename, size, alt text]], and caption for the image.
 
; {{para|map}} {{para|map_size}}, {{para|map_alt}}, {{para|caption2}}
 
; {{para|map}} {{para|map_size}}, {{para|map_alt}}, {{para|caption2}}
: Filename, size, alt text, and caption for the constituency's map.
+
: Filename, size, alt text, and caption for the constituency's map. See [[commons:Category:Election maps of departments of France]].
 
; {{para|party-colour}}
 
; {{para|party-colour}}
 
: Party's colour abbreviated designation according to [[Template:French politics/party colours]], or [[Web colors|custom value]].
 
: Party's colour abbreviated designation according to [[Template:French politics/party colours]], or [[Web colors|custom value]].

Revision as of 17:03, 23 May 2020

Usage

{{Infobox French constituency
| title =
| image =
| map =
| 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.