• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.154
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Labor

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]
Part of a series on
Organized labour
Co-op activism5.svg
Labour movement
  • Timeline
    • New unionism
    • Proletariat
  • Social movement unionism
    • Social democracy
    • Democratic socialism
    • Socialism
    • Syndicalism
  • Anarcho-syndicalism
Labour rights
    • Freedom of association
    • Collective bargaining
    • Child labour
    • Unfree labour
    • Equal pay
    • Employment discrimination
    • Legal working age
    • Four-day week
    • Eight-hour day
    • Annual leave
    • Paid time off
    • Sick leave
    • Minimum wage
    • Occupational safety and health
    • Employment protection
Trade unions
  • Trade unions by country
  • Trade union federations
  • International comparisons
    • ITUC
    • IWA
    • WFTU
Strike action
  • Chronological list of strikes
    • General strike
    • Secondary action
    • Overtime ban
    • Sitdown strike
    • Work-to-rule
    • Lockout
Labour parties
  • Australia
  • Barbados
  • Brazil
  • Fiji
  • Georgia
  • Hong Kong
  • Ireland
  • Israel
  • Malta
  • New Caledonia
  • New Zealand
  • Netherlands
  • Norway
  • Portugal
  • Singapore
  • South Korea
  • United Kingdom
Academic disciplines
  • Industrial relations
  • Labour economics
  • Labour history
  • Labour law
  • v
  • t
  • e

Contents

  • 1 Spelling
  • 2 Collapsible lists
  • 3 Trade unionists
    • 3.1 To add additional names
    • 3.2 Following needs reworking using hlist/plainlist formatting

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:

  • A. J. Cook
  • A. Philip Randolph
  • Bob White
  • César Chávez
  • Dita Indah Sari
  • Eugene V. Debs
  • Harold J. Gibbons
  • I. C. Frimu
  • I. T. A. Wallace-Johnson
  • James Larkin
  • Jimmy Hoffa
  • Joe Hill
  • Ken Saro-Wiwa
  • Lowell Mill 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:

-----------------------------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]
The above documentation is transcluded from Template:Labor/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Labor&oldid=21211"
Categories:
  • Sidebars with styles needing conversion
  • Labor templates
  • Trade union templates
  • Society and social science sidebar templates
Last edited on 17 February 2022, at 13:55

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 17 February 2022, at 13:55.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop