Difference between revisions of "Template:Infobox union/doc"
Jump to navigation
Jump to search
imported>Goldsztajn (include caption parameter) |
imported>Funandtrvl (sync w/template) |
||
| 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 113: | Line 118: | ||
<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> | ||
Revision as of 03:23, 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
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||
See also
Template:Organization infoboxes