"Wikitravel has a speed and convenience the books' publishers can only envy." Time Europe

Template talk:Cuisine

From Wikitravel Shared

Jump to: navigation, search

[edit] About this template

This template is used to categorize food and drink related photos and their categories.

{{Cuisine|xxxxx|yyyyy}}
xxxxx
name of country (or region).
yyyyy
name of region (or city), optional.

This template works as follows:

  1. on category page with one parameter like {{Cuisine|xxxxx}}, the template returns [[Category:Cuisine of xxxxx]].
  2. on category page with two parameters like {{Cuisine|xxxxx|yyyyy}}, the template returns [[Category:Cuisine of xxxxx|yyyyy]] and [[Category:yyyyy|!]].
  3. on non-category page (normally, image page) with one parameter like {{Cuisine|xxxxx}}, the template returns [[Category:Cuisine of xxxxx]].
  4. on non-category page (normally, image page) with two parameters like {{Cuisine|xxxxx|yyyyy}}, the template returns [[Category:Cuisine of xxxxx]] and [[Category:Cuisine of yyyyy]]. This case is the same of using the template twice; {{Cuisine|xxxxx}} and {{Cuisine|yyyyy}}.