Template:Occupation by nationality and century category header/nationality: Difference between revisions
Appearance
Content deleted Content added
added chinese denom |
added Gibraltarian |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{Title demonym}}<!-- |
<includeonly>{{#switch: {{Title demonym}}<!-- |
||
# Dynamic category assignment for British demonyms |
# Dynamic category assignment for British demonyms |
||
-->| Scottish | Welsh | English | Manx =<!-- |
-->| Scottish | Welsh | English | Manx | Gibraltarian =<!-- |
||
-->{{#switch: {{Title century}}| 21|20| 19|18 = |
|||
⚫ | |||
{{Occupation by nationality and century category header/nationality/parentnationality|parentnationality=British|Occupation={{{Occupation}}}|nondiffdenom_noun={{{nondiffdenom_noun}}}|ParentOccupation={{{ParentOccupation}}}}}| |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
--> Puerto Rican = {{#switch: {{Title century}}| 21|20 =<!-- |
|||
<!--# Dynamic category assignment for Puerto Rican demonyms |
|||
--> Puerto Rican =<!-- |
|||
-->{{#ifexist:Category:{{Century name from decade or year|{{Title century}}00|dash}} {{{Occupation}}} from insular areas of the United States|<!-- |
-->{{#ifexist:Category:{{Century name from decade or year|{{Title century}}00|dash}} {{{Occupation}}} from insular areas of the United States|<!-- |
||
-->[[Category:{{Resolve category redirect|{{Century name from decade or year|{{Title century}}00|dash}} {{{Occupation}}} from insular areas of the United States}}|{{Title demonym}}]] |
-->[[Category:{{Resolve category redirect|{{Century name from decade or year|{{Title century}}00|dash}} {{{Occupation}}} from insular areas of the United States}}|{{Title demonym}}]] |
||
{{#ifexist: Category:{{Century name from decade or year|{{Title century}}00|dash}} {{Title demonym}} |
{{#ifexist: Category:{{Century name from decade or year|{{Title century}}00|dash}} {{Title demonym}} {{{nondiffdenom_noun}}} by occupation <!-- page title to check if exists --><!-- |
||
-->|[[Category:{{Resolve category redirect|{{Century name from decade or year|{{Title century}}00|dash}} {{Title demonym}} |
-->|[[Category:{{Resolve category redirect|{{Century name from decade or year|{{Title century}}00|dash}} {{Title demonym}} {{{nondiffdenom_noun}}} by occupation}}|{{{Occupation}}}]]<!-- value if does exist |
||
-->|[[Category:{{Resolve category redirect|{{Century name from decade or year|{{Title century}}00|dash}} {{Title demonym}} |
-->|{{#ifexist: Category:{{Century name from decade or year|{{Title century}}00|dash}} {{Title demonym}} {{{nondiffdenom_noun}}}| [[Category:{{Resolve category redirect|{{Century name from decade or year|{{Title century}}00|dash}} {{Title demonym}} {{{nondiffdenom_noun}}}}}|{{{Occupation}}}]]}} }} |
||
|<!-- |
|<!-- |
||
-->{{Occupation by nationality and century category header/nationality/ |
-->{{Occupation by nationality and century category header/nationality/parentnationality|parentnationality=American|Occupation={{{Occupation}}}|nondiffdenom_noun={{{nondiffdenom_noun}}}|ParentOccupation={{{ParentOccupation}}}}} |
||
}}| |
|||
⚫ | |||
}}<!-- |
}}<!-- |
||
--> <!-- value if doesn't exist -->|<!-- |
--> <!-- value if doesn't exist -->|<!-- |
||
Line 30: | Line 31: | ||
if russian empire-->{{#switch: {{Title century}}| 19| 18 = |
if russian empire-->{{#switch: {{Title century}}| 19| 18 = |
||
{{#ifexist:Category:{{{Occupation}}} from the Russian Empire| |
{{#ifexist:Category:{{{Occupation}}} from the Russian Empire| |
||
[[Category:{{{Occupation}}} from the Russian Empire| ]]}}}}<!-- |
[[Category:{{Resolve category redirect|{{{Occupation}}} from the Russian Empire}}| ]]}}}}<!-- |
||
⚫ | |||
⚫ | |||
if Dutch Republic-->{{#switch: {{Title century}}| 16|17| 18 = |
|||
{{#ifexist:Category:{{{Occupation}}} from the Dutch Republic| |
|||
[[Category:{{Resolve category redirect|{{{Occupation}}} from the Dutch Republic}}| ]]}}}}<!-- |
|||
-->|<!-- |
-->|<!-- |
||
-->Zimbabwean=<!-- |
-->Zimbabwean=<!-- |
||
Line 41: | Line 47: | ||
-->[[Category:{{Century name from decade or year|{{Title century}}00|dash}} British {{{Occupation}}}| {{Title demonym}}]]| |
-->[[Category:{{Century name from decade or year|{{Title century}}00|dash}} British {{{Occupation}}}| {{Title demonym}}]]| |
||
}}}}|<!-- |
}}}}|<!-- |
||
--> |
-->Slovak=<!-- |
||
see |
see Slovak if 20th century-->{{#ifeq: {{Title century}}| 20 | |
||
{{#ifexist:Category:Czechoslovak {{{Occupation}}}| |
{{#ifexist:Category:Czechoslovak {{{Occupation}}}| |
||
{{Category see also|Czechoslovak {{{Occupation}}}}}}}|}} |
{{Category see also|Czechoslovak {{{Occupation}}}}}}}|}} |
||
⚫ | |||
⚫ | |||
-->Czech=<!-- |
|||
see Czech if 20th century-->{{#switch: {{Title century}}| 20 = |
|||
{{#ifexist:Category:Czechoslovak {{{Occupation}}}| |
|||
{{Category see also|Czechoslovak {{{Occupation}}}}}}} |
|||
| 19 = |
|||
{{#ifexist:Category:18th-century {{{Occupation}}} from Bohemia| |
|||
{{category pair|18th-century {{{Occupation}}} from Bohemia}}}} |
|||
}} |
|||
<!-- |
<!-- |
||
-->|<!-- |
-->|<!-- |
||
Line 50: | Line 66: | ||
see yugoif 20th century-->{{#ifeq: {{Title century}}| 20 | |
see yugoif 20th century-->{{#ifeq: {{Title century}}| 20 | |
||
{{#ifexist:Category:Yugoslav {{{Occupation}}}| |
{{#ifexist:Category:Yugoslav {{{Occupation}}}| |
||
{{Category see also|Yugoslav {{{Occupation}}}}}}}|}} |
{{Category see also|Yugoslav {{{Occupation}}}}}}}|}}<!-- |
||
⚫ | |||
-->|<!-- |
-->|<!-- |
||
-->Turkish=<!-- |
-->Turkish=<!-- |
||
Line 58: | Line 73: | ||
{{Category see also|{{Century name from decade or year|{{Title century}}00|dash}} {{{Occupation}}} from the Ottoman Empire}}}} |
{{Category see also|{{Century name from decade or year|{{Title century}}00|dash}} {{{Occupation}}} from the Ottoman Empire}}}} |
||
<!-- |
<!-- |
||
⚫ | |||
add Hong Kong if 21st-century-->{{#ifeq: {{Title century}}| 21 | |
|||
⚫ | |||
⚫ | |||
}}}}<!-- |
|||
-->|<!-- |
-->|<!-- |
||
Add Korean bonus |
Add NS Korean bonus |
||
--> North Korean|South Korean = |
--> North Korean|South Korean = |
||
{{#ifexist:Category:{{Century name from decade or year|{{Title century}}00|dash}} Korean {{{Occupation}}} |<!-- |
{{#ifexist:Category:{{Century name from decade or year|{{Title century}}00|dash}} Korean {{{Occupation}}} |<!-- |
||
-->[[Category:{{Century name from decade or year|{{Title century}}00|dash}} Korean {{{Occupation}}}| {{Title demonym}}]]| |
-->[[Category:{{Century name from decade or year|{{Title century}}00|dash}} Korean {{{Occupation}}}| {{Title demonym}}]]| |
||
}} |
}}|<!-- |
||
Add Korean bonus |
|||
⚫ | |||
--> Korean = |
|||
# Basic for everybody |
|||
{{Korean biographical category message|{{{Occupation}}}}} |
|||
⚫ | |||
}}<!--Basic --> |
|||
-->|[[Category:{{Resolve category redirect|{{Century name from decade or year|{{Title century}}00|dash}} {{{Occupation}}} by nationality}}|{{Title demonym}} ]] <!-- |
|||
{{Occupation by nationality and century category header/nationality/core|Occupation={{{Occupation}}}|nondiffdenom_noun={{{nondiffdenom_noun}}}}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
-->{{#ifexist: Category:{{Century name from decade or year|{{Title century}}00|dash}} {{Title demonym}} people by occupation<!-- |
|||
-->|[[Category:{{Resolve category redirect|{{Century name from decade or year|{{Title century}}00|dash}} {{Title demonym}} people by occupation}}|{{{Occupation}}}]]<!-- |
|||
-->|{{#ifexist:Category:{{Century name from decade or year|{{Title century}}00|dash}} {{Title demonym}} people| |
|||
[[Category:{{Resolve category redirect|{{Century name from decade or year|{{Title century}}00|dash}} {{Title demonym}} people}}|{{{Occupation}}}]]|}}<!-- |
|||
⚫ | |||
-->}} |
|||
⚫ |