User:FippeBot/Distances

From Geohashing

When tagging your expeditions with {{user categories}}, there is an option to share the distances you travelled to reach the Geohash. An expedition by a user named Fippe who travelled 42 km by bike and 73 km by train may be tagged like this: {{user categories|user=Fippe|bike=42|train=73}}

If you want to have an overview of the distances you travelled to all your tagged expeditions, add an entry at this page, each entry in a new line. An entry consists of three #-separated columns in a line starting with a #:

  1. The user's name
  2. The page where the distances shall be displayed
  3. A space-separated list of the modes of transportation that are used by the user. Currently, the following modes of transportation are available: airmattress, bike, bus, car, ferry, foot, funicular, humanpoweredwatercraft, inlineskates, motorisedwatercraft, plane, subway, train, tram

.

For example, a user named Fippe who would like the distances to be displayed at User:Fippe/Distances and who uses bikes, busses and trains to travel to geohashes would use the following entry: #Fippe#User:Fippe/Distances#bike bus train

The script will only work if the user categories template on the expedition pages is in a single line with no spaces next to the | and the = characters, like in the above example.


  1. Fippe#User:Fippe/Distances#airmattress bike bus car ferry foot inlineskates train tram
  2. SastRe.O#User:SastRe.O/Distances#bike foot bus train subway funicular ferry plane
  3. Arlo#category:Arlo#foot
  4. Piotrekoo#User:Piotrekoo/Distances#bike foot bus train tram
  5. KerrMcF#User:KerrMcF/Distances#car foot bike humanpoweredwatercraft motorisedwatercraft bus train tram subway ferry plane
  6. Jota#User:Jota/Distances#foot car bus train subway tram bike ferry plane