Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Spelling  





2 Collapsible lists  





3 Trade unionists  



3.1  To add additional names  





3.2  Following needs reworking using hlist/plainlist formatting  
















Template:Labor






 / Bân-lâm-gú
فارسی

Bahasa Indonesia

Polski
Română
Русский

Türkçe
اردو

 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikinews
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


Spelling

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

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.

    | 3 = [[NEW NAME]]{{·}} [[NEW NAME2]]
    

    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]
    

    Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Labor&oldid=1226794272"

    Categories: 
    Labor templates
    Trade union templates
    Society and social science sidebar templates
    Hidden categories: 
    Wikipedia semi-protected templates
    Sidebars with styles needing conversion
     



    This page was last edited on 1 June 2024, at 21:29 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki