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

From blackwiki
Jump to navigation Jump to search
(made doc page for Template:Infobox Union)
 
imported>Funandtrvl
(add TD)
 
(40 intermediate revisions by 22 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.
+
== 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}}
<!-- explain what this template does; use it in a sentence -->
 
  
== Usage ==
+
<pre style="overflow: auto;">
<!-- Abstract usage of the template, one variable per row. -->
+
{{Infobox union
===Required fields===
+
| name            =  
<pre>
+
| image            = <!-- union logo preferred, where available -->
{{Infobox Union
+
| image_size      = <!-- default is 200x200px -->
| name =             (Common abbriviation - eg. CAW or TUC)
+
| 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        =
 
}}
 
}}
 
</pre>
 
</pre>
 +
{{clear}}
 +
== Parameters ==
 +
All parameters are optional.
  
===Optional fields===
+
; <code>name</code>: Common abbreviation, e.g. CAW or TUC
<pre>
+
; <code>image</code>: full image link (preference for union logo where available)
| country =          (name of country/countries of operation. Or "International")
+
; <code>caption</code>: image caption (unnecessary where union logo used as image)
| affiliation =      (name of next highest national or international affiliation. Or "Independent")
+
; <code>full_name</code>: official name, in English
| members =          (number of members - include date, eg. 85,000 (2006))
+
; <code>native_name</code>: name in native language
| full_name =        (official name, in English)
+
; <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.
| native_name =      (name in native language)
+
; <code>motto</code>: motto, in Latin
| image =            (full image link)
+
; <code>mottoeng</code>: motto, in English
| founded =          (date of establishment/founding)
+
; <code>founded</code>: date of establishment/founding; use {{Tlx|Start date}}
| current =          (date of current affiliation)
+
; <code>predecessor</code>: predecessor organizations
  | dissolved_date =  (date dissolved or "merged into") – mutually exclusive of "Current affiliation date"
+
; <code>successor</code>: successor organizations
  | dissolved_state = ("Incorporated into", "Merged into"(default))
+
; <code>current</code>: date of current affiliation
  | merged_into =    (Article name of union merged into)
+
; <code>dissolved_date</code>: "date dissolved or "merged into": mutually exclusive of "Current affiliation date"
| head =              (local union only - article name of head union)
+
; <code>dissolved_state</code>: "Incorporated into", "Merged into" (default)
| office =            (primary office location)
+
; <code>merged_into</code>: Article name of union merged into
| people =            (key people)
+
; <code>members</code>: number of members - include date, e.g. 85,000 (2006)
| website =          (website address)
+
; <code>journal</code>: title of union journal, if any
| footnotes =        (footnotes related to the data in the infobox)
+
; <code>head</code>: local union only - article name of head union
</pre>
+
; <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
  
<!-- explain what this template's parameters do -- if no params, delete the definition -->
+
== Example ==
===Empty syntax===
+
{{Infobox union
<pre>
+
| name       = LO Sweden
{{Infobox Union
+
| members    = 1.23 million (2018)
| name =  
+
| full_name  = Swedish Trade Union Confederation 
| country =  
+
| native_name = Landsorganisationen i Sverige (LO)
| affiliation =  
+
| native_name_lang sv
| members =  
+
| image      = [[File:Example.svg|frameless]]     
| full_name =   
+
| founded     = {{start date and age|1898|8|7|df=y}}
| native_name =  
+
| people      = [[Karl-Petter Thorwaldsson]], president
| image =   
+
| country    = [[Sweden]]
| founded =  
+
| affiliation = [[International Trade Union Confederation|ITUC]], [[ETUC]]
| current =
+
| website     = {{URL|www.lo.se}}
| head =
+
| footnotes   = {{URL|https://www.lo.se/english/startpage}}
| dissolved_date =  
 
| dissolved_state =  
 
| merged_into =  
 
| office =  
 
| people =
 
| website =  
 
| footnotes =  
 
 
}}
 
}}
<!-- Include all unused fields for future use. See {{template:Infobox Union}} for usage. -->
 
  
 +
<pre style="overflow:auto;">
 +
{{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}}
 +
}}
 
</pre>
 
</pre>
 +
{{clear}}
  
==Microformat==
+
== Microformats ==
 
{{UF-hcard-org}}
 
{{UF-hcard-org}}
  
== Example ==
+
== TemplateData ==
{| style="margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse;"
+
{{TemplateData header}}
!style="border: 1px #aaaaaa solid; padding: 0.2em;background: #f2f2f2; text-align: center;"| Code
+
<templatedata>
!style="border: 1px #aaaaaa solid; padding: 0.2em;background: #f2f2f2; text-align: center;"| Result
+
{
|- style="vertical-align:top;"
+
"format": "{{_\n| ________________ = _\n}}\n",
|style="border: 1px #aaaaaa solid; padding: 0.2em;"| <pre>
+
"params": {
{{Infobox Union
+
"name": {},
| name = Solidarity
+
"image": {},
| members = 1.185.000 (2006)<sup>[1]</sup>
+
"image_size": {},
| full_name = Independent Self-governing Trade Union - Solidarity   
+
"image_upright": {},
| native_name = Niezależny Samorządny Związek Zawodowy "Solidarność"
+
"caption": {},
| image = [[Image:Example.png]]   
+
"full_name": {},
| founded = September, [[1980]]
+
"native_name": {},
| country = [[Poland]]
+
"native_name_lang": {},
| affiliation = [[ICFTU]], [[WCL]], [[ETUC]], [[TUAC]]
+
"motto": {},
| website = [http://www.solidarnosc.org.pl www.solidarnosc.org.pl ]
+
"motto_lang": {},
| footnotes = [http://www.solidarnosc.org.pl/english/about/eng_about_04.htm 1]
+
"mottoeng": {},
}}
+
"founded": {},
 
+
"predecessor": {},
<!--
+
"successor": {},
Include all unused fields within "commented out" section for future use.
+
"current": {},
See {{template:Infobox Union}} for usage.
+
"dissolved_date": {},
 
+
"dissolved_state": {},
| current =
+
"merged_into": {},
| head =
+
"members": {},
| dissolved_date =
+
"journal": {},
| dissolved_state = Merged into
+
"head": {},
| merged_into =
+
"affiliation": {},
| office =
+
"people": {},
| people =    -->
+
"office": {},
</pre>
+
"country": {},
| style = "border: 1px #aaaaaa solid; padding: 0.2em;"|{{Infobox Union
+
"website": {},
| name = Solidarity
+
"footnotes": {}
| 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ść"
+
</templatedata>
| image = [[Image:Example.png]]   
 
| founded = September, [[1980]]     
 
| country = [[Poland]]
 
| 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]
 
}}
 
 
 
<!--
 
Include all unused fields within "commented out" section for future use.
 
See {{template:Infobox Union}} for usage.
 
  
| current =
+
==See also==
| head =
+
{{Organization infoboxes}}
| dissolved_date =
 
| dissolved_state = Merged into
 
| merged_into =
 
| office =
 
| people =
 
| website =
 
| footnotes = -->
 
|}
 
<!-- customize if needed to illustrate parameter use -->
 
== See also ==
 
* <!-- links to simlar of linked templates -->
 
  
== 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