Difference between revisions of "User talk:Duskwolf"
imported>Zigdon (New page: Hey - is it possible to create a template like the <nowiki>{{graticule}}</nowiki> one that will allow floating the map in a specific page right, without it messing up the rest of the page?...) |
imported>Robyn (Thanks.) |
||
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | Hey - is it possible to create a template like the <nowiki>{{graticule}}</nowiki> one that will allow floating the map in a specific page right, without it messing up the rest of the page? [[2008-05-21 37 -121] [[User:Zigdon|Zigdon]] 02:19, 22 May 2008 (UTC) | + | == Graticule without surroundings == |
+ | Hey - is it possible to create a template like the <nowiki>{{graticule}}</nowiki> one that will allow floating the map in a specific page right, without it messing up the rest of the page? [[2008-05-21 37 -121]] [[User:Zigdon|Zigdon]] 02:19, 22 May 2008 (UTC) | ||
+ | |||
+ | {{graticule | map=<map lat="51" lon="0" /> | maponly=1}} | ||
+ | : Done. Just use {{tl|graticule}} with the parameter <tt>maponly=1</tt>, like so: | ||
+ | |||
+ | <nowiki>{{graticule | map=<map lat="51" lon="0" /> | maponly=1}}</nowiki> | ||
+ | :: Sweet, thanks! [[User:Zigdon|Zigdon]] 17:27, 22 May 2008 (UTC) | ||
+ | :: Hmm, seems it still messed up the HRs and edit links? [[User:Zigdon|Zigdon]] 17:29, 22 May 2008 (UTC) | ||
+ | |||
+ | ==Square Brackets== | ||
+ | |||
+ | I just removed the square brackets that you put back in - I have no interest in a revert war, so I won't do it again until we can figure out what's going on - I think a lot of graticule pages have been built in the last little while, and this way is better, because of the additional flexibility. For instance, see [[Ulsteinvik, Norway]] - I wouldn't be able to add the Norwegian Sea there, otherwise. Can I ask what your reasons are for the other direction? [[User:AshleyMorton|AshleyMorton]] 21:31, 22 May 2008 (UTC) | ||
+ | |||
+ | : Hm. If it's the case that most pages are using brackets now, then I don't see much of a problem with it. My main concern was simply that the pages I checked didn't have brackets, so they ended up unlinked. The original reason I didn't use brackets was simply that I was going for the simplest possible usage - adding a few brackets isn't hard, but it's easy to forget. | ||
+ | : Eventually, though, I'd like to do away with the explicit surrounds entirely. I'm not exactly sure how I'd organize the data, but it seems to me that it wouldn't be particularly difficult to put together some sort of index such that the template can generate links and names automatically. [[User:Duskwolf|Duskwolf]] 21:41, 22 May 2008 (UTC) | ||
+ | |||
+ | ==Northern Graticules Truncated== | ||
+ | As graticules get skinnier towards the north (and presumably the south) the template displays them at a larger and larger scale, until approaching the Arctic circle the graticules displayed become truncated at the top and bottom. See [[Orkanger, Norway]] for an example. --[[User:Robyn]] didn't sign his/her message | ||
+ | |||
+ | : Wow, I haven't touched this thing in ages. Anyways, I think that's happening in the [http://irc.peeron.com/xkcd/map/map.html map.html] script, not in the template code. [[User:Duskwolf|Duskwolf]] 04:17, 7 October 2008 (UTC) | ||
+ | |||
+ | ::You haven't needed to touch it: it's an excellent piece of code and has become a standard fixture on every graticule page. People are still trying to make it link automatically to neighbours, with various crazy schemes, but I think your eventual decision to let people link manually as they see fit is the right one. I'll even remember to sign my name this time. -[[User:Robyn|Robyn]] 05:47, 7 October 2008 (UTC) |
Latest revision as of 05:47, 7 October 2008
Graticule without surroundings
Hey - is it possible to create a template like the {{graticule}} one that will allow floating the map in a specific page right, without it messing up the rest of the page? 2008-05-21 37 -121 Zigdon 02:19, 22 May 2008 (UTC)
[[Category:Meetup in {{{lat}}} {{{lon}}}| ]]
- Done. Just use {{graticule}} with the parameter maponly=1, like so:
{{graticule | map=<map lat="51" lon="0" /> | maponly=1}}
Square Brackets
I just removed the square brackets that you put back in - I have no interest in a revert war, so I won't do it again until we can figure out what's going on - I think a lot of graticule pages have been built in the last little while, and this way is better, because of the additional flexibility. For instance, see Ulsteinvik, Norway - I wouldn't be able to add the Norwegian Sea there, otherwise. Can I ask what your reasons are for the other direction? AshleyMorton 21:31, 22 May 2008 (UTC)
- Hm. If it's the case that most pages are using brackets now, then I don't see much of a problem with it. My main concern was simply that the pages I checked didn't have brackets, so they ended up unlinked. The original reason I didn't use brackets was simply that I was going for the simplest possible usage - adding a few brackets isn't hard, but it's easy to forget.
- Eventually, though, I'd like to do away with the explicit surrounds entirely. I'm not exactly sure how I'd organize the data, but it seems to me that it wouldn't be particularly difficult to put together some sort of index such that the template can generate links and names automatically. Duskwolf 21:41, 22 May 2008 (UTC)
Northern Graticules Truncated
As graticules get skinnier towards the north (and presumably the south) the template displays them at a larger and larger scale, until approaching the Arctic circle the graticules displayed become truncated at the top and bottom. See Orkanger, Norway for an example. --User:Robyn didn't sign his/her message
- Wow, I haven't touched this thing in ages. Anyways, I think that's happening in the map.html script, not in the template code. Duskwolf 04:17, 7 October 2008 (UTC)
- You haven't needed to touch it: it's an excellent piece of code and has become a standard fixture on every graticule page. People are still trying to make it link automatically to neighbours, with various crazy schemes, but I think your eventual decision to let people link manually as they see fit is the right one. I'll even remember to sign my name this time. -Robyn 05:47, 7 October 2008 (UTC)