الگو:Political office-holders in Foo/توضیحات
این زیرصفحهٔ مستندات الگو:Political office-holders in Foo است. این شامل اطلاعات استفاده، الگوها، پیوندهای بین زبانی و سایر اطلاعات است که در اصل الگو صفحه قرار نمیگیرد. |
Displays standardized category navigation for the national sub-categories of رده:کارمندان سیاسی بر پایه کشور, required by Wikipedia:Naming conventions (categories)#Occupation.
Usage
[ویرایش]
Simplest case
For a country which is a within another country
|
The parameter nocat
may be used to suppress categories.
The parameter former
should be used for former countries.
Categories
[ویرایش]Adds a pair of standard parent categories:
- [[Category:Nationality politicians|Office-holders]]
- [[Category:Political office-holders by country|Country]]
If the "ParentCountry" parameter is used, the following categories will be generated instead:
- [[Category:Political office-holders in ParentCountry| Country]]
Examples
[ویرایش]Example from Category:Political office-holders in Angola:
{{Political office-holders in Foo|Country=Angola |Nationality=Angolan}}
Example from Category:Political office-holders in Scotland:
{{Political office-holders in Foo|Country=Scotland |Nationality=Scottish |ParentCountry = United Kingdom}}
Example from رده:کارمندان سیاسی اهل ایالات متحده آمریکا:
{{Political office-holders in Foo|Country=United States |Nationality=American}}
Example from Category:Political office-holders in Austria-Hungary:
{{Political office-holders in Foo|Country=Austria-Hungary |Nationality=Austro-Hungarian |former=yes}}
Example using nocat
to suppress categories:
{{Political office-holders in Foo|Country=Ruritania |Nationality=Ruritanian |nocat=yes}}
Substitution
[ویرایش]In most cases, should not be substituted.
See also
[ویرایش]