Template:AM/doc

From Wazeopedia

< Template:AM

Revision as of 22:33, 9 July 2014 by Kentsmith9 (talk | contribs) (Subpages: note on basepagename)

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; also automatically includes the Regional Coordinators.
  • {{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

The automatic pagename elements in the table use the {{BASEPAGENAME}} magic word, so the template must be built on a page that has a valid state or territory (or USA) as the base pagename.

AM/Editor

The {{AM/Editor}} 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.

Badge GlobalChamp.png GC or Global Champ
Badge LocalChamp.png LC or Local Champ
BadgeRC-Temp.png RC or Regional Coordinator
Badge Mentor Global Champ.png MGC or Mentor Global Champ
Badge Mentor Local Champ.png MLC or Mentor Local Champ
Badge Mentor.png 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] Profile L2.png Mostly Northern California Badge GlobalChamp.png
Wazzzzzz(?) [PM] Profile L2.png Mostly Southern California Badge Mentor Global Champ.pngBadge GlobalChamp.png
BigCheeze(?) [PM] Profile L2.png Mostly Central California BadgeRC-Temp.pngBadge Mentor Local Champ.pngBadge LocalChamp.png

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 {{AM/6}} and {{AM/5}} 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 {{AM/5|California}}.


Example table

MA — Area, State, Country Managers, and Regional Coordinators
Regional Coordinator(s):
[RC] orbitc (PM)  Profile L6.png
[ARC1] Banished (PM)  Profile L6.png
Username Area Managed Comments

Template:AM/6

Rank6Example(?) [PM] Profile L2.png Resident of state BadgeRC-Temp.pngBadge GlobalChamp.pngBadge Mentor Global Champ.png
Rank6Too(?) [PM] Profile L2.png Longtime resident of state Badge GlobalChamp.png

Template:AM/5

Rank5Example(?) [PM] Profile L2.png Resident of state Badge LocalChamp.pngBadge Mentor Local Champ.png
Rank5Too(?) [PM] Profile L2.png Working in state now Badge Mentor Local Champ.pngBadge LocalChamp.png

Template:AM/4

OtherWazer1(?) [PM] Profile L2.png I also cover CityName Badge Mentor.png
WazerHolic(?) [PM] Profile L2.png I don't got to show no stinking badges!

Template:AM/3

AnotherWazer(?) [PM] Profile L2.png Also Eureka
NewWazer(?) [PM] Profile L2.png Some travel to Hawaii
UserName [PM] Profile L2.png