Template:OSM user

From OpenStreetMap Wiki
Jump to: navigation, search
[Edit] [Octicons-sync.svgpurge] Template-info.svg Template documentation

Description

{{OSM user}} or {{OsmUser}} inserts a link to a user's page on OpenStreetMap.org (i.e. //www.openstreetmap.org/user/username).

Just specify the same name you enter to login on OSM for your edits, without encoding it (use plain spaces, and non-Latin letters directly).

Optionally:

  • you can specify a second parameter for an alternate name to display.
  • you can specify m=1 or f=1 to render a male or female icon (no gender assumption is made by this template, because OSM users don't necessarily have a matching account name on this wiki, where users can register their preference).

The default is m=n, which only renders the minimum link only to the OSM user page, and disables the gender icon; additional external tools related to the OSM user account are also disabled (in {{User}} these tools are enabled by default but can also be disabled separately).

Usage

You type You get
{{OSM user|DaveHansenTiger}} DaveHansenTiger
{{OSM user|Harry Wood}} Harry Wood
{{OSM user|phobie}} phobie
{{OSM user|DaveHansenTiger|TIGER import account}} TIGER import account
{{OSM user|DaveHansenTiger|m = 1 }} User icon 2.svgDaveHansenTiger (on osm)
{{OSM user|Harry Wood|m = 1 }} User icon 2.svgHarry Wood (on osm)
{{OSM user|phobie|f = 1 }} User icon 3.svgphobie (on osm)

See also

  • {{User}} - inserts links to an user page on this OSM wiki, and/or the registered user's profile on OpenStreetMap.org (and optionally their edits history and a few other external tools related to this OSM user).