Ашаблон:Fooian fooers
Аихшара: Ауаа: рзанааҭ ҳасабала: [[:Акатегориа:|{{{Profession}}}]]: {{{Nationality}}}
Даҽа: [[:Акатегориа:{{{Country}}}|{{{Country}}}]]: [[:Акатегориа:{{{Nationality}}}|Ауаа]]: [[:Акатегориа:{{{Country}}} инхо ауаа рзанааҭ ҳасабала|рзанааҭ ҳасабала]]: {{{Profession}}} |
Ахәҭаҷ/асекциа адырра апроцесс аԥсуа бызшәа аиҭагара ахь. Абызшәа адырра шәазҟазазар, ишәылшоит шәхы алашәырхәыр. |
Displays standardized category navigation for occupations and nationalities, required by Wikipedia:Category names#Occupation.
This template should be avoided on categories not diffused by nationality, e.g. Arab, Bengali, Carniolan, Guadeloupean fooers. Note that geographic categories should in general use the People from Foo format, as required by Wikipedia:Category names#Residence.
Usage
[акод аредакциазура]Sovereign nationalities
[акод аредакциазура]
Simplest case
For a profession which is a subset of another profession
For a profession which is an intersection of two other professions
|
Non-sovereign nationalities
[акод аредакциазура]For colonies, protectorates, constituent countries, overseas territories etc:
{{Fooian fooers |Profession= |Nationality= | NationalityWithSuffix= |Country= |ParentCountry= | ParentNationality= }}
- All parameters, vertical format
{{Fooian fooers
| Profession =
| Nationality =
| Country =
| Supercategory =
| Supercategory2 =
| ParentCountry =
| ParentNationality =
}}
Vertical list | Prerequisites | Brief instructions / notes |
---|---|---|
{{Fooian fooers | Profession = | Nationality = | NationalityWithSuffix = | Country = | Supercategory = | Supercategory2 = | ParentCountry = | ParentNationality = | CustomOccupation = | Supercategory-sort = | Supercategory2-sort = }} |
Required Required Required Required Optional Optional Optional Optional Optional Optional Optional |
The occupation, e.g. "film score composers" The nationality, for example "Америкауаа" (the name of corresponding nationality from [[:Акатегориа:Ауаа атәылақәа рыла]]) The adjective form of nationality with suffix, for example "Америкатәи" (this parameter must be filled even if Nationality and NationalityWithSuffix are the same) The country, for example "Еиду Америкатәи Аштатқәа" An occupation of which this is a sub-category, e.g. "актиорцәа" Another occupation of which this is a sub-category, e.g. "акомпозиторцәа" The parent country of which this is a territory, e.g. "Британиаду" The parent nationality, e.g. "Абританаа" In some special cases the term "инхо ауаа" is unacceptable to form a category name for people by occupation. This allows to input a full category name, e.g. "Британиатәи персонақәа рзанааҭ ҳасабала" In some special cases the Supercategory name can not form a category properly. This allows to form a proper category name, e.g. "Асовет шәҟәыҩҩцәа" instead of inappropriate "Асовет ашәҟәыҩҩцәа" The same as above for Supercategory 2 |
- If a field name is listed in the Prerequisites column, it is a prerequisite for the field to the left.
Also note that the template is able to auto-correct the possible errors in sorting the category to its corresponding supercategories according to Profession. It prevents to sort the category by «А» when it should be ommited, and uses a second letter instead. If there is a need to keep that «А» like in a word «артистцеа», you can do it simply by inputing Profession parameter with lower-case first letter «а».
Categories
[акод аредакциазура]Adds a pair of standard parent categories:
- [[Акатегориа:Nationality инхо ауаа рзанааҭ ҳасабала|Profession]]
- [[Акатегориа:Profession атәылақәа рыла|Nationality]]
If the "Supercategory" parameter is used, the following categories will be generated instead:
- [[Акатегориа:Nationality инхо ауаа рзанааҭ ҳасабала|Profession]]
- [[Акатегориа:Supercategory атәылақәа рыла|Nationality]]
If the "Supercategory2" parameter is also used, the following categories will be generated instead:
- [[Акатегориа:Nationality инхо ауаа рзанааҭ ҳасабала|Profession]]
- [[Акатегориа:Supercategory атәылақәа рыла|Nationality]]
- [[Акатегориа:Supercategory2 атәылақәа рыла|Nationality]]
Self-checking
[акод аредакциазура]The template tests for the existence of [[Акатегориа:Profession атәылақәа рыла]] or [[Акатегориа:Supercategory атәылақәа рыла]] or [[Акатегориа:Supercategory2 атәылақәа рыла]], and alters its output as follows:
- If the "Supercategory" parameter is supplied, but [[Акатегориа:Supercategory атәылақәа рыла]] does not exist, then [[Акатегориа:Supercategory]] will be used instead)
- If the "Supercategory" and "Supercategory2" parameters are both supplied, but neither [[Акатегориа:Supercategory атәылақәа рыла]] nor [[Акатегориа:Supercategory2 атәылақәа рыла]] exists, then [[Акатегориа:Supercategory]] will be used instead)
- When neither the "Supercategory" or "Supercategory2" parameters supplied, the template tests for the existence of [[Акатегориа:Profession атәылақәа рыла]]. If that does not exist, then [[Акатегориа:Profession]] will be used instead)
Examples
[акод аредакциазура]Example from Акатегориа:Америкатәи ашәҟәыҩҩцәа:
{{Fooian fooers |Profession=Ашәҟәыҩҩцәа |Nationality=Америка |NationalityWithSuffix=Америкатәи |Country=Еиду Америкатәи Аштатқәа}}
Supercategory
[акод аредакциазура]The Supercategory
parameter allows another category to be added between the "nationality people by occupation" and this occupation category. This for occupations which are a subset of another ocupation.
Example from Акатегориа:Америкатәи апоетцәа:
{{Fooian fooers |Profession=Апоетцәа |Supercategory=Ашәҟәыҩҩцәа |Nationality=Америка |NationalityWithSuffix=Америкатәи |Country=Еиду Америкатәи Аштатқәа}}
Example from Акатегориа:Irish autobiographers:
{{Fooian fooers |Profession=Autobiographers |Nationality=Irish | Country=Ireland |Supercategory=Biographers}}
Example from Акатегориа:German civil engineers:
{{Fooian fooers |Profession=civil engineers |Nationality=German |Country=Germany |Supercategory=engineers}}
Supercategory2
[акод аредакциазура]The Supercategory2
parameter is for use when an occupation is an intersection of two other occupations.
Example from Акатегориа:British film score composers:
{{fooian fooers |Profession=Film score composers |Nationality=British |Supercategory=film people |Supercategory2=composers |Country=United Kingdom}}
Example from Акатегориа:Irish magazine editors:
{{Fooian fooers |Profession=magazine editors |Nationality=Irish |Country=Ireland |Supercategory=editors |Supercategory2=magazine people}}
Modifications
[акод аредакциазура]In most cases, should not be substituted.
Please note that this template needs to be modified for some categories. Some nationalities are listed as "People from Foo" instead of "Fooian". One such case is Northern Ireland, for which there is a specialised template {{Fooers from Northern Ireland}}. Other cases such as Ақырҭцәа should use {{Fooers from Boo}}.
The template is also able to resolve redirects where required. The profession usually has to be converted to lowercase when used after a nationality, but this generates an incorrect parent for cases that require a capital letter; e.g. the template on Category:Scottish Shakespearean actors generates lowercase Category:British shakespearean actors for the parent nationality. The easiest workaround is to place a category redirect page at Category:British shakespearean actors, and then the template resolves this to the correct target Category:British Shakespearean actors.
In other instances, the template may be substituted and edited in place.