Template:User username/doc

From OpenStreetMap Wiki
Jump to: navigation, search

Usage

This is an adaption of Template:Username to display a wiki user's OSM username in a userbox.

The command

{{User username|Example}}

will produce a box with a link to the OSM user named "Example":

OSM Logo This user submits data to OpenStreetMap under the name
Example.

(User username in the example output will be replaced with your wiki username (if used on your wiki userpage, else the name of the page, you can give another value if needed).

Use the second optional parameter to specify the text to display which is by default identical to the first parameter (OSM username).

Examples

Example Result
Link to OSM user "Harry Wood" (with similarly named wiki user User:Harry Wood)
{{User username|Harry Wood}}
OSM Logo This user submits data to OpenStreetMap under the name
Harry Wood.
Display an alternative text
{{User username|Harry Wood|H. Wood}}
OSM Logo This user submits data to OpenStreetMap under the name
H. Wood.
.
Additionally, you can set the background-color, border-color and icon-backgroud by using the respective parameters:
{{User username|Harry Wood|H. Wood|border-color=black|background-color=yellow|icon-color=cyan}}
OSM Logo This user submits data to OpenStreetMap under the name
H. Wood.

See also

Available languages — User username
Afrikaans Alemannisch aragonés asturianu azərbaycanca Bahasa Indonesia Bahasa Melayu Bân-lâm-gú Basa Jawa Baso Minangkabau bosanski brezhoneg català čeština dansk Deutsch eesti English español Esperanto estremeñu euskara français Frysk Gaeilge Gàidhlig galego Hausa hrvatski Igbo interlingua Interlingue isiXhosa isiZulu íslenska italiano Kiswahili Kreyòl ayisyen kréyòl gwadloupéyen kurdî latviešu Lëtzebuergesch lietuvių magyar Malagasy Malti Nederlands Nedersaksies norsk norsk nynorsk occitan Oromoo oʻzbekcha/ўзбекча Plattdüütsch polski português română shqip slovenčina slovenščina Soomaaliga suomi svenska Tiếng Việt Türkçe Vahcuengh vèneto Wolof Yorùbá Zazaki српски / srpski беларуская български қазақша македонски монгол русский тоҷикӣ українська Ελληνικά Հայերեն ქართული नेपाली मराठी हिन्दी অসমীয়া বাংলা ਪੰਜਾਬੀ ગુજરાતી ଓଡ଼ିଆ தமிழ் తెలుగు ಕನ್ನಡ മലയാളം සිංහල ไทย မြန်မာဘာသာ ລາວ ភាសាខ្មែរ ⵜⴰⵎⴰⵣⵉⵖⵜ አማርኛ 한국어 日本語 中文(简体)‎ 吴语 粵語 中文(繁體)‎ ייִדיש עברית اردو العربية پښتو سنڌي فارسی ދިވެހިބަސް