Ашаблон:Decade in country category

![]() | Ари ашаблон Lua апрограммаҟаҵаратә бызшәа ахархәара аҭатәуп: |
Ахәҭаҷ/асекциа адырра апроцесс аԥсуа бызшәа аиҭагара ахь. Абызшәа адырра шәазҟазазар, ишәылшоит шәхы алашәырхәыр. |
Purpose
[акод аредакциазура]Ашаблон:Decade in country category is intended to be used on decade in country categories (for example, Акатегориа:1990-тәи ашықәсқәа раан Канада иҟалаз ахҭысқәа or Акатегориа:1580-тәи ашықәсқәа раан Англиа иҟалаз ахҭысқәа). It creates a "timeline" style table of links to categories for adjacent decades before or after it (see example below).
Syntax
[акод аредакциазура]{{Decade in country category| | | |}}
Parameters
[акод аредакциазура]The four parameters indicate the country and its continent(s).
- The first parameter is the country name as indicated in the category name. You can autodetect the country from the category name using {{title country}}.
- The second parameter is the continent where the country is located.
- The third parameter is optional: if a country is located in two continents (mainly for countries in Europe and Asia, like Russia or Turkey), then a second continent can be included here. The order of the two continents is not important.
- The 4th parameter is optional: if a country is located in three continents.
Simple example
[акод аредакциазура]In most cases, only two parameters will be needed: the country and the continent.
When placed on the page Акатегориа:1860-тәи ашықәсқәа раан Иапониа иҟалаз ахҭысқәа:
{{Decade in country category|Иапониа|Азиа}}
- displays the following:
Агха! Function find_var can't find the variable text in category "Decade in country category".***Category series navigation failed to generate navbox***