Template:AM/doc View history

(→‎Subpages: more info on AM/Top)
(→‎Example table: updated example)
Line 82: Line 82:
{{AM/6|MA}}<!-- MA added because state name is not in example pagename
{{AM/6|MA}}<!-- MA added because state name is not in example pagename
-- Insert Rank 6 editors alphabetically below this line -->
-- Insert Rank 6 editors alphabetically below this line -->
{{AM/Editor|Andypoms|Statewide<br/>Mostly Western MA|Connecticut based USA Country Manager, covers Massachusetts as well}}
{{AM/Editor|Rank6Example|Statewide|Resident of state|badge1=rc|badge2=gc|badge3=mgc}}
{{AM/Editor|Rank6Too|Statewide|Longtime resident of state|badge1=gc}}
{{AM/5|MA}}<!-- MA added because state name is not in example pagename
{{AM/5|MA}}<!-- MA added because state name is not in example pagename
-- Insert Rank 5 editors alphabetically below this line -->
-- Insert Rank 5 editors alphabetically below this line -->
{{AM/Editor|UserX}}
{{AM/Editor|Rank5Example|Statewide|Resident of state|badge1=lc|badge2=mlc}}
{{AM/Editor|Rank5Too|Statewide|Working in state now|badge1=mlc|badge2=lc}}
{{AM/4}}<!--  
{{AM/4}}<!--  
-- Insert Rank 4 editors alphabetically below this line -->
-- Insert Rank 4 editors alphabetically below this line -->
{{AM/Editor|Scott_h|New Bedford AM, Boston to Worcester editor|MetroWest based}}
{{AM/Editor|OtherWazer1|Named County|I also cover CityName|badge1=m}}
{{AM/Editor|WazerHolic|Another County|I don't got to show no stinking badges!}}
{{AM/3}}<!--  
{{AM/3}}<!--  
-- Insert Rank 3 editors alphabetically below this line -->
-- Insert Rank 3 editors alphabetically below this line -->
{{AM/Editor|Djsmith89|Norwood Area|Local to the area, grew up here}}
{{AM/Editor|AnotherWazer|San Francisco|Also Eureka}}
{{AM/Editor|jasonm128|Cambridge to Woburn and surrounding cities|20+ years in Boston area. Also edit in Denver and northern NJ}}
{{AM/Editor|NewWazer|San Jose|Some travel to Hawaii}}
{{AM/Editor|Panther37|Barnstable, Dukes and Nantucket Counties (Cape Cod and Islands)|Colorado Springs based. Grew up on Cape Cod. Manages Colorado Springs area also}}
{{AM/Editor}}
<!-- Do not add editors below this line -->
<!-- Do not add editors below this line -->
{{AM/Bottom}}
{{AM/Bottom}}

Revision as of 16:38, 7 July 2014

This is a documentation subpage for Template:AM.
It contains usage information, categories and other content that is not part of the original template page.

This template is a suite of subpage templates that build an Area Manager table.

Subpages

The following subpages are used to build an Area Manager table.

  • {{AM/Top}} - Top of the template: controls column headings/widths and top colors
  • {{AM/6}} - Rank 6 (Country Managers) heading with optional State Name as first parameter
  • {{AM/5}} - Rank 5 (Area Managers) heading with optional State Name as first parameter
  • {{AM/4}} - Rank 4 (Area Managers) heading
  • {{AM/3}} - Rank 3 (Area Managers) heading
  • {{AM/Bottom}} - Bottom the the template
  • {{AM/Colspan}} - Variable used to span columns for headers
  • {{AM/Editor}} - Area/Country Manager template
  • {{AM/Badge}} - Badges for Area Manager table with color coding; details below

AM/Editor

The Template:Tlc has three unnamed parameters in the following order:

  • Editor name
  • Area Managed
  • Comments

A senior editor can also display one of the following forum badges in the comments section (up to three) with the first badge providing the color background for the editor's entry. The named parameters should follow the unnamed parameters |badge1= |badge2= |badge3=. Change the order to change the color to a different badge.

GC or Global Champ
LC or Local Champ
RC or Regional Coordinator
MGC or Mentor Global Champ
MLC or Mentor Local Champ
M or Mentor

Example:

{{AM/Editor|WazingTime|Statewide|Mostly Northern California|badge1=gc}}
{{AM/Editor|Wazzzzzz|Statewide|Mostly Southern California|badge1=mgc|badge2=gc}}
{{AM/Editor|BigCheeze|Statewide|Mostly Central California|badge1=rc|badge2=mlc|badge3=lc}}

Produces:

WazingTime(?) [PM]  Mostly Northern California
Wazzzzzz(?) [PM]  Mostly Southern California
BigCheeze(?) [PM]  Mostly Central California

AM/Badge

The {{AM/Badge}} ...

Usage

Place the various templates in order using them like building blocks on the page.

{{AM/Top}}
{{AM/6}}
{{AM/Editor|kentsmith9|Northern California|Bay Area resident}}

{{AM/5}}
{{AM/Editor|FastWazer|Bay Area|Live in Bay Area}}

{{AM/4}}
{{AM/Editor|OtherWazer1|Fremont|}}

{{AM/3}}
{{AM/Editor|NewWazer|San Jose|Some travel to Hawaii}}
{{AM/Editor|AnotherWazer|San Francisco|Also Eureka}}
{{AM/Bottom}}

(Note: The extra line breaks will appear in the table as blank extra whitespace rows in the row above the blank line. They are here for simplifying the table visually.)

Parameters

The Template:Tlc and Template:Tlc templates will automatically detect the page name and use that as the state to decide what region should be displayed. If the Area Manager template suite is used on a page with a name not covered in {{StateForum}}, a parameter can be sent with the State name (spelled out or abbreviated) as in Template:Tlc.


Example table

AM — Area, State and Country Managers
Regional Coordinator(s): Testing (PM) and [[User:{{{5}}}|{{{5}}}]] (PM)
Username Area Managed Comments

Template:AM/6

Rank6Example(?) [PM]  Resident of state
Rank6Too(?) [PM]  Longtime resident of state

Template:AM/5

Rank5Example(?) [PM]  Resident of state
Rank5Too(?) [PM]  Working in state now

Template:AM/4

OtherWazer1(?) [PM]  I also cover CityName
WazerHolic(?) [PM]  I don't got to show no stinking badges!

Template:AM/3

AnotherWazer(?) [PM]  Also Eureka
NewWazer(?) [PM]  Some travel to Hawaii
UserName [PM]