"Wikitravel has a speed and convenience the books' publishers can only envy." — Time Europe
Template talk:Map
From Wikitravel Shared
[edit] About this template
This template is used to categorize maps and map categories.
{{Map|xxxxx|yyyyy}}
- xxxxx
- name of country (or region).
- yyyyy
- name of region (or city), optional.
This template works as follows:
- on category page with one parameter like {{Map|xxxxx}}, the template returns [[Category:Maps of xxxxx]].
- on category page with two parameters like {{Map|xxxxx|yyyyy}}, the template returns [[Category:Maps of xxxxx|yyyyy]] and [[Category:yyyyy|!]].
- on non-category page (normally, image page) with one parameter like {{Map|xxxxx}}, the template returns [[Category:Maps of xxxxx]].
- on non-category page (normally, image page) with two parameters like {{Map|xxxxx|yyyyy}}, the template returns [[Category:Maps of xxxxx]] and [[Category:Maps of yyyyy]]. This case is the same of using the template twice; {{Map|xxxxx}} and {{Map|yyyyy}}.

