"සැකිල්ල:Infobox former country/autocat" හි සංශෝධන අතර වෙනස්කම්
No edit summary |
No edit summary |
||
22 පේළිය: | 22 පේළිය: | ||
|Australia|Oceania = [[Category:Former countries in Oceania|{{{common_name}}}, {{{year_start}}}]] |
|Australia|Oceania = [[Category:Former countries in Oceania|{{{common_name}}}, {{{year_start}}}]] |
||
|Asia, Europe|Eurasia = [[Category:Former countries in Europe|{{{common_name}}}, {{{year_start}}}]][[ප්රවර්ගය:ආසියාවේ පෙර තිබූ රටවල්|{{{common_name}}}, {{{year_start}}}]] |
|Asia, Europe|Eurasia = [[Category:Former countries in Europe|{{{common_name}}}, {{{year_start}}}]][[ප්රවර්ගය:ආසියාවේ පෙර තිබූ රටවල්|{{{common_name}}}, {{{year_start}}}]] |
||
|Africa, Asia|Afroasia = [[Category:Former countries in Africa|{{{common_name}}}, {{{year_start}}}]][[ |
|Africa, Asia|Afroasia = [[Category:Former countries in Africa|{{{common_name}}}, {{{year_start}}}]][[[ප්රවර්ගය:ආසියාවේ පෙර තිබූ රටවල්|{{{common_name}}}, {{{year_start}}}]] |
||
|Africa, Europe|Afroeurope = [[Category:Former countries in Africa|{{{common_name}}}, {{{year_start}}}]][[Category:Former countries in Europe|{{{common_name}}}, {{{year_start}}}]] |
|Africa, Europe|Afroeurope = [[Category:Former countries in Africa|{{{common_name}}}, {{{year_start}}}]][[Category:Former countries in Europe|{{{common_name}}}, {{{year_start}}}]] |
||
|Africa, Asia, Europe|Afroeurasia = [[Category:Former countries in Europe|{{{common_name}}}, {{{year_start}}}]][[ |
|Africa, Asia, Europe|Afroeurasia = [[Category:Former countries in Europe|{{{common_name}}}, {{{year_start}}}]][[ප්රවර්ගය:ආසියාවේ පෙර තිබූ රටවල්|{{{common_name}}}, {{{year_start}}}]][[Category:Former countries in Africa|{{{common_name}}}, {{{year_start}}}]] |
||
|Caribbean=<!-- No category yet --> |
|Caribbean=<!-- No category yet --> |
||
|#default={{!}}- style="font-size: 85%;" |
|#default={{!}}- style="font-size: 85%;" |
16:48, 18 සැප්තැම්බර් 2016 වන විට නවතම සංශෝධනය
This subtemplate of {{Infobox country}} is used to automatically add categories to articles which transclude this template. It should not be used directly
Establishment dates
First the template tests to see if "Category:States and territories established in the {{{year_start}}}" exists. If so, it is added, otherwise, the template tests to see if "Category:States and territories established in {{{year_start}}}" exists. If so, it is added.
The reason for these two cases is to cases like "the 820s" or "the 18th century", before trying precise dates like "1820".
Disestablishment dates
First the template tests to see if "Category:States and territories disestablished in the {{{year_end}}}" exists. If so, it is added, otherwise, the template tests to see if "Category:States and territories disestablished in {{{year_end}}}" exists. If so, it is added.
The reason for these two cases is to cases like "the 820s" or "the 18th century", before trying precise dates like "1820".