Clowan:Foodeyryn Fooagh
Ta'n duillag shoh ayns çhengey elley; cha nel ee ayns Gaelg. Ta feme eck er çhyndaa. |
Displays standardized category navigation for occupations and nationalities, required by Wikipedia:Naming conventions (categories)#Occupation.
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 followinmg categories will be generated instead:
- [[Category:Nationality people by occupation|Profession]]
- [[Category:Supercategory by nationality|Nationality]]
Self-checking
reaghThe template tests for the existence of [[Category:Profession by nationality]] or [[Category:Supercategory 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)
- When the "Supercategory" parameter is not supplied, the template tests for the existence of [[Category:Profession by nationality]]. If that does not exist, then [[Category:Profession]] will be used instead)
Usage
reaghSampleyr jeh Ronney:Screeudeyryn Americaanagh:
{{foodeyryn fooagh | Keird = Screeudeyryn | Ashoonaght = Americaanagh | Çheer = ny Steatyn Unnaneysit }}
Another category may be added between the "nationality people by occupation" and this occupation category.
Sampleyr jeh Ronney:Jeelaneyderyn Americaanagh:
{{foodeyryn fooagh | Keird = Jeelaneyder | Ard-ronney = Screeudeyryn | Ashoonaght = Americaanagh | Çheer = ny Steatyn Unnaneysit }}
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". In these instances, the template may be substituted and edited in place.
The above documentation is transcluded from Clowan:Foodeyryn Fooagh/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |