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

From blackwiki
Jump to navigation Jump to search
imported>Nestea Zen
imported>Funandtrvl
(add TD)
 
(39 intermediate revisions by 21 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. -->
== Purpose ==
+
{{tlx|Infobox union}} is for use with [[trade union]]s: Local, head, national, and federation.
 
 
&#123;&#123;[[Template:Infobox Union|Infobox Union]]&#125;&#125;&#32;&mdash; An infobox for use with Trade unions - Local, head, national, and federation.
 
 
 
<!-- explain what this template does; use it in a sentence -->
 
  
 
== Usage ==
 
== Usage ==
<!-- Abstract usage of the template, one variable per row. -->
+
{{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}}
===Required fields===
 
<pre>
 
{{Infobox Union
 
| name =              (Common abbriviation - eg. CAW or TUC)
 
}}
 
</pre>
 
 
 
===Optional fields===
 
<pre>
 
| country =          (name of country/countries of operation. Or "International")
 
| affiliation =      (name of next highest national or international affiliation. Or "Independent")
 
| members =          (number of members - include date, eg. 85,000 (2006))
 
| full_name =        (official name, in English)
 
| native_name =      (name in native language)
 
| image =            (full image link)
 
| founded =          (date of establishment/founding)
 
| 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)
 
| head =              (local union only - article name of head union)
 
| office =            (primary office location)
 
| people =            (key people)
 
| website =          (website address)
 
| footnotes =        (footnotes related to the data in the infobox)
 
</pre>
 
  
<!-- explain what this template's parameters do -- if no params, delete the definition -->
+
<pre style="overflow: auto;">
===Empty syntax===
+
{{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 =  
+
| motto_lang      =
| current =  
+
| mottoeng        =  
| head =  
+
| founded          = <!-- {{Start date|YYYY|MM|DD}} -->
| dissolved_date =  
+
| predecessor      =  
| dissolved_state =  
+
| successor        =  
| merged_into =  
+
| current          =  
| office =  
+
| dissolved_date  =  
| people =  
+
| dissolved_state  =  
| website =  
+
| merged_into      =  
| footnotes =  
+
| members          =  
 +
| journal          =
 +
| head            =  
 +
| affiliation      =  
 +
| people          = <!-- {{ubl}} if multiple -->
 +
| office           =  
 +
| country          =  
 +
| website         = <!-- {{URL|example.com}} -->
 +
| footnotes       =  
 
}}
 
}}
<!-- Include all unused fields for future use. See {{template:Infobox Union}} for usage. -->
 
 
 
</pre>
 
</pre>
 +
{{clear}}
 +
== Parameters ==
 +
All parameters are optional.
  
==Microformat==
+
; <code>name</code>: Common abbreviation, e.g. CAW or TUC
{{UF-hcard-org}}
+
; <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 ==
{| style="margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse;"
+
{{Infobox union
!style="border: 1px #aaaaaa solid; padding: 0.2em;background: #f2f2f2; text-align: center;"| Code
+
| name       = LO Sweden
!style="border: 1px #aaaaaa solid; padding: 0.2em;background: #f2f2f2; text-align: center;"| Result
+
| members     = 1.23 million (2018)
|- style="vertical-align:top;"
+
| full_name   = Swedish Trade Union Confederation 
|style="border: 1px #aaaaaa solid; padding: 0.2em;"| <pre>
+
| native_name = Landsorganisationen i Sverige (LO)
{{Infobox Union
+
| native_name_lang =  sv
| name = Solidarity
+
| image       = [[File:Example.svg|frameless]]      
| members = 1.185.000 (2006)<sup>[1]</sup>
+
| founded     = {{start date and age|1898|8|7|df=y}}
| full_name = Independent Self-governing Trade Union - Solidarity   
+
| people      = [[Karl-Petter Thorwaldsson]], president
| native_name = Niezależny Samorządny Związek Zawodowy "Solidarność"
+
| country     = [[Sweden]]
| image = [[Image:Example.png]]  
+
| affiliation = [[International Trade Union Confederation|ITUC]], [[ETUC]]
| founded = September, [[1980]]
+
| website     = {{URL|www.lo.se}}
| country = [[Poland]]
+
| footnotes   = {{URL|https://www.lo.se/english/startpage}}
| affiliation = [[ICFTU]], [[WCL]], [[ETUC]], [[TUAC]]
 
| website = [http://www.solidarnosc.org.pl www.solidarnosc.org.pl ]
 
| footnotes = [http://www.solidarnosc.org.pl/english/about/eng_about_04.htm 1]
 
 
}}
 
}}
  
<!--
+
<pre style="overflow:auto;">
Include all unused fields within "commented out" section for future use.
+
{{Infobox union
See {{template:Infobox Union}} for usage.
+
| name        = LO Sweden
 
+
| members    = 1.23 million (2018)
| current =  
+
| full_name  = Swedish Trade Union Confederation 
| head =  
+
| native_name = Landsorganisationen i Sverige (LO)
| dissolved_date =  
+
| native_name_lang = sv
| dissolved_state = Merged into
+
| image      = [[File:Example.svg|frameless]] 
| merged_into =  
+
| founded    = {{start date and age|1898|8|7|df=y}}
| office =  
+
| 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>
| style = "border: 1px #aaaaaa solid; padding: 0.2em;"|{{Infobox Union
+
{{clear}}
| name = Solidarity
 
| members = 1.185.000 (2006)<sup>[1]</sup>
 
| full_name = Independent Self-governing Trade Union - Solidarity   
 
| native_name = Niezależny Samorządny Związek Zawodowy "Solidarność"
 
| image = [[Image:Example.png]]   
 
| founded = September, [[1980]]     
 
| country = [[Poland]]
 
| affiliation = [[ICFTU]], [[WCL]], [[ETUC]], [[TUAC]]
 
| website = [http://www.solidarnosc.org.pl solidarnosc.org.pl ]
 
| footnotes = [http://www.solidarnosc.org.pl/english/about/eng_about_04.htm 1]
 
}}
 
  
<!--
+
== Microformats ==
Include all unused fields within "commented out" section for future use.
+
{{UF-hcard-org}}
See {{template:Infobox Union}} for usage.
 
  
| current =  
+
== TemplateData ==
| head =  
+
{{TemplateData header}}
| dissolved_date =
+
<templatedata>
| dissolved_state = Merged into
+
{
| merged_into =
+
"format": "{{_\n| ________________ = _\n}}\n",
| office =
+
"params": {
| people =
+
"name": {},
| website =
+
"image": {},
| footnotes = -->
+
"image_size": {},
|}
+
"image_upright": {},
<!-- customize if needed to illustrate parameter use -->
+
"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==
* <!-- links to simlar of linked templates -->
+
{{Organization infoboxes}}
  
== History ==
+
<includeonly>{{Sandbox other||
; Created : [[User:Bookandcoffee|Bookandcoffee]] 20:12, 3 February 2006 (UTC)
+
<!--Categories below here, please; interwikis to Wikidata.-->
; Converted format to  Qif : --[[User:Bookandcoffee|Bookandcoffee]] 22:54, 20 July 2006 (UTC)
+
[[Category:Business infobox templates|Union]]
<!-- sign here with tildes -->
+
[[Category:Labor templates]]
 +
[[Category:Organization infobox templates|Union]]
 +
[[Category:Trade union templates]]
 +
}}</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
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