Difference between revisions of "Template:Labor"

From blackwiki
Jump to navigation Jump to search
imported>Tim1965
(Undid vandalism revision 210202203 by 124.191.16.174 (talk))
imported>MarioBayo
m (Added Portugal.)
 
(175 intermediate revisions by 94 users not shown)
Line 1: Line 1:
{| align=right style="margin-left: 15px; text-align: center; border:2px solid #990000; background-color:#FFFFFF; padding:2px; font-size: 80%;" class="infobox"; class="collapsible"
+
<includeonly>{{Sidebar with collapsible lists
!align=center style="background:#EE0000; color:#FFFFFF" |Part of a series on<br/>
+
| name = Labor
'''<font size=4 color=#FFFFFF>[[Portal:Organized Labour|Organized Labor]]</font>'''
+
| style = order-spacing:0.2em 0;
|-
+
| pretitlestyle = background:#CD5C5C;color:white;
| [[Image:Syndicalism.svg|80px]]
+
| 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;
| style="background:#EE0000; color:#FFFFFF" | '''<font color=#FFFFFF>[[Labour movement|The Labor Movement]]</font>'''
+
| 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;
| [[New Unionism]]{{·}} [[Proletariat]]
+
| listclass = plainlist
|-
+
| image = [[File:Co-op activism5.svg|80px]]
| [[Social Movement Unionism]]
+
| expanded = {{{expanded|{{{selected|{{{1|}}}}}}}}}
|-
+
| list1name = movement
| [[Syndicalism]]{{·}} [[Socialism]]
+
| list1title = [[Labor movement|Labo{{#ifeq:{{{sp}}}|us||u}}r movement]]
|-
+
| list1 =
| [[Timeline of labor issues and events|Labor timeline]]
+
* [[Timeline of labor issues and events|Timeline]]
|-
+
* {{hlist|[[New Unionism]]|[[Proletariat]]}}
| style="background:#EE0000; color:#FFFFFF" | '''<font color=#FFFFFF>[[Labor rights]]</font>'''
+
* [[Social movement unionism]]
|-
+
* {{hlist|[[Social democracy]]|[[Democratic socialism]]|[[Socialism]]|[[Syndicalism]]}}
| [[Child labor]]{{·}} [[Eight-hour day]]
+
* [[Anarcho-syndicalism]]
|-
+
| list2name = rights
| [[Occupational safety and health]]
+
| list2title = [[Labor rights|Labo{{#ifeq:{{{sp}}}|us||u}}r rights]]
|-
+
| list2 =
| [[Collective bargaining]]
+
* {{hlist|[[Freedom of association]]|[[Collective bargaining]]}}
|-
+
* {{hlist|[[Child labor|Child labo{{#ifeq:{{{sp}}}|us||u}}r]]|[[Unfree labour]]}}
| style="background:#EE0000; color:#FFFFFF" | '''<font color=#FFFFFF>[[Trade union]]s</font>'''
+
* {{hlist|[[Equal pay for equal work|Equal pay]]|[[Employment discrimination]]}}
|-
+
* {{hlist|[[Legal working age]]|[[Six-hour day]]|[[Eight-hour day]]}}
| [[List of trade unions|Trade unions by country]]
+
* {{hlist|[[Annual leave]]|[[Paid time off]]|[[Minimum wage]]}}
|-
+
* {{hlist|[[Occupational safety and health]]|[[Employment protection legislation|Employment protection]]}}
| [[List of federations of trade unions|Trade union federations]]
+
| list3name = unions
|-
+
| list3title = [[Trade union]]s
| [[International comparisons of labor unions|International comparisons]]
+
| list3 =
|-
+
* [[List of trade unions|Trade unions by country]]
| [[International Trade Union Confederation|ITUC]]{{·}} [[World Federation of Trade Unions|WFTU]]{{·}} [[International Workers Association|IWA]]
+
* [[List of federations of trade unions|Trade union federations]]
|-
+
* [[International comparisons of trade unions|International comparisons]]
| style="background:#EE0000; color:#FFFFFF" | '''<font color=#FFFFFF>[[Strike action]]s</font>'''
+
* {{hlist|[[International Trade Union Confederation|ITUC]] |[[IWA–AIT|IWA]]|[[World Federation of Trade Unions|WFTU]]}}
|-
+
| list4name = strikes
| [[List of strikes|Chronological list of strikes]]  
+
| list4title = [[Strike action]]
|-
+
| list4 =
| [[General strike]]{{·}} [[Sympathy strike]]
+
* [[List of strikes|Chronological list of strikes]]
|-
+
* {{hlist|[[General strike]]|[[Secondary action]]|[[Overtime ban]]}}
| [[Sitdown strike]]{{·}} [[Work-to-rule]]
+
* {{hlist|[[Sitdown strike]]|[[Work-to-rule]]|[[Lockout (industry)|Lockout]]}}
|-
+
| list5name = parties
| style="background:#EE0000; color:#FFFFFF" | '''<font color=#FFFFFF>[[Trade union]]ists</font>'''
+
| list5title = [[List of Labour parties|Labo{{#ifeq:{{{sp}}}|us||u}}r parties]]
<!--
+
| list5 = <!-- Alphabetical by country. -->
***********************************************************************
+
{{startflatlist}}
TO ADD MORE NAMES USE THIS FORMAT:
+
* [[Australian Labor Party|Australia]]
 
+
* [[Barbados Labour Party|Barbados]]
| X = [[name1]]{{·}}[[name2]]
+
* [[Brazilian Labour Party (current)|Brazil]]
 
+
* [[Georgian Labour Party|Georgia]]
or
+
* [[Labour Party (Hong Kong)|Hong Kong]]
 
+
* [[Labour Party (Ireland)|Ireland]]
| X = [[name]] for a single name entry
+
* [[Israeli Labor Party|Israel]]
 
+
* [[Labour Party (Malta)|Malta]]
where X is the next number in the line.
+
* [[New Zealand Labour Party|New Zealand]]
 
+
* [[Labour Party (Netherlands)|Netherlands]]
Update the random number FOR THAT LINE ONLY as {{Rand|(X+1)|seed}}
+
* [[Labour Party (Norway)|Norway]]
the number should be the largest number plus one (X+1)
+
* [[Portuguese Labour Party|Portugal]]
"seed" should not be changed
+
* [[Workers' Party (Singapore)|Singapore]]
try to keep all lines basically balanced (i.e. the same number of name choices)
+
* [[Labour Party (UK)|United Kingdom]]
do not repeat names on separate lines
+
{{endflatlist}}
***********************************************************************
+
| list6name = academic
 
+
| list6title = Academic disciplines
-----------------------------organizers line #1 ---------------------------
+
| list6 =
-->
+
* [[Industrial relations]]
|-
+
* [[Labour economics|Labo{{#ifeq:{{{sp}}}|us||u}}r economics]]
|{{#switch: {{Rand|3|31}}
+
* [[Labor history (discipline)|Labo{{#ifeq:{{{sp}}}|us||u}}r history]]
| 0 = [[César Chávez]]{{·}} [[Samuel Gompers]]
+
* [[Labour law|Labo{{#ifeq:{{{sp}}}|us||u}}r law]]
| 1 = [[Joe Hill]]{{·}} [[Dita Indah Sari]]
+
|below=
| 2 = [[Sidney Hillman]]{{·}} [[I. C. Frimu]]
+
}}</includeonly><noinclude>
}}<!--
+
{{documentation}}</noinclude>
-----------------------------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]]
 
* [[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]