Difference between revisions of "Template:Infobox union/doc"
Jump to navigation
Jump to search
imported>Nestea Zen m (→Example) |
imported>Funandtrvl (add TD) |
||
| (39 intermediate revisions by 21 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- | + | <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> |
| − | + | {{tlx|Infobox union}} is for use with [[trade union]]s: Local, head, national, and federation. | |
| − | |||
| − | |||
| − | |||
| − | |||
== Usage == | == Usage == | ||
| − | + | {{Parameter names example|name|image|image_size|image_upright|caption|full_name|native_name|native_name_lang|motto|motto_lang|mottoeng|founded|predecessor|successor|current|dissolved_date|dissolved_state|merged_into|members|journal|head|affiliation|people|office|country|website|footnotes}} | |
| − | |||
| − | |||
| − | {{ | ||
| − | | name | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | full_name | ||
| − | | native_name | ||
| − | | | ||
| − | | founded | ||
| − | | current | ||
| − | |||
| − | |||
| − | |||
| − | | head | ||
| − | | office | ||
| − | | | ||
| − | | website | ||
| − | | footnotes | ||
| − | |||
| − | <!-- | + | <pre style="overflow: auto;"> |
| − | === | + | {{Infobox union |
| − | + | | name = | |
| − | + | | image = <!-- union logo preferred, where available --> | |
| − | | | + | | image_size = <!-- default is 200x200px --> |
| − | | | + | | image_upright = |
| − | | | + | | caption = |
| − | | | + | | full_name = |
| − | | | + | | native_name = |
| − | | | + | | native_name_lang = |
| − | | | + | | motto = |
| − | | | + | | motto_lang = |
| − | | | + | | mottoeng = |
| − | | | + | | founded = <!-- {{Start date|YYYY|MM|DD}} --> |
| − | | | + | | predecessor = |
| − | | | + | | successor = |
| − | | | + | | current = |
| − | | office = | + | | dissolved_date = |
| − | | | + | | dissolved_state = |
| − | | website = | + | | merged_into = |
| − | | footnotes = | + | | members = |
| + | | journal = | ||
| + | | head = | ||
| + | | affiliation = | ||
| + | | people = <!-- {{ubl}} if multiple --> | ||
| + | | office = | ||
| + | | country = | ||
| + | | website = <!-- {{URL|example.com}} --> | ||
| + | | footnotes = | ||
}} | }} | ||
| − | |||
| − | |||
</pre> | </pre> | ||
| + | {{clear}} | ||
| + | == Parameters == | ||
| + | All parameters are optional. | ||
| − | + | ; <code>name</code>: Common abbreviation, e.g. CAW or TUC | |
| − | {{ | + | ; <code>image</code>: full image link (preference for union logo where available) |
| + | ; <code>caption</code>: image caption (unnecessary where union logo used as image) | ||
| + | ; <code>full_name</code>: official name, in English | ||
| + | ; <code>native_name</code>: name in native language | ||
| + | ; <code>native_name_lang</code>: native language; use [[List of ISO 639-2 codes|ISO 639-2 code]], e.g. "fr" for French. If there is more than one native name, in different languages, enter those names using {{tl|ubl}}, and wrapping each in {{tl|lang}}, instead. | ||
| + | ; <code>motto</code>: motto, in Latin | ||
| + | ; <code>mottoeng</code>: motto, in English | ||
| + | ; <code>founded</code>: date of establishment/founding; use {{Tlx|Start date}} | ||
| + | ; <code>predecessor</code>: predecessor organizations | ||
| + | ; <code>successor</code>: successor organizations | ||
| + | ; <code>current</code>: date of current affiliation | ||
| + | ; <code>dissolved_date</code>: "date dissolved or "merged into": mutually exclusive of "Current affiliation date" | ||
| + | ; <code>dissolved_state</code>: "Incorporated into", "Merged into" (default) | ||
| + | ; <code>merged_into</code>: Article name of union merged into | ||
| + | ; <code>members</code>: number of members - include date, e.g. 85,000 (2006) | ||
| + | ; <code>journal</code>: title of union journal, if any | ||
| + | ; <code>head</code>: local union only - article name of head union | ||
| + | ; <code>affiliation</code>: name of next highest national or international affiliation. Or "Independent" | ||
| + | ; <code>people</code>: key people; if more than one, use {{Tlx|ubl}} | ||
| + | ; <code>office</code>: primary office location | ||
| + | ; <code>country</code>: name of country/countries of operation. Or "International" | ||
| + | ; <code>website</code>: website address; use {{Tlx|URL}} | ||
| + | ; <code>footnotes</code>: footnotes related to the data in the infobox | ||
== Example == | == Example == | ||
| − | + | {{Infobox union | |
| − | + | | name = LO Sweden | |
| − | + | | members = 1.23 million (2018) | |
| − | + | | full_name = Swedish Trade Union Confederation | |
| − | + | | native_name = Landsorganisationen i Sverige (LO) | |
| − | {{Infobox | + | | native_name_lang = sv |
| − | | name = | + | | image = [[File:Example.svg|frameless]] |
| − | | members = 1. | + | | founded = {{start date and age|1898|8|7|df=y}} |
| − | | full_name = | + | | people = [[Karl-Petter Thorwaldsson]], president |
| − | | native_name = | + | | country = [[Sweden]] |
| − | | image = [[ | + | | affiliation = [[International Trade Union Confederation|ITUC]], [[ETUC]] |
| − | | founded = | + | | website = {{URL|www.lo.se}} |
| − | | country = [[ | + | | footnotes = {{URL|https://www.lo.se/english/startpage}} |
| − | | affiliation = [[ | ||
| − | | website = | ||
| − | | footnotes = | ||
}} | }} | ||
| − | < | + | <pre style="overflow:auto;"> |
| − | + | {{Infobox union | |
| − | + | | name = LO Sweden | |
| − | + | | members = 1.23 million (2018) | |
| − | | | + | | full_name = Swedish Trade Union Confederation |
| − | | | + | | native_name = Landsorganisationen i Sverige (LO) |
| − | | | + | | native_name_lang = sv |
| − | | | + | | image = [[File:Example.svg|frameless]] |
| − | | | + | | founded = {{start date and age|1898|8|7|df=y}} |
| − | | | + | | people = [[Karl-Petter Thorwaldsson]], president |
| − | | people = | + | | country = [[Sweden]] |
| + | | affiliation = [[International Trade Union Confederation|ITUC]], [[ETUC]] | ||
| + | | website = {{URL|www.lo.se}} | ||
| + | | footnotes = {{URL|https://www.lo.se/english/startpage}} | ||
| + | }} | ||
</pre> | </pre> | ||
| − | + | {{clear}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | }} | ||
| − | + | == Microformats == | |
| − | + | {{UF-hcard-org}} | |
| − | |||
| − | + | == TemplateData == | |
| − | | | + | {{TemplateData header}} |
| − | + | <templatedata> | |
| − | + | { | |
| − | + | "format": "{{_\n| ________________ = _\n}}\n", | |
| − | + | "params": { | |
| − | + | "name": {}, | |
| − | + | "image": {}, | |
| − | + | "image_size": {}, | |
| − | + | "image_upright": {}, | |
| − | < | + | "caption": {}, |
| + | "full_name": {}, | ||
| + | "native_name": {}, | ||
| + | "native_name_lang": {}, | ||
| + | "motto": {}, | ||
| + | "motto_lang": {}, | ||
| + | "mottoeng": {}, | ||
| + | "founded": {}, | ||
| + | "predecessor": {}, | ||
| + | "successor": {}, | ||
| + | "current": {}, | ||
| + | "dissolved_date": {}, | ||
| + | "dissolved_state": {}, | ||
| + | "merged_into": {}, | ||
| + | "members": {}, | ||
| + | "journal": {}, | ||
| + | "head": {}, | ||
| + | "affiliation": {}, | ||
| + | "people": {}, | ||
| + | "office": {}, | ||
| + | "country": {}, | ||
| + | "website": {}, | ||
| + | "footnotes": {} | ||
| + | } | ||
| + | } | ||
| + | </templatedata> | ||
| − | == See also == | + | ==See also== |
| − | + | {{Organization infoboxes}} | |
| − | + | <includeonly>{{Sandbox other|| | |
| − | ; | + | <!--Categories below here, please; interwikis to Wikidata.--> |
| − | + | [[Category:Business infobox templates|Union]] | |
| − | < | + | [[Category:Labor templates]] |
| + | [[Category:Organization infobox templates|Union]] | ||
| + | [[Category:Trade union templates]] | ||
| + | }}</includeonly> | ||
Latest revision as of 03:25, 18 September 2020
| File:Edit-copy green.svg | This is a documentation subpage for Template:Infobox union. It contains usage information, categories and other content that is not part of the original template page. |
{{Infobox union}} is for use with trade unions: Local, head, national, and federation.
Usage
Template:Parameter names example
{{Infobox union
| name =
| image = <!-- union logo preferred, where available -->
| image_size = <!-- default is 200x200px -->
| image_upright =
| caption =
| full_name =
| native_name =
| native_name_lang =
| motto =
| motto_lang =
| mottoeng =
| founded = <!-- {{Start date|YYYY|MM|DD}} -->
| predecessor =
| successor =
| current =
| dissolved_date =
| dissolved_state =
| merged_into =
| members =
| journal =
| head =
| affiliation =
| people = <!-- {{ubl}} if multiple -->
| office =
| country =
| website = <!-- {{URL|example.com}} -->
| footnotes =
}}
Parameters
All parameters are optional.
name- Common abbreviation, e.g. CAW or TUC
image- full image link (preference for union logo where available)
caption- image caption (unnecessary where union logo used as image)
full_name- official name, in English
native_name- name in native language
native_name_lang- native language; use ISO 639-2 code, e.g. "fr" for French. If there is more than one native name, in different languages, enter those names using {{ubl}}, and wrapping each in {{lang}}, instead.
motto- motto, in Latin
mottoeng- motto, in English
founded- date of establishment/founding; use
{{Start date}} predecessor- predecessor organizations
successor- successor organizations
current- date of current affiliation
dissolved_date- "date dissolved or "merged into": mutually exclusive of "Current affiliation date"
dissolved_state- "Incorporated into", "Merged into" (default)
merged_into- Article name of union merged into
members- number of members - include date, e.g. 85,000 (2006)
journal- title of union journal, if any
head- local union only - article name of head union
affiliation- name of next highest national or international affiliation. Or "Independent"
people- key people; if more than one, use
{{ubl}} office- primary office location
country- name of country/countries of operation. Or "International"
website- website address; use
{{URL}} footnotes- footnotes related to the data in the infobox
Example
| Full name | Swedish Trade Union Confederation |
|---|---|
| Native name | Landsorganisationen i Sverige (LO) |
| Founded | Template:Start date and age |
| Members | 1.23 million (2018) |
| Affiliation | ITUC, ETUC |
| Key people | Karl-Petter Thorwaldsson, president |
| Country | Sweden |
| Website | Template:URL |
| Template:URL | |
{{Infobox union
| name = LO Sweden
| members = 1.23 million (2018)
| full_name = Swedish Trade Union Confederation
| native_name = Landsorganisationen i Sverige (LO)
| native_name_lang = sv
| image = [[File:Example.svg|frameless]]
| founded = {{start date and age|1898|8|7|df=y}}
| people = [[Karl-Petter Thorwaldsson]], president
| country = [[Sweden]]
| affiliation = [[International Trade Union Confederation|ITUC]], [[ETUC]]
| website = {{URL|www.lo.se}}
| footnotes = {{URL|https://www.lo.se/english/startpage}}
}}
Microformats
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Infobox union
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | no description | Unknown | optional |
| Image | image | no description | Unknown | optional |
| Image_size | image_size | no description | Unknown | optional |
| Image_upright | image_upright | no description | Unknown | optional |
| Caption | caption | no description | Unknown | optional |
| Full_name | full_name | no description | Unknown | optional |
| Native_name | native_name | no description | Unknown | optional |
| Native_name_lang | native_name_lang | no description | Unknown | optional |
| Motto | motto | no description | Unknown | optional |
| Motto_lang | motto_lang | no description | Unknown | optional |
| Mottoeng | mottoeng | no description | Unknown | optional |
| Founded | founded | no description | Unknown | optional |
| Predecessor | predecessor | no description | Unknown | optional |
| Successor | successor | no description | Unknown | optional |
| Current | current | no description | Unknown | optional |
| Dissolved_date | dissolved_date | no description | Unknown | optional |
| Dissolved_state | dissolved_state | no description | Unknown | optional |
| Merged_into | merged_into | no description | Unknown | optional |
| Members | members | no description | Unknown | optional |
| Journal | journal | no description | Unknown | optional |
| Head | head | no description | Unknown | optional |
| Affiliation | affiliation | no description | Unknown | optional |
| People | people | no description | Unknown | optional |
| Office | office | no description | Unknown | optional |
| Country | country | no description | Unknown | optional |
| Website | website | no description | Unknown | optional |
| Footnotes | footnotes | no description | Unknown | optional |
See also
Template:Organization infoboxes