User:FippeBot/Distances/doc

From Geohashing
< User:FippeBot‎ | Distances
Revision as of 12:39, 14 March 2022 by Fippe (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.