Difference between revisions of "Template:Infobox French constituency/doc"
Jump to navigation
Jump to search
imported>Andrybak (move documentation from template's page) |
imported>Andrybak (rename parameter "name" to "title" for consistency with Template:Infobox (per Special:Diff/958409273) →Parameters: new section) |
||
| Line 3: | Line 3: | ||
== Usage == | == Usage == | ||
<syntaxhighlight lang="moin">{{Infobox French constituency | <syntaxhighlight lang="moin">{{Infobox French constituency | ||
| − | | | + | | title = |
| image = | | image = | ||
| map = | | map = | ||
| Line 14: | Line 14: | ||
| 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 party. | ||
| + | === Optional === | ||
| + | ; {{para|member-type}} | ||
| + | : Type of the parliament member. 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. | ||
| + | ; {{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|| | ||
Revision as of 17:00, 23 May 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 =
| 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. 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.
|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.