Difference between revisions of "User:FippeBot/Distances/doc"

From Geohashing
(Documentation for User:FippeBot/Distances)
 
Line 10: Line 10:
  
 
The script will only work if the <code>user categories</code> template on the expedition pages is in a single line with no spaces next to the <code>|</code> and the <code>=</code> characters, like in the above example.
 
The script will only work if the <code>user categories</code> template on the expedition pages is in a single line with no spaces next to the <code>|</code> and the <code>=</code> characters, like in the above example.
 
+
<includeonly>[[Category:Distances| ]]</includeonly>
 
----
 
----

Revision as of 20:32, 13 March 2022

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: Add an icon for "{{{1}}}" here!

.

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.