Difference between revisions of "Template:Meetup graticule/Documentation"

From Geohashing
imported>Gissehel
(Link to the edit page)
imported>Gissehel
(New parameters)
Line 7: Line 7:
 
| date=2005-05-21
 
| date=2005-05-21
 
}}</nowiki>
 
}}</nowiki>
 +
 +
Optional parameters:
 +
<nowiki>| graticule_name=London West</nowiki>
 +
<nowiki>| graticule_link=London West, United Kingdom</nowiki>
  
 
This template is design for "meetup pages", pages which name look like "[[2008-05-21 37 -121]]".  
 
This template is design for "meetup pages", pages which name look like "[[2008-05-21 37 -121]]".  
Line 12: Line 16:
  
 
Right now, map argument is mandatory, while beeing so redundant with other informations. I hope it will change in the futur (I think it needs code change!)
 
Right now, map argument is mandatory, while beeing so redundant with other informations. I hope it will change in the futur (I think it needs code change!)
 +
 +
If graticule_link is not provided, graticule_name will be used as link. If neither of them is provided, <nowiki>{{{lat}}},{{{lon}}}</nowiki> will be used, as some graticule pages already got that kind of "redirection page".
  
 
:--[[User:Gissehel|Gissehel]] 10:55, 24 May 2008 (UTC)
 
:--[[User:Gissehel|Gissehel]] 10:55, 24 May 2008 (UTC)

Revision as of 03:20, 25 May 2008

Usage:

{{meetup graticule
| map=<map lat="123" lon="-45" date="2005-05-21" />
| lat=123
| lon=-45
| date=2005-05-21
}}

Optional parameters:

| graticule_name=London West
| graticule_link=London West, United Kingdom

This template is design for "meetup pages", pages which name look like "2008-05-21 37 -121". For now, it contains a map, a category links. It may evolve to conatain more usefull informations.

Right now, map argument is mandatory, while beeing so redundant with other informations. I hope it will change in the futur (I think it needs code change!)

If graticule_link is not provided, graticule_name will be used as link. If neither of them is provided, {{{lat}}},{{{lon}}} will be used, as some graticule pages already got that kind of "redirection page".

--Gissehel 10:55, 24 May 2008 (UTC)

Edit the documentation (it isn't part of the template page)