Difference between revisions of "Template:Infobox union/doc"
Jump to navigation
Jump to search
imported>Goldsztajn (include caption parameter) |
imported>Funandtrvl (add TD) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 4: | Line 4: | ||
== Usage == | == Usage == | ||
| − | {{Parameter names example | + | {{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}} |
| + | |||
<pre style="overflow: auto;"> | <pre style="overflow: auto;"> | ||
{{Infobox union | {{Infobox union | ||
| name = | | name = | ||
| + | | image = <!-- union logo preferred, where available --> | ||
| + | | image_size = <!-- default is 200x200px --> | ||
| + | | image_upright = | ||
| + | | caption = | ||
| full_name = | | full_name = | ||
| native_name = | | native_name = | ||
| native_name_lang = | | native_name_lang = | ||
| motto = | | motto = | ||
| + | | motto_lang = | ||
| mottoeng = | | mottoeng = | ||
| − | + | | founded = <!-- {{Start date|YYYY|MM|DD}} --> | |
| − | |||
| − | | founded = <!-- {{Start date|YYYY|MM|DD | ||
| predecessor = | | predecessor = | ||
| successor = | | successor = | ||
| Line 24: | Line 28: | ||
| members = | | members = | ||
| journal = | | journal = | ||
| − | |||
| head = | | head = | ||
| affiliation = | | affiliation = | ||
| people = <!-- {{ubl}} if multiple --> | | people = <!-- {{ubl}} if multiple --> | ||
| office = | | office = | ||
| + | | country = | ||
| website = <!-- {{URL|example.com}} --> | | website = <!-- {{URL|example.com}} --> | ||
| footnotes = | | footnotes = | ||
}} | }} | ||
</pre> | </pre> | ||
| − | + | {{clear}} | |
== Parameters == | == Parameters == | ||
All parameters are optional. | All parameters are optional. | ||
; <code>name</code>: Common abbreviation, e.g. CAW or TUC | ; <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>full_name</code>: official name, in English | ||
; <code>native_name</code>: name in native language | ; <code>native_name</code>: name in native language | ||
| Line 43: | Line 49: | ||
; <code>motto</code>: motto, in Latin | ; <code>motto</code>: motto, in Latin | ||
; <code>mottoeng</code>: motto, in English | ; <code>mottoeng</code>: motto, in English | ||
| − | |||
| − | |||
; <code>founded</code>: date of establishment/founding; use {{Tlx|Start date}} | ; <code>founded</code>: date of establishment/founding; use {{Tlx|Start date}} | ||
; <code>predecessor</code>: predecessor organizations | ; <code>predecessor</code>: predecessor organizations | ||
| Line 94: | Line 98: | ||
}} | }} | ||
</pre> | </pre> | ||
| + | {{clear}} | ||
== Microformats == | == Microformats == | ||
| Line 102: | Line 107: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| − | |||
"format": "{{_\n| ________________ = _\n}}\n", | "format": "{{_\n| ________________ = _\n}}\n", | ||
"params": { | "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> | </templatedata> | ||
| Line 113: | Line 144: | ||
<includeonly>{{Sandbox other|| | <includeonly>{{Sandbox other|| | ||
| − | |||
<!--Categories below here, please; interwikis to Wikidata.--> | <!--Categories below here, please; interwikis to Wikidata.--> | ||
[[Category:Business infobox templates|Union]] | [[Category:Business infobox templates|Union]] | ||
[[Category:Labor templates]] | [[Category:Labor templates]] | ||
| − | [[Category:Organization infobox templates|Union]][[Category:Trade union templates]] | + | [[Category:Organization infobox templates|Union]] |
| + | [[Category:Trade union templates]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 03:25, 18 September 2020
| 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