တမ်းပလိတ်:Fooian fooers
အမျိုးအစားခွဲခြားခြင်း: လူထု: အလုပ်အကိုင်အလိုက်: [[:Category:{{{Profession}}}|{{{Profession}}}]]: {{{Nationality}}}
အခြား: [[:Category:{{{Country}}}|{{{Country}}}]]: [[:Category:{{{Nationality}}} လူမျိုးများ|လူမျိုးများ]]: [[:Category:အလုပ်အကိုင်အလိုက် {{{Nationality}}}လူမျိုးများ|အလုပ်အကိုင်အလိုက်]]: {{{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
ပြင်ဆင်ရန်
Simplest case
For a profession which is a subset of another profession
For a profession which is an intersection of two other professions
|
- All parameters, vertical format
တမ်းပလိတ်:Fooian fooers/doc/parameterlist
တမ်းပလိတ်:Citation Style documentation/usage vertical
{Fooian fooers | Profession = | Nationality = | Country = | Supercategory = | Supercategory2 = }}
တမ်းပလိတ်:Citation Style documentation/usage vertical mid
Required Required Required Optional Optional
တမ်းပလိတ်:Citation Style documentation/usage vertical mid
The occupation, e.g. "film score composers" The nationality, for example "Irish" The country, for example "Ireland" An occupation of which this is a sub-category, e.g. "film people" Another occupation of which this is a sub-category, e.g. "composers"
တမ်းပလိတ်:Citation Style documentation/usage vertical end
Categories
ပြင်ဆင်ရန်Adds a pair of standard parent categories:
- [[Category:Nationality people by occupation|Profession]]
- [[Category:Profession by nationality|Nationality]]
If the "Supercategory" parameter is used, the following categories will be generated instead:
- [[Category:Nationality people by occupation|Profession]]
- [[Category:Supercategory by nationality|Nationality]]
If the "Supercategory2" parameter is also used, the following categories will be generated instead:
- [[Category:Nationality people by occupation|Profession]]
- [[Category:Supercategory by nationality|Nationality]]
- [[Category:Supercategory2 by nationality|Nationality]]
Self-checking
ပြင်ဆင်ရန်The template tests for the existence of [[Category:Profession by nationality]] or [[Category:Supercategory by nationality]] or [[Category:Supercategory2 by nationality]], and alters its output as follows:
- If the "Supercategory" parameter is supplied, but [[Category:Supercategory by nationality]] does not exist, then [[Category:Supercategory]] will be used instead)
- If the "Supercategory" and "Supercategory2" parameters are both supplied, but neither [[Category:Supercategory by nationality]] nor [[Category:Supercategory2 by nationality]] exists, then [[Category:Supercategory]] will be used instead)
- When neither the "Supercategory" or "Supercategory2" parameters supplied, the template tests for the existence of [[Category:Profession by nationality]]. If that does not exist, then [[Category:Profession]] will be used instead)
Examples
ပြင်ဆင်ရန်Example from Category:American writers:
{{Fooian fooers |Profession=Writers |Nationality=American |Country=United States}}
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 Category:American diarists:
{{Fooian fooers |Profession=Diarists |Supercategory=Writers |Nationality=American |Country=United States}}
Example from Category:Irish autobiographers:
{{Fooian fooers |Profession=Autobiographers |Nationality=Irish | Country=Ireland |Supercategory=Biographers}}
Example from Category: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 Category:British film score composers:
{{fooian fooers |Profession=Film score composers |Nationality=British |Supercategory=film people |Supercategory2=composers |Country=United Kingdom}}
Example from Category:Irish magazine editors:
{{Fooian fooers |Profession=magazine editors |Nationality=Irish |Country=Ireland |Supercategory=editors |Supercategory2=magazine people}}
Substitution
ပြင်ဆင်ရန်In most cases, should not be substituted.
Please note that this template may need to be modified for some categories, because some nationalities are listed as "People of Foo" instead of "Fooian". One such case is Northern Ireland: see {{Fooers from Northern Ireland}}
In other instances, the template may be substituted and edited in place.
See also
ပြင်ဆင်ရန်- Template:Fooian biologist types
- Template:Fooian scientist types
- Template:Fooers from Boo
- Template:Fooers from Northern Ireland
- Template:Political office-holders in Foo
အထက်ပါ အသုံးပြုပုံ လက်စွဲ (documentation)သည် တမ်းပလိတ်:Fooian fooers/doc မှ ကူးပြောင်းထည့်သွင်း (transclude လုပ်)ထားခြင်း ဖြစ်သည်။ (တည်းဖြတ် | ရာဇဝင်) တည်းဖြတ်သူများအနေဖြင့် ဤတမ်းပလိတ်၏ sandbox (ဖန်တီး | ပုံတူပွား) နှင့် testcases (ဖန်တီး) စာမျက်နှာများကို စမ်းသပ်နိုင်ပါသည်။ စာမျက်နှာခွဲ /doc တွင် ကဏ္ဍများထည့်သွင်းပါ။ ဤ တမ်းပလိတ် ၏ စာမျက်နှာခွဲများ။. |