Changes

From Wazeopedia

Template:AM/doc

1,292 bytes added, 5 years ago
fixed badge examples
* {{tl|AM/Colspan}} - Variable used to span columns for headers
* {{tl|AM/Editor}} - Area/Country Manager template
* {{tl|AM/Badge}} - Badges for Area Manager table with color coding; details below
=== AM/Editor ===
The {{tlc|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 [[Your_Rank_and_Points#Forum_badges|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 {{para|badge1}} {{para|badge2}} {{para|badge3}}. Change the order to change the color to a different badge.
 
:{{AM/Badge|GC}} GC or Global Champ
 
:{{AM/Badge|LC}} LC or Local Champ
 
:{{AM/Badge|RC}} RC or Regional Coordinator
 
:{{AM/Badge|MGC}} MGC or Mentor Global Champ
 
:{{AM/Badge|MLC}} MLC or Mentor Local Champ
 
:{{AM/Badge|M}} M or Mentor
 
Example:
<small>{{Pre2|<nowiki>
{{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}}
</nowiki>
}}</small>
Produces:
{| border="1" cellpadding="2"
{{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}}
|}
 
=== AM/Badge ===
The {{tl|AM/Badge}} ...
== Usage ==
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) as in {{tlc|AM/5|California}}.
The {{tlc|AM/Editor}} has three parameters in the following order:
* Editor name
* Area Managed
* Comments
== Example table ==
9,305
edits