Template:Categories by type by country
Jump to navigation
Jump to search
- Result (called without any parameters)
Template for [[Category:{{{type|{{{1}}}}}} {{{object|{{{2}}}}}} in {{{country|{{{3}}}}}}]][edit]
Usage: {{Categories by type by country
- | 1 =
type
- | 2 =
object
- | 3 =
country
- | conjunction =
replacement_conjunction
(optional, default=in
) - | conjunction2 =
replacement_conjunction2
(optional, default=of
) - }}
- | 1 =
- generates ...
- category 1:
[[Category:{{{type}}} {{{object}}} by country]]
- or
[[Category:{{{type}}} {{{object}}}]]
- Either existing one is selected sequentially, otherwise none.
- or
- category 1:
- category 2:
[[Category:{{{object}}} {{{conjunction|in}}} {{{country}}} by type]]
- or
[[Category:{{{object}}} {{{conjunction|in}}} {{{country}}}]]
- Either existing one is selected sequentially, otherwise use last as default.
Additionally, category names including definite article "the" before the country name (the {{{country}}}
) is automatically complemented if possible.
- Either existing one is selected sequentially, otherwise use last as default.
- or
- category 2:
- category 3: optional category depends on value of
{{{object}}}
:- If
{{{object}}}
was "shop" then:[[Category:{{{type}}} {{{conjunction2|of}}} {{{country}}}]]
- Category names including definite article "the" before the country name (
the {{{country}}}
), and plural form of object ({{{object}}}s
) is automatically complemented if possible, otherwise use[[Category:{{{type}}}s of {{{country}}}]]
as default.
- Category names including definite article "the" before the country name (
- If
- category 3: optional category depends on value of
See also[edit]
- {{Categories by type by country/main}} — main routine of this template
- Category:Template Error Log (Categories by type by country) without 1st category — hidden category to detect several issue on caller page. (automatically categorized when 1st category ([[Category:{{{type}}} {{{object}}} by country]]) is not exist)