Difference between revisions of "Template:AM/doc"

From Wazeopedia
(Subpages)
(Subpages)
Line 7: Line 7:
  
 
* {{tl|AM/Top}} - Top of the template
 
* {{tl|AM/Top}} - Top of the template
* {{tl|AM/6}} - Rank 6 (Country Managers)
+
* {{tl|AM/6}} - Rank 6 (Country Managers) heading with optional State Name as first parameter
* {{tl|AM/5}} - Rank 5 (Area Managers)
+
* {{tl|AM/5}} - Rank 5 (Area Managers) heading with optional State Name as first parameter
* {{tl|AM/4}} - Rank 4 (Area Managers)
+
* {{tl|AM/4}} - Rank 4 (Area Managers) heading
* {{tl|AM/3}} - Rank 3 (Area Managers)
+
* {{tl|AM/3}} - Rank 3 (Area Managers) heading
 
* {{tl|AM/Bottom}} - Bottom the the template
 
* {{tl|AM/Bottom}} - Bottom the the template
 
* {{tl|AM/Colspan}} - Variable used to span columns for headers
 
* {{tl|AM/Colspan}} - Variable used to span columns for headers
 
* {{tl|AM/Editor}} - Area/Country Manager template
 
* {{tl|AM/Editor}} - Area/Country Manager template
 +
 +
== Usage ==
 +
Place the various templates in order using them like building blocks on the page.
 +
 +
{{Pre2|<nowiki>
 +
{{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}}</nowiki>
 +
}}
 +
 +
== Parameters ==
 +
The {{tlc|AM/6}} and {{tlc|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 {{tl|StateForum}}, a parameter can be sent with the State name (spelled out or abbreviated).
 +
 +
The {{tlc|AM/Editor}} has three parameters in the following order:
 +
* Editor name
 +
* Area Managed
 +
* Comments
  
 
<includeonly>
 
<includeonly>

Revision as of 21:12, 1 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
  • {{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

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}}

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).

The {{AM/Editor}} has three parameters in the following order:

  • Editor name
  • Area Managed
  • Comments