Difference between revisions of "Template:Labor"

From blackwiki
Jump to navigation Jump to search
imported>Tondelaya
(add name)
imported>MarioBayo
m (Added Portugal.)
 
(168 intermediate revisions by 91 users not shown)
Line 1: Line 1:
{| class="infobox collapsible" style="margin: 0 0 0.5em 1em; text-align: center; background-color:#FFFFFF; font-size:90%;"
+
<includeonly>{{Sidebar with collapsible lists
|-
+
| name = Labor
!style="background:#EE0000; color:#FFFFFF; text-align: center;" |<small>Part of a series on</small>
+
| style = order-spacing:0.2em 0;
 
+
| pretitlestyle = background:#CD5C5C;color:white;
'''[[Portal:Organized Labor|<span style="font-size:150%;color:#FFFFFF">Organized Labor</span>]]'''
+
| pretitle = Part of [[:Category:Labor|{{color|white|a series}}]] on
|-
+
| titlestyle = background:#CD5C5C;<!--font-size:100%;font-weight:normal;-->color:white;padding-bottom:0.3em;
| [[Image:Syndicalism.svg|80px]]
+
| title = [[Portal:Organized Labour|{{color|white|Organi{{#ifeq:{{{sp}}}|uk|s|z}}ed labo{{#ifeq:{{{sp}}}|us||u}}r}}]]
|-
+
| listtitlestyle=border-top:1px solid #aaa;padding-bottom:0;text-align:center;
| style="background:#EE0000; color:#FFFFFF" | '''[[Labour movement|<span style="color:#FFFFFF">The Labor Movement</span>]]'''
+
| listclass = plainlist
|-
+
| image = [[File:Co-op activism5.svg|80px]]
| [[New Unionism]]{{·}} [[Proletariat]]
+
| expanded = {{{expanded|{{{selected|{{{1|}}}}}}}}}
|-
+
| list1name = movement
| [[Social Movement Unionism]]
+
| list1title = [[Labor movement|Labo{{#ifeq:{{{sp}}}|us||u}}r movement]]
|-
+
| list1 =
| [[Syndicalism]]{{·}} [[Socialism]]
+
* [[Timeline of labor issues and events|Timeline]]
|-
+
* {{hlist|[[New Unionism]]|[[Proletariat]]}}
| [[Timeline of labor issues and events|Labour timeline]]
+
* [[Social movement unionism]]
|-
+
* {{hlist|[[Social democracy]]|[[Democratic socialism]]|[[Socialism]]|[[Syndicalism]]}}
| style="background:#EE0000; color:#FFFFFF" | '''[[Labor rights|<span style="color:#FFFFFF">Labour rights</span>]]'''
+
* [[Anarcho-syndicalism]]
|-
+
| list2name = rights
| [[Child labor]]{{·}} [[Eight-hour day]]
+
| list2title = [[Labor rights|Labo{{#ifeq:{{{sp}}}|us||u}}r rights]]
|-
+
| list2 =
| [[Occupational safety and health]]
+
* {{hlist|[[Freedom of association]]|[[Collective bargaining]]}}
|-
+
* {{hlist|[[Child labor|Child labo{{#ifeq:{{{sp}}}|us||u}}r]]|[[Unfree labour]]}}
| [[Collective bargaining]]
+
* {{hlist|[[Equal pay for equal work|Equal pay]]|[[Employment discrimination]]}}
|-
+
* {{hlist|[[Legal working age]]|[[Six-hour day]]|[[Eight-hour day]]}}
| style="background:#EE0000; color:#FFFFFF" | '''[[Trade union|<span style="color:#FFFFFF">Trade unions</span>]]'''
+
* {{hlist|[[Annual leave]]|[[Paid time off]]|[[Minimum wage]]}}
|-
+
* {{hlist|[[Occupational safety and health]]|[[Employment protection legislation|Employment protection]]}}
| [[List of trade unions|Trade unions by country]]
+
| list3name = unions
|-
+
| list3title = [[Trade union]]s
| [[List of federations of trade unions|Trade union federations]]
+
| list3 =
|-
+
* [[List of trade unions|Trade unions by country]]
| [[International comparisons of labor unions|International comparisons]]
+
* [[List of federations of trade unions|Trade union federations]]
|-
+
* [[International comparisons of trade unions|International comparisons]]
| [[International Trade Union Confederation|ITUC]]{{·}} [[World Federation of Trade Unions|WFTU]]{{·}} [[International Workers Association|IWA]]
+
* {{hlist|[[International Trade Union Confederation|ITUC]] |[[IWA–AIT|IWA]]|[[World Federation of Trade Unions|WFTU]]}}
|-
+
| list4name = strikes
| style="background:#EE0000; color:#FFFFFF" | '''[[Strike action|<span style="color:#FFFFFF">Strike actions</span>]]'''
+
| list4title = [[Strike action]]
|-
+
| list4 =
| [[List of strikes|Chronological list of strikes]]  
+
* [[List of strikes|Chronological list of strikes]]
|-
+
* {{hlist|[[General strike]]|[[Secondary action]]|[[Overtime ban]]}}
| [[General strike]]{{·}} [[Sympathy strike]]
+
* {{hlist|[[Sitdown strike]]|[[Work-to-rule]]|[[Lockout (industry)|Lockout]]}}
|-
+
| list5name = parties
| [[Sitdown strike]]{{·}} [[Work-to-rule]]
+
| list5title = [[List of Labour parties|Labo{{#ifeq:{{{sp}}}|us||u}}r parties]]
|-
+
| list5 = <!-- Alphabetical by country. -->
| style="background:#EE0000; color:#FFFFFF" | '''Trade unionists'''
+
{{startflatlist}}
<!--
+
* [[Australian Labor Party|Australia]]
***********************************************************************
+
* [[Barbados Labour Party|Barbados]]
TO ADD MORE NAMES USE THIS FORMAT:
+
* [[Brazilian Labour Party (current)|Brazil]]
 
+
* [[Georgian Labour Party|Georgia]]
| X = [[name1]]{{·}}[[name2]]
+
* [[Labour Party (Hong Kong)|Hong Kong]]
 
+
* [[Labour Party (Ireland)|Ireland]]
or
+
* [[Israeli Labor Party|Israel]]
 
+
* [[Labour Party (Malta)|Malta]]
| X = [[name]] for a single name entry
+
* [[New Zealand Labour Party|New Zealand]]
 
+
* [[Labour Party (Netherlands)|Netherlands]]
where X is the next number in the line.
+
* [[Labour Party (Norway)|Norway]]
 
+
* [[Portuguese Labour Party|Portugal]]
Update the random number FOR THAT LINE ONLY as {{Rand|(X+1)|seed}}
+
* [[Workers' Party (Singapore)|Singapore]]
the number should be the largest number plus one (X+1)
+
* [[Labour Party (UK)|United Kingdom]]
"seed" should not be changed
+
{{endflatlist}}
try to keep all lines basically balanced (i.e. the same number of name choices)
+
| list6name = academic
do not repeat names on separate lines
+
| list6title = Academic disciplines
***********************************************************************
+
| list6 =
 
+
* [[Industrial relations]]
-----------------------------organizers line #1 ---------------------------
+
* [[Labour economics|Labo{{#ifeq:{{{sp}}}|us||u}}r economics]]
-->
+
* [[Labor history (discipline)|Labo{{#ifeq:{{{sp}}}|us||u}}r history]]
|-
+
* [[Labour law|Labo{{#ifeq:{{{sp}}}|us||u}}r law]]
|{{#switch: {{Rand|3|31}}
+
|below=
| 0 = [[César Chávez]]{{·}} [[Samuel Gompers]]
+
}}</includeonly><noinclude>
| 1 = [[Joe Hill]]{{·}} [[Dita Indah Sari]]
+
{{documentation}}</noinclude>
| 2 = [[Sidney Hillman]]{{·}} [[I. C. Frimu]]
 
}}<!--
 
-----------------------------organizers line #2 ---------------------------
 
-->
 
|-
 
|{{#switch: {{Rand|3|37}}
 
| 0 = [[Jimmy Hoffa]]{{·}} [[A. Philip Randolph]]
 
| 1 = [[Walter Reuther]]
 
| 2 = [[Isaac Theophilus Akunna Wallace-Johnson|I. T. A. Wallace-Johnson]]
 
}}<!--
 
-----------------------------organizers line #3 ---------------------------
 
-->
 
|-
 
|{{#switch: {{Rand|3|61}}
 
| 0 = [[Ken Saro-Wiwa]]{{·}} [[Lowell girls]]
 
| 1 = [[Sonja Davies]]{{·}} [[Eugene V. Debs]]
 
| 2 = [[Tanong Po-arn]]
 
}}<!--
 
-----------------------------organizers line #4 ---------------------------
 
-->
 
|-
 
|{{#switch: {{Rand|3|91}}
 
| 0 = [[James Larkin]]{{·}} [[Bob White]]
 
| 1 = [[A. J. Cook (trade unionist)|A. J. Cook]]{{·}} [[Shirley Carr]]
 
| 2 = [[Sarah Bagley]]
 
}}
 
[http://en.wikipedia.org/w/index.php?title=Template:Labor&action=purge more names]
 
|-
 
| style="background:#EE0000; color:#FFFFFF" | '''Academic Disciplines'''
 
|-
 
| [[Labour (economics)|Labor in economics]]
 
|-
 
| [[Labor history (discipline)]]
 
|-
 
| [[Industrial relations]]
 
|-
 
| [[Labour law|Labor law]]
 
|-
 
| style="background:#EE0000; color:#FFFFFF" | '''This Box'''
 
|-
 
| {{Tnavbar|Labor|plain=1}}
 
|}<noinclude>
 
 
 
These [[trade union]]ist are randomly included in the organized labor directory to the right:
 
 
 
<!-- Listed in alphabetic order -->
 
 
 
* [[A. J. Cook (trade unionist)|A. J. Cook]]
 
* [[A. Philip Randolph]]
 
* [[Bob White]]
 
* [[César Chávez]]
 
* [[Dita Indah Sari]]
 
* [[Eugene V. Debs]]
 
* [[Harold Gibbons]]
 
* [[I. C. Frimu]]
 
* [[Isaac Theophilus Akunna Wallace-Johnson|I. T. A. Wallace-Johnson]]
 
* [[James Larkin]]
 
* [[Jimmy Hoffa]]
 
* [[Joe Hill]]
 
* [[Ken Saro-Wiwa]]
 
* [[Lowell girls]]
 
* [[Samuel Gompers]]
 
* [[Sarah Bagley]]
 
* [[Sidney Hillman]]
 
* [[Shirley Carr]]
 
* [[Sonja Davies]]
 
* [[Tanong Po-arn]]
 
* [[Walter Reuther]]
 
 
 
==To add additional names==
 
 
 
In the Trade Unionists section there are four lines of people. Each of these lines operates independently, and is in the following form:
 
<pre>
 
-----------------------------organizers line #1 ---------------------------
 
-->
 
|-
 
|{{#switch: {{Rand|3|SEED}}
 
| 0 = [[César Chávez]]{{·}} [[Samuel Gompers]]
 
| 1 = [[Joe Hill]]{{·}} [[Dita Indah Sari]]
 
| 2 = [[Sidney Hillman]]{{·}} [[I. C. Frimu]]
 
}}<!--
 
</pre>
 
In brief, the <nowiki>{{Rand|3}}</nowiki> code generates a random number between 0 and 2. The line that appears in the tag corresponds to that number. The next time the page is refreshed a different number is generated, and that line is displayed instead.
 
 
 
* To add names to the list add a new line in the following format:
 
<pre>
 
| 3 = [[NEW NAME]]{{·}} [[NEW NAME2]]
 
</pre>
 
* Change the number in the <nowiki>{{Rand|COUNT}}</nowiki> code to accurately reflect the number of lines. In this example COUNT should be 4, in order to generate the numbers 0 to 3.
 
* The second parameter is a static seed, it should be different for each occurrence of the ''Rand'' template on the same page, to generate distinct numbers. It can be any integer.
 
* Single names may be added to other lines with only one name. If that is the case do not increase the random COUNT number, as the total number of lines has not changed.
 
* Add the name(s) to the complete list at the left of the page.
 
* Try to keep the distribution of names in each section reasonably balanced.
 
* '''Do not''' add the same name to multiple lines or sections. Each name should only appear once to avoid the possibility of it appearing twice at the same time on the tag.
 
 
 
[[Category:Labor templates]]</noinclude>
 

Latest revision as of 05:05, 5 March 2021

Template documentation[view] [edit] [history] [purge]

Spelling

The default spelling Oxford style, "organized labour", (i.e. Canadian).

  • For "organised labour" use |sp=uk
  • For "organized labor" use |sp=us

Collapsible lists

This template includes collapsible lists.

  • To set it to display all lists when it appears (i.e. all lists expanded), use:
  •  {{Labor |expanded=all}} or, if enabled, {{Labor |all}}  (i.e. omitting "expanded=").
  • To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
  •  {{Labor |expanded=listname}} or, if enabled, {{Labor |listname}}
  • …where listname is one of the following (do not include any quotemarks):
    • movement
    • rights
    • unions
    • strikes
    • parties
    • academic

Trade unionists

These trade unionists are randomly included in the organized labour directory above to the right:

To add additional names

In the Trade Unionists section there are four lines of people. Each of these lines operates independently and is in the following form:

-----------------------------organizers line #1 ---------------------------
-->
|-
|{{#switch: {{Rand|3|SEED}}
| 0 = [[César Chávez]]{{·}} [[Samuel Gompers]]
| 1 = [[Joe Hill (activist)|Joe Hill]]{{·}} [[Dita Indah Sari]]
| 2 = [[Sidney Hillman]]{{·}} [[I. C. Frimu]]
}}

In brief, the {{Rand|3}} code generates a random number between 0 and 2. The line that appears in the tag corresponds to that number. The next time the page is refreshed a different number is generated, and that line is displayed instead.

  • To add names to the list add a new line in the following format:
| 3 = [[NEW NAME]]{{·}} [[NEW NAME2]]
  • Change the number in the {{Rand|COUNT}} code to accurately reflect the number of lines. In this example COUNT should be 4, in order to generate the numbers 0 to 3.
  • The second parameter is a static seed, it should be different for each occurrence of the Rand template on the same page, to generate distinct numbers. It can be any integer.
  • Single names may be added to other lines with only one name. If that is the case do not increase the random COUNT number, as the total number of lines has not changed.
  • Add the name(s) to the complete list at the left of the page.
  • Try to keep the distribution of names in each section reasonably balanced.
  • Do not add the same name to multiple lines or sections. Each name should only appear once to avoid the possibility of it appearing twice at the same time on the tag.

Following needs reworking using hlist/plainlist formatting

|list6name = Trade unionists 
|list6title = [[:Category:Trade unionists|{{color|white|Trade unionists}}]]
|list6 = 
<!--
***********************************************************************
TO ADD MORE NAMES USE THIS FORMAT:

| X = [[name1]]{{·}}[[name2]]

or

| X = [[name]] for a single name entry

where X is the next number in the line.

Update the random number FOR THAT LINE ONLY as {{Rand|(X+1)|seed}}
the number should be the largest number plus one (X+1)
"seed" should not be changed
try to keep all lines basically balanced (i.e. the same number of name choices)
do not repeat names on separate lines
***********************************************************************

-----------------------------organizers line #1 ---------------------------
-->

|{{#switch: {{Rand|3|31}}
| 0 = [[César Chávez]]{{·}} [[Samuel Gompers]]
| 1 = [[Joe Hill (activist)|Joe Hill]]{{·}} [[Dita Indah Sari]]
| 2 = [[Sidney Hillman]]{{·}} [[I. C. Frimu]]
}}<!--
-----------------------------organizers line #2 ---------------------------
-->

|{{#switch: {{Rand|3|37}}
| 0 = [[Jimmy Hoffa]]{{·}} [[A. Philip Randolph]]
| 1 = [[Walter Reuther]]
| 2 = [[I. T. A. Wallace-Johnson]]
}}<!--
-----------------------------organizers line #3 ---------------------------
-->

|{{#switch: {{Rand|3|61}}
| 0 = [[Ken Saro-Wiwa]]{{·}} [[Lowell Mill Girls]]
| 1 = [[Sonja Davies]]{{·}} [[Eugene V. Debs]]
| 2 = [[Tanong Po-arn]]
}}<!--
-----------------------------organizers line #4 ---------------------------
-->

|{{#switch: {{Rand|3|91}}
| 0 = [[James Larkin]]{{·}} [[Bob White (trade unionist)|Bob White]]
| 1 = [[A. J. Cook (trade unionist)|A. J. Cook]]{{·}} [[Shirley Carr]]
| 2 = [[Sarah Bagley]]
}}
[{{fullurl:Template:Labor|action=purge}} more names]