Difference between revisions of "Template:Infobox French constituency/doc"
Jump to navigation
Jump to search
imported>Andrybak (move documentation from template's page) |
imported>Newystats (add captions to the usage section) |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
== Usage == | == Usage == | ||
<syntaxhighlight lang="moin">{{Infobox French constituency | <syntaxhighlight lang="moin">{{Infobox French constituency | ||
| − | | | + | | title = |
| image = | | image = | ||
| + | | caption = | ||
| map = | | map = | ||
| + | | caption2 = | ||
| member-type = | | member-type = | ||
| member = | | member = | ||
| Line 14: | Line 16: | ||
| voters = | | voters = | ||
}}</syntaxhighlight> | }}</syntaxhighlight> | ||
| + | |||
| + | == Parameters == | ||
| + | === Mandatory === | ||
| + | ; {{para|title}} | ||
| + | : what appears at the top of the infobox. | ||
| + | ; {{para|member}}, {{para|member-party}} | ||
| + | : Wikilinks to the parliament member and their [[:Category:Political parties in France|party]]. | ||
| + | === Optional === | ||
| + | ; {{para|member-type}} | ||
| + | : Type of the parliament member, for example "Deputy". Default is "Member". | ||
| + | ; {{para|image}}, {{para|image_size}}, {{para|image_alt}}, {{para|caption}} | ||
| + | : [[Wikipedia:Extended_image_syntax|Filename, size, alt text]], and caption for the image. | ||
| + | ; {{para|map}} {{para|map_size}}, {{para|map_alt}}, {{para|caption2}} | ||
| + | : Filename, size, alt text, and caption for the constituency's map. See [[commons:Category:Election maps of departments of France]]. | ||
| + | ; {{para|party-colour}} | ||
| + | : Party's colour abbreviated designation according to [[Template:French politics/party colours]], or [[Web colors|custom value]]. | ||
| + | ; {{para|department}} and {{para|cantons}} | ||
| + | : [[Administrative divisions of France|Divisions of France]]. | ||
| + | ; {{para|voters}} | ||
| + | : Number of voters in the constituency. | ||
<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.