Template:AM/Editor View history

m (again)
m (55 revisions imported from usa:Template:AM/Editor)
 
(3 intermediate revisions by one other user not shown)
Line 31: Line 31:
|h|H|p|P|x|X|5 = #ad62a7
|h|H|p|P|x|X|5 = #ad62a7
|#59a2be}};<!-- choose color based on first character --> color: white; zoom: 1"><!--
|#59a2be}};<!-- choose color based on first character --> color: white; zoom: 1"><!--
--><div style="padding: 0.3em 0.7em; ">{{padleft:|1|{{{gho|John D}}}}}</div></div><!-- end if pic -->}}<!-- If no pic, generate color tile with initial --><div style="float:left; padding: 0.3em; color: DimGray;">&nbsp;&nbsp;{{{gho|John D}}}</div><!-- end if gho -->}}<!-- add GHO avatar and name if supplied
--><div style="padding: 0.3em 0.7em; ">{{uc:{{padleft:|1|{{{gho|John D}}}}}}}</div></div><!-- end if pic -->}}<!-- If no pic, generate color tile with initial --><div style="float:left; padding: 0.3em; color: DimGray;">&nbsp;&nbsp;{{{gho|John D}}}</div><!-- end if gho -->}}<!-- add GHO avatar and name if supplied
-->|| {{{3|}}} <!-- Area covered
-->|| {{{3|}}} <!-- Area covered
-->|| {{AM/Badge|{{{badge1|}}}}}{{AM/Badge|{{{badge2}}}}}{{AM/Badge|{{{badge3}}}}}{{AM/Badge|{{{badge4}}}}}{{AM/Badge|{{{badge5}}}}}<!-- display up to five badges
-->|| {{AM/Badge|{{{badge1|}}}}}{{AM/Badge|{{{badge2}}}}}{{AM/Badge|{{{badge3}}}}}{{AM/Badge|{{{badge4}}}}}{{AM/Badge|{{{badge5}}}}}<!-- display up to five badges
-->{{#if: {{{badge1|}}}|<br/>|}}<!-- insert a break if there was a badge; requires first badge always
-->{{#if: {{{badge1|}}}|<br/>|}}<!-- insert a break if there was a badge; requires first badge always
-->{{{4|}}}<!-- display rest of comment text (if exists) below badge (if exists)
-->{{{4|}}}<!-- display rest of comment text (if exists) below badge (if exists)
--></includeonly><noinclude>{{documentation}}</noinclude><!-- This page uses its own documentation to simplify use by entry level editors. More complex documentation is covered on the [[Template:AM/doc]] page.a
--></includeonly><noinclude>{{documentation}}</noinclude><noinclude> This page uses its own documentation to simplify use by entry level editors. More complex documentation is covered on the [[Template:AM/doc]] page.


<templatedata>
<templatedata>
Line 67: Line 67:
"badge1": {
"badge1": {
"label": "Badge 1",
"label": "Badge 1",
"description": "First badge to be displayed for senior editors. The color of the row depends on this badge type. See AM/Badge"
"description": "First badge to be displayed for senior editors. The color of the row depends on this badge type. See AM/Badge",
"type": "string"
},
},
"gho": {
"gho": {
Line 78: Line 79:
"label": "Avatar filename",
"label": "Avatar filename",
"description": "When used will display the image you provide to the left of your GHO name. If not used a default Google style color tile with your initial will be shown instead. You will have to upload your avatar to the Waze wiki, and use the file name here. When uploading please use the filename format of Avatar YOUR USERNAME.xxx (xxx = file type extension).",
"description": "When used will display the image you provide to the left of your GHO name. If not used a default Google style color tile with your initial will be shown instead. You will have to upload your avatar to the Waze wiki, and use the file name here. When uploading please use the filename format of Avatar YOUR USERNAME.xxx (xxx = file type extension).",
"default": "pic=File:Avatar USERNAME.png",
"default": "File:Avatar USERNAME.png",
"suggested": true
"suggested": true,
"type": "wiki-page-name"
},
},
"badge2": {
"badge2": {
"label": "Badge 2",
"label": "Badge 2",
"description": "Second badge to be displayed for senior editors. See AM/Badge"
"description": "Second badge to be displayed for senior editors. See AM/Badge",
"type": "string"
},
},
"badge3": {
"badge3": {
"label": "Badge 3",
"label": "Badge 3",
"description": "Third badge to be displayed for senior editors. See AM/Badge"
"description": "Third badge to be displayed for senior editors. See AM/Badge",
"type": "string"
},
},
"badge4": {
"badge4": {
"label": "Badge 4",
"label": "Badge 4",
"description": "Fourth badge to be displayed for senior editors. See AM/Badge"
"description": "Fourth badge to be displayed for senior editors. See AM/Badge",
"type": "string"
},
},
"badge5": {
"badge5": {
"label": "Badge 5",
"label": "Badge 5",
"description": "Fifth badge to be displayed for senior editors. See AM/Badge"
"description": "Fifth badge to be displayed for senior editors. See AM/Badge",
"type": "string"
}
}
},
},
Line 114: Line 120:
}
}
</templatedata>
</templatedata>
-->
</noinclude>

Latest revision as of 16:36, 14 May 2020

Documentation icon Template documentation[create]
Please add categories to the /doc subpage.
Subpages of this template.

This page uses its own documentation to simplify use by entry level editors. More complex documentation is covered on the Template:AM/doc page.

This template is part of a suite of templates that build an Area Manager table. It is used for each individual editor to be listed in the table. It has options for username, rank, GHO/Slack display name, avatar, editing area, comments, and badges.

Template parameters

ParameterDescriptionTypeStatus
Username1

The username you use to login to Waze

Userrequired
Rank2

Your map editing level

Numbersuggested
Area managed, or editing area3

Assigned area of responsibility, or regular editing area on the map

Stringsuggested
Comments4

Open text field for anything appropriate related to Area Management.

Stringsuggested
GHO/Slack Display Namegho

The name others will see in external communication platforms, put here so other editors can match the name in chat to your username. When used it will display this name in gray on a new line below the username.

Stringsuggested
Avatar filenamepic

When used will display the image you provide to the left of your GHO name. If not used a default Google style color tile with your initial will be shown instead. You will have to upload your avatar to the Waze wiki, and use the file name here. When uploading please use the filename format of Avatar YOUR USERNAME.xxx (xxx = file type extension).

Default
File:Avatar USERNAME.png
Page namesuggested
Badge 1badge1

First badge to be displayed for senior editors. The color of the row depends on this badge type. See AM/Badge

Stringoptional
Badge 2badge2

Second badge to be displayed for senior editors. See AM/Badge

Stringoptional
Badge 3badge3

Third badge to be displayed for senior editors. See AM/Badge

Stringoptional
Badge 4badge4

Fourth badge to be displayed for senior editors. See AM/Badge

Stringoptional
Badge 5badge5

Fifth badge to be displayed for senior editors. See AM/Badge

Stringoptional