Difference between revisions of "Template:Infobox union/doc"

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
imported>Funandtrvl
(add TD)
 
(33 intermediate revisions by 17 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
+
<!-- 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.
  
{{tl|infobox union}} is for use with [[trade union]]s: Local, head, national, and federation.
+
== 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}}
  
=== Usage ===
+
<pre style="overflow: auto;">
 
+
{{Infobox union
<pre>
+
| name             =
{{ infobox union
+
| image           = <!-- union logo preferred, where available -->
| name            =  
+
| image_size      = <!-- default is 200x200px -->
| country        =  
+
| image_upright    =
| affiliation    =  
+
| caption          =
| members        =  
+
| full_name       =  
| full_name       =  
+
| native_name     =
| native_name     =  
+
| native_name_lang =
| image          =  
+
| motto            =  
| founded         = <!-- {{Start date|YYYY|MM|DD}}} -->
+
| motto_lang      =
| current         =  
+
| mottoeng        =  
| dissolved_date =  
+
| founded         = <!-- {{Start date|YYYY|MM|DD}} -->
| dissolved_state =  
+
| predecessor      =
| merged_into     =  
+
| successor        =
| head           =  
+
| current         =  
| office         =  
+
| dissolved_date   =  
| people         =  
+
| dissolved_state =  
| website         = <!-- {{URL|example.com}} -->
+
| merged_into     =
| footnotes       =  
+
| members          =
 +
| journal          =
 +
| head             =
 +
| affiliation      =
 +
| people          = <!-- {{ubl}} if multiple -->
 +
| office           =  
 +
| country         =  
 +
| website         = <!-- {{URL|example.com}} -->
 +
| 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>country</code>: name of country/countries of operation. Or "International"
+
; <code>image</code>: full image link (preference for union logo where available)
; <code>affiliation</code>: name of next highest national or international affiliation. Or "Independent"
+
; <code>caption</code>: image caption (unnecessary where union logo used as image)
; <code>members</code>: number of members - include date, eg. 85,000 (2006)
 
 
; <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
; <code>image</code>: full image link
+
; <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>founded</code>: date of establishment/founding
+
; <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>current</code>: date of current affiliation
 
; <code>dissolved_date</code>: "date dissolved or "merged into": mutually exclusive of "Current affiliation date"
 
; <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>dissolved_state</code>: "Incorporated into", "Merged into" (default)
 
; <code>merged_into</code>: Article name of union merged into
 
; <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>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>office</code>: primary office location
; <code>people</code>: key people
+
; <code>country</code>: name of country/countries of operation. Or "International"
; <code>website</code>: website address
+
; <code>website</code>: website address; use {{Tlx|URL}}
 
; <code>footnotes</code>: footnotes related to the data in the infobox
 
; <code>footnotes</code>: footnotes related to the data in the infobox
  
=== Examples ===
+
== Example ==
{{ infobox union
+
{{Infobox union
| name        = Solidarity
+
| name        = LO Sweden
| members    = 1.185.000 (2006)
+
| members    = 1.23 million (2018)
| full_name  = Independent Self-governing Trade Union - Solidarity   
+
| full_name  = Swedish Trade Union Confederation 
| native_name = Niezależny Samorządny Związek Zawodowy "Solidarność"
+
| native_name = Landsorganisationen i Sverige (LO)
| image      = [[file:Example.png|frameless]]  
+
| native_name_lang =  sv
| founded    = September 1980
+
| image      = [[File:Example.svg|frameless]]      
| country    = [[Poland]]
+
| founded    = {{start date and age|1898|8|7|df=y}}
| affiliation = [[ICFTU]], [[World Confederation of Labour|WCL]], [[ETUC]], [[TUAC]]
+
| people      = [[Karl-Petter Thorwaldsson]], president
| website    = [http://www.solidarnosc.org.pl www.solidarnosc.org.pl ]
+
| country    = [[Sweden]]
| footnotes  = [http://www.solidarnosc.org.pl/english/about/eng_about_04.htm 1]
+
| affiliation = [[International Trade Union Confederation|ITUC]], [[ETUC]]
 +
| website    = {{URL|www.lo.se}}
 +
| footnotes  = {{URL|https://www.lo.se/english/startpage}}
 
}}
 
}}
  
<pre>
+
<pre style="overflow:auto;">
{{ infobox union
+
{{Infobox union
| name        = Solidarity
+
| name        = LO Sweden
| members    = 1.185.000 (2006)
+
| members    = 1.23 million (2018)
| full_name  = Independent Self-governing Trade Union - Solidarity   
+
| full_name  = Swedish Trade Union Confederation 
| native_name = Niezależny Samorządny Związek Zawodowy "Solidarność"
+
| native_name = Landsorganisationen i Sverige (LO)
| image      = [[file:Example.png|frameless]]  
+
| native_name_lang =  sv
| founded    = September 1980
+
| image      = [[File:Example.svg|frameless]]  
| country    = [[Poland]]
+
| founded    = {{start date and age|1898|8|7|df=y}}
| affiliation = [[ICFTU]], [[World Confederation of Labour|WCL]], [[ETUC]], [[TUAC]]
+
| people      = [[Karl-Petter Thorwaldsson]], president
| website    = [http://www.solidarnosc.org.pl www.solidarnosc.org.pl ]
+
| country    = [[Sweden]]
| footnotes  = [http://www.solidarnosc.org.pl/english/about/eng_about_04.htm 1]
+
| 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}}
  
=== Microformats ===
+
== 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>
  
{{UF-hcard-org}}
+
==See also==
 +
{{Organization infoboxes}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
[[Category:Society and social science infobox templates|Union]]
+
<!--Categories below here, please; interwikis to Wikidata.-->
 +
[[Category:Business infobox templates|Union]]
 
[[Category:Labor templates]]
 
[[Category:Labor templates]]
 
+
[[Category:Organization infobox templates|Union]]
[[el:Template:Κουτί πληροφοριών ένωσης]]
+
[[Category:Trade union templates]]
[[es:Plantilla:Ficha de sindicato]]
+
}}</includeonly>
[[it:Template:Sindacato]]
 
[[ja:Template:労働組合]]
 
</includeonly>
 

Latest revision as of 03:25, 18 September 2020

{{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

LO Sweden
File:Example.svg
Full nameSwedish Trade Union Confederation
Native nameLandsorganisationen i Sverige (LO)
FoundedTemplate:Start date and age
Members1.23 million (2018)
AffiliationITUC, ETUC
Key peopleKarl-Petter Thorwaldsson, president
CountrySweden
WebsiteTemplate: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

Template:UF-hcard-org

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.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Namename

no description

Unknownoptional
Imageimage

no description

Unknownoptional
Image_sizeimage_size

no description

Unknownoptional
Image_uprightimage_upright

no description

Unknownoptional
Captioncaption

no description

Unknownoptional
Full_namefull_name

no description

Unknownoptional
Native_namenative_name

no description

Unknownoptional
Native_name_langnative_name_lang

no description

Unknownoptional
Mottomotto

no description

Unknownoptional
Motto_langmotto_lang

no description

Unknownoptional
Mottoengmottoeng

no description

Unknownoptional
Foundedfounded

no description

Unknownoptional
Predecessorpredecessor

no description

Unknownoptional
Successorsuccessor

no description

Unknownoptional
Currentcurrent

no description

Unknownoptional
Dissolved_datedissolved_date

no description

Unknownoptional
Dissolved_statedissolved_state

no description

Unknownoptional
Merged_intomerged_into

no description

Unknownoptional
Membersmembers

no description

Unknownoptional
Journaljournal

no description

Unknownoptional
Headhead

no description

Unknownoptional
Affiliationaffiliation

no description

Unknownoptional
Peoplepeople

no description

Unknownoptional
Officeoffice

no description

Unknownoptional
Countrycountry

no description

Unknownoptional
Websitewebsite

no description

Unknownoptional
Footnotesfootnotes

no description

Unknownoptional

See also

Template:Organization infoboxes