الگو:کارگر/توضیحات

از ویکی‌پدیا، دانشنامهٔ آزاد

الگو:Labor

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[ویرایش]

این الگو دارای فهرست‌های جمع‌شونده است.

    • برای تنظیم آن به گونه‌ای که وقتی ظاهر می‌شود همه فهرست‌ها را نمایش دهد (یعنی همه فهرست‌ها بزرگ باشند)، استفاده کنید از:
    •  {{کارگر/توضیحات |expanded=all}} یا در صورت فعال بودن، {{کارگر/توضیحات |all}}
    • برای تنظیم آن به‌گونه‌ای که یک فهرست ویژه را نمایش دهد و باقی‌مانده را جمع کند، استفاده کنید از:
    •  {{کارگر/توضیحات |expanded=listname}} یا در صورت فعال بودن، {{کارگر/توضیحات |listname}}
    • … که در آن «listname» یکی از موارد زیر است (هیچ گیومه‌ای را درج نکنید):
      • movement
      • rights
      • unions
      • strikes
      • parties
      • academic

Trade unionists[ویرایش]

These سندیکاists 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 = [[سزار چاوز]]{{·}} [[Samuel Gompers]]
| 1 = [[جو هیل]]{{·}} [[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 = [[رده:اعضای اتحادیه‌های صنفی]]
|list6 = 
<!--
***********************************************************************
TO ADD MORE NAMES USE THIS FORMAT:

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

or

| X = [[نام]] 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 = [[سزار چاوز]]{{·}} [[Samuel Gompers]]
| 1 = [[جو هیل]]{{·}} [[Dita Indah Sari]]
| 2 = [[Sidney Hillman]]{{·}} [[I. C. Frimu]]
}}<!--
-----------------------------organizers line #2 ---------------------------
-->

|{{#switch: {{Rand|3|37}}
| 0 = [[جیمی هوفا]]{{·}} [[ای. فیلیپ راندولف]]
| 1 = [[Walter Reuther]]
| 2 = [[I. T. A. Wallace-Johnson]]
}}<!--
-----------------------------organizers line #3 ---------------------------
-->

|{{#switch: {{Rand|3|61}}
| 0 = [[کن سارو-ویوا]]{{·}} [[Lowell Mill Girls]]
| 1 = [[Sonja Davies]]{{·}} [[یوجین دبز]]
| 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]