Difference between revisions of "Template:Infobox union"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>Pigsonthewing (add hcard "label" property) |
imported>Goldsztajn (Undid revision 948398423 by Goldsztajn (talk) mistaken edit) |
||
| (39 intermediate revisions by 25 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {| | + | {{Infobox |
| − | | | + | | bodyclass = vcard |
| − | # | + | | titleclass = fn org |
| − | + | | titlestyle = background:#d0e5f5;border-top:1px solid darkgray;border-left:1px solid darkgray;border-right:1px solid darkgray; | |
| − | #if:{{{native_name|}}}|< | + | | title = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} |
| − | #if:{{{ | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|200x200px}}}|upright={{{image_upright|}}}|alt={{{caption|}}}}} |
| − | #if:{{{ | + | | caption = {{{caption|}}} |
| − | #if:{{{ | + | | label1 = Full name |
| − | + | | data1 = {{{full_name|}}} | |
| − | + | | class1 = nickname | |
| − | + | | label2 = Native name | |
| − | + | | data2 = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}} | |
| − | + | | label3 = Motto | |
| − | + | | data3 = {{#if:{{{motto|}}}|{{#if:{{{motto_lang|}}}|<span lang="{{{motto_lang}}}">}}{{{motto}}} {{#if:{{{motto_lang|}}}|</span>}} }} | |
| − | + | | label4 = Motto in English | |
| − | + | | data4 = {{{mottoeng|}}} | |
| − | + | | label5 = Founded | |
| − | + | | data5 = {{{founded|}}} | |
| + | | label6 = Predecessor | ||
| + | | data6 = {{{predecessor|}}} | ||
| + | | label7 = Successor | ||
| + | | data7 = {{{successor|}}} | ||
| + | | label8 = Current affiliation date | ||
| + | | data8 = {{{current|}}} | ||
| + | | label9 = Date dissolved | ||
| + | | data9 = {{{dissolved_date|}}} | ||
| + | | label10 = {{{dissolved_state|Merged into}}} | ||
| + | | data10 = {{{merged_into|}}} | ||
| + | | label11 = Members | ||
| + | | data11 = {{{members|}}} | ||
| + | | label12 = Journal | ||
| + | | data12 = {{{journal|}}} | ||
| + | | label13 = Head union | ||
| + | | data13 = {{{head|}}} | ||
| + | | label14 = Affiliation | ||
| + | | data14 = {{{affiliation|}}} | ||
| + | | label15 = Key people | ||
| + | | data15 = {{{people|}}} | ||
| + | | label16 = Office location | ||
| + | | data16 = {{{office|}}} | ||
| + | | class16 = label | ||
| + | | label17 = Country | ||
| + | | data17 = {{{country|}}} | ||
| + | | label18 = Website | ||
| + | | data18 = {{{website|}}} | ||
| + | |||
| + | | below = {{{footnotes|}}} | ||
| + | }}<noinclude>{{Documentation}}<!-- place category on the /doc sub-page, not here --></noinclude> | ||
Latest revision as of 20:48, 31 March 2020
[[Category:Infobox templates|Template:Remove first word]]
{{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
| The above documentation is transcluded from Template:Infobox union/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |