Template:UserBoxEx
Jump to navigation
Jump to search
| Florian M. | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Country | Germany | ||||||||
| State | Hessen
| ||||||||
| County | Bergstraße | ||||||||
| City | Bensheim | ||||||||
| GPS Device | Garmin eTrex Legend HCx | ||||||||
| OSM Editor | JOSM | ||||||||
| osm traces big map | |||||||||
UserBoxEx is a modified version of Template:User_box. I added a little extra and changed the design.
Arguments
| Name | Description | Optional |
|---|---|---|
| color | Color of the header | yes |
| osm_nick | Your nickname from OpenStreetMap | yes |
| name | Your real name | yes |
| country | Your country | yes |
| state | Your state | yes |
| region | Your region | yes |
| department | Your region | yes |
| county | Your county | yes |
| city | Your city | yes |
| gps_device | Your preferred gps device | yes |
| osm_editor | Your preferred OpenStreetMap editor | yes |
| lat | Your home latitude | no |
| lon | Your home longitude | no |
| zoom | zoomlevel on the map | no |
Example
{{UserBoxEx
| color = #99B3FF
| osm_nick=m0ep
| name = Florian M.
| country = Germany
| state = Hessen
| region =
| department = Darmstadt
| county = Bergstraße
| city = Bensheim
| gps_device = Garmin eTrex Legend HCx
| osm_editor = JOSM
| lat = 49.67332
| lon = 8.62086
| zoom = 15
}}
Just copy and change the values
Internationalization
For example here with a german template
- Create a new wikipage Template:UserBoxEx:de
- Then copy the following piece of code and modify the variables that begin with text_
<includeonly> {{UserBoxEx | text_country = Land | text_state = Bundesland | text_region = Region | text_department = Regierungsbezirk | text_county = Landkreis | text_city = Stadt | text_gps_device = GPS-Gerät | text_osm_editor = OSM-Editor | osm_nick={{{osm_nic}}} | color = {{{color}}} | name = {{{name}}} | country = {{{country}}} | state = {{{state}}} | region = {{{region}}} | department = {{{department}}} | county = {{{county}}} | city = {{{city}}} | gps_device = {{{gps_device}}} | osm_editor = {{{osm_editor}}} | lat = {{{lat}}} | lon = {{{lon}}} | zoom = {{{zoom}}} }} </includeonly> <noinclude>{{{{BASEPAGENAME}}/Documentation}}</noinclude> - Finally click save, then go to Template:UserBoxEx:de/Documentation and fill it a nice documentation
TODO
- Fix slippy map bug (parameter not parsed correctly)
- Show the map only if lat, lon and zoom are set