Difference between revisions of "Template:Infobox French constituency/doc"
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>Newystats (add captions to the usage section) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 5: | Line 5: | ||
| title = | | title = | ||
| image = | | image = | ||
| + | | caption = | ||
| map = | | map = | ||
| + | | caption2 = | ||
| member-type = | | member-type = | ||
| member = | | member = | ||
| Line 20: | Line 22: | ||
: 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]]. | ||
| Line 37: | Line 39: | ||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
<!-- Categories below this line; interwikis at Wikidata --> | <!-- Categories below this line; interwikis at Wikidata --> | ||
| − | [[Category:Constituency templates]] | + | [[Category:Constituency infobox templates]] |
| + | [[Category:France politics and government templates]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 01:30, 14 October 2020
| This is a documentation subpage for Template:Infobox French constituency. It contains usage information, categories and other content that is not part of the original template page. |
Contents
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.