Difference between revisions of "Template:Meetup graticule/Documentation"
imported>Mattyk (→Comments) |
imported>Mattyk (→Usage: optional map= parameter) |
||
Line 6: | Line 6: | ||
<nowiki>{{meetup graticule | <nowiki>{{meetup graticule | ||
− | |||
| lat=37 | | lat=37 | ||
| lon=-121 | | lon=-121 | ||
Line 14: | Line 13: | ||
Optional parameters: | Optional parameters: | ||
<nowiki> | <nowiki> | ||
+ | | map=<map lat="37" lon="-121" date="2005-05-21" /> | ||
| graticule_name=London West | | graticule_name=London West | ||
| graticule_link=London West, United Kingdom | | graticule_link=London West, United Kingdom | ||
Line 21: | Line 21: | ||
For now, it contains a map, a category links. It may evolve to contain more usefull informations. | For now, it contains a map, a category links. It may evolve to contain more usefull informations. | ||
− | Right now, map argument is mandatory, even though the other supplied information should make it redundant.Perhaps the code could be changed to use the other data to construct the map link? | + | <!--Right now, map argument is mandatory, even though the other supplied information should make it redundant.Perhaps the code could be changed to use the other data to construct the map link?-->If the map argument is supplied, that wikitext is included directly in the template. Otherwise, a map is automagically generated, based on the lat, lon, and date parameters. |
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 have that kind of "redirection page". | 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 have that kind of "redirection page". | ||
The "retro" argument, when set to '''1''', excludes the meetup page from the ''Meetup on YYYY-MM-DD'' category and places it instead in [[:Category:Retro meetup]]. This is to be used for contexts such as the [[Origin Geohash]]. | The "retro" argument, when set to '''1''', excludes the meetup page from the ''Meetup on YYYY-MM-DD'' category and places it instead in [[:Category:Retro meetup]]. This is to be used for contexts such as the [[Origin Geohash]]. |
Revision as of 04:06, 9 December 2008
Back to: Template:Meetup graticule
Usage
{{meetup graticule | lat=37 | lon=-121 | date=2005-05-21 }}
Optional parameters:
| map=<map lat="37" lon="-121" date="2005-05-21" /> | graticule_name=London West | graticule_link=London West, United Kingdom | retro=1
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 contain more usefull informations.
If the map argument is supplied, that wikitext is included directly in the template. Otherwise, a map is automagically generated, based on the lat, lon, and date parameters.
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 have that kind of "redirection page".
The "retro" argument, when set to 1, excludes the meetup page from the Meetup on YYYY-MM-DD category and places it instead in Category:Retro meetup. This is to be used for contexts such as the Origin Geohash.