Difference between revisions of "Template:Rank"

From Wazeopedia
(spacing correction)
(Added additional entries per forum discussion.)
Line 1: Line 1:
 
{{#switch: {{lc:{{{1|}}} }}
 
{{#switch: {{lc:{{{1|}}} }}
 
  | am
 
  | am
  | area manager = 3<!--Minimum rank required to receive area manager status.-->
+
  | area manager = 3<!-- Minimum rank required to receive area manager status.-->
  | city = 4<!--Minimum rank to create a new city (not add an existing city to an object).-->
+
| change street name daily = 30<!-- Number of street names that can be changed per day when editor rank is less than {{Rank|Change Street Name Unlimited}}.-->
 +
| change street name unlimited = 2<!-- Minimum rank to change an unlimited number of street names.-->
 +
  | city = 4<!-- Minimum rank to create a new city (not add an existing city to an object).-->
 
  | urclose
 
  | urclose
 
  | close ur = 2<!-- Minimum rank required to close an Update Request not started by self. -->
 
  | close ur = 2<!-- Minimum rank required to close an Update Request not started by self. -->
Line 9: Line 11:
 
  | segment delete
 
  | segment delete
 
  | delete segment = 2 <!-- Minimum rank to delete a segment not created by self. -->  
 
  | delete segment = 2 <!-- Minimum rank to delete a segment not created by self. -->  
 +
| delete segment daily - 10 - Number of segments that can be deleted per day when editor rank is less than {{Rank|Delete Segment Unlimited}}.
 +
| delete segment unlimited - Minimum editor rank to delete an unlimited number of segments not created by self.
 
  | dt
 
  | dt
 
  | difficultturn
 
  | difficultturn
Line 17: Line 21:
 
  | house number force = 2<!-- Minimum rank to be able to force house numbers.-->
 
  | house number force = 2<!-- Minimum rank to be able to force house numbers.-->
 
  | jb
 
  | jb
  | junction box = 5<!--Minimum rank to create or edit a junction box.-->
+
  | junction box = 5<!-- Minimum rank to create or edit a junction box.-->
  | mte = 1<!--Minimum rank to create or edit an MTE.-->
+
  | mte = 1<!-- Minimum rank to create or edit an MTE.-->
 
  | placeautotrust = 2<!-- Minimum rank to not require multiple edits to become trusted.-->
 
  | placeautotrust = 2<!-- Minimum rank to not require multiple edits to become trusted.-->
 
  | placeedits = an unpublished number of<!-- Number of place edits required to be trusted.-->
 
  | placeedits = an unpublished number of<!-- Number of place edits required to be trusted.-->
Line 24: Line 28:
 
  | placeflag
 
  | placeflag
 
  | placeflagapproval = 2<!-- Minimum rank required to approve flagged content.-->
 
  | placeflagapproval = 2<!-- Minimum rank required to approve flagged content.-->
  | routing = 4<!--Minimum rank to change preferred or unpreferred routing on a segment.-->
+
  | routing = 4<!-- Minimum rank to change preferred or unpreferred routing on a segment.-->
  | server = 4<!--Minimum rank to see the server selector on the main WME display.-->
+
  | server = 4<!-- Minimum rank to see the server selector on the main WME display.-->
  | snapshot = 4<!--Minimum rank to enter snapshot mode.-->
+
  | snapshot = 4<!-- Minimum rank to enter snapshot mode.-->
 
  | #default = {{red|Select a rank parameter listed on the template doc page}}
 
  | #default = {{red|Select a rank parameter listed on the template doc page}}
 
}}<noinclude>
 
}}<noinclude>

Revision as of 01:09, 15 May 2018

Select a rank parameter listed on the template doc page

Documentation icon Template documentation[view] [edit] [history] [purge]

This template is built to maintain all the key minimum rank numbers for the various object types and permissions.

Usage

Usage example:

{{rank | closure}}

Returns:

3


And would be used in a statement like:

Usage example:

The minimum rank to create or edit a road closure is {{rank | closure}}.

Returns:

The minimum rank to create or edit a road closure is 3.


To describe a range using the template, simply change the phrase around the number.

Usage example:

The editor must be rank {{rank | closure}} or higher to create or edit a road closure.

Returns:

The editor must be rank 3 or higher to create or edit a road closure.


Parameters

The table below indicates the accepted parameters and the resulting returns. The parameters are case insensitive. They are listed here with variable case only to help clarify the terms used.

Parameter
(case insensitive)
Result Description
AM
Area Manager
3 Minimum editor rank (typically) required to receive area manager status.
City 4 Minimum editor rank to create a new city (not add an existing city to an object).
CityRename Select a rank parameter listed on the template doc page Minimum editor rank to change the name of a city, and thus the name displayed in the address of every segment and venue that uses it.
Close UR 2 Minimum editor rank required to close a UR not created by self.
Closure 3 Minimum editor rank to create or edit a real time closure (RTC) including adding it to an MTE.
Delete Segment 2 Minimum editor rank to delete a segment not created by self.
Delete Segment Daily Select a rank parameter listed on the template doc page Number of segments that can be deleted per day when editor rank is less than Select a rank parameter listed on the template doc page.
Delete Segment Unlimited Select a rank parameter listed on the template doc page Minimum editor rank to delete an unlimited number of segments not created by self.
DT
Difficult Turn
3 Minimum editor rank to set a difficult turn.
Headlights Required 4 Minimum editor rank to edit the headlights required attribute of a segment.
HN
House Number Force
2 Minimum editor rank to be able to force house numbers to save.
JB
Junction Box
5 Minimum editor rank to create or edit a junction box.
MTE 1 Minimum editor rank to create or edit a Major Traffic Event (MTE).
PlaceAutoTrust 2 Minimum editor rank not requiring multiple edits to become trusted.
PlaceEdits an unpublished number of Number of approved place edits required before being trusted.
PlaceExternal 2 Minimum editor rank to add an external provider to a place.
PlaceFlag
PlaceFlagApproval
2 Minimum editor rank required to approve flagged content.
Routing 4 Minimum editor rank to change preferred or unpreferred routing on a segment.
Server 4 Minimum editor rank to see the server selector on the main WME display.
Snapshot 4 Minimum editor rank to enter snapshot mode.

See also

  • {{Drive expiration}} - Identifies the number of days before a drive expires from a user's editable area.
The above documentation is transcluded from Template:Rank/doc.
Please add categories to the /doc subpage.
Subpages of this template.