قالب:Infobox former country/autocat
توثيق القالب
This subtemplate of {{ص.م بلد}} is used to automatically add categories to articles which transclude this template. It should not be used directly
تواريخ الإنشاء
- First the template tests to see if "Category:States and territories established in the {{{year_start}}}" exists. If so, it is added.
- If not, the template tests to see if "Category:States and territories established in {{{year_start}}}" exists. If so, it is added.
- If not, the template tests to see if "Category:States and territories established in the DECADEs" where DECADE is the decade containing {{{year_start}}} (ie تصنيف:States and territories established in the 120s BC). If so, it is added.
- If not, the template tests to see if "Category:States and territories established in the Nth century" where N is the century containing {{{year_start}}} (ie تصنيف:دول وأقاليم تأسست في القرن 1 ق م). If so, it is added.
The reason for the first case is in case an imprecise date is imputed, such as "the 820s" or "the 18th century", before trying exact dates like "1820".
تواريخ الانتهاء
- First the template tests to see if "Category:States and territories disestablished in the {{{year_start}}}" exists. If so, it is added.
- If not, the template tests to see if "Category:States and territories disestablished in {{{year_start}}}" exists. If so, it is added.
- If not, the template tests to see if "Category:States and territories disestablished in the DECADEs" where DECADE is the decade containing {{{year_start}}} (ie تصنيف:States and territories disestablished in the 120s BC). If so, it is added.
- If not, the template tests to see if "Category:States and territories disestablished in the Nth century" where N is the century containing {{{year_start}}} (ie تصنيف:دول وأقاليم انحلت في القرن 1 ق م). If so, it is added.
The reason for the first case is in case an imprecise date is imputed, such as "the 820s" or "the 18th century", before trying exact dates like "1820".