User talk:Vhasler

From TEHCC Wiki
Revision as of 21:44, 23 May 2012 by WikiSysop (talk | contribs) (update)
Jump to navigation Jump to search

As you probably have seen I've been playing with the Trail Infobox. My goal was to get a single lat/lon entry work for map the IB table, Gmap centering, and Gmap tag. I got it to work so now the IB template should be just...

{{Infobox Trail
                     | Image Name = Sinking Waters information sign.jpg
                     | Hike Time = 1
                     | City = Kingsport
                     | State = Tennessee
                     | Marking = None
                     | Trail Use = {{Hike}} {{Dogs}}
                     | Season = Year Round
                     | Difficulty Rating = Easy
                     | Distance = 3.0
                     | Elevation Gain = 0-200
                     | High Point = 1618
                     | Latitude = 36.516591
                     | Longitude = -82.473665
                     | Medical = Kingsport, TN
}}
<!-- End Infobox template table-->

Essentially the whole bottom business with the GMap extension is gone and moved to the template. See WPSP Sinking Waters for an example.

I feel this cleans things up for novices (not that we have many editing) and just ensures everything matches up well plus simplifies editing. The problem is that it appears that you prefer DMS coords which the GMap tag doesn't work with (so all trail pages with DMS lat/lon IB coords are now not working). I can change the template to have more variables for DMS lat/lon and DEG lat/lon, but that puts us almost back to where we were. Still a bit cleaner looking though. Thoughts? --WikiSysop 21:19, 22 May 2012 (MDT)

OK. New extension added so that even though you enter DEG in the wiki it converts it to DMS on the page. It looks like you have a slightly different format, I'll see if I can tweak the calculations to match your old format. Hmmm, need to check what happens to pages already listed in DMS... Ugly, nothing works, no IB display, no GMap. The format that the extension generates appears to be Wikipedia's preferred format. Any particular reason for the format you were using? --WikiSysop 19:34, 23 May 2012 (MDT)