قالب:Occupation
Translates the name of a person's profession or quality into user's preferred language. See template:occupation/list to see words that are translated into your language.
Usage
{{Occupation|1=|2=}}
You may find some explanations of difficult occupation names on the template talk page.
To prevent double entries, confusion between British or American spelling and all kinds of “gender trouble”, we supply alternative versions of parameter #1 for those entries which have notable (!) spelling or gender variants in the English language. Therefore, you can equally supply “actor” or “actress”, “monk” or “nun”, “draftsman” or “draughtsman” or “draftsperson” or “draughtsperson” for parameter #1. These variants are listed in italics below. Anyway, the output will honour the gender information you specify using parameter #2.
See {{occupation/list}} for more examples
Parameters
Parameter name | Description | Default value | required or optional?
|
---|---|---|---|
parameter #1 (1) | English name of the profession in lowercase letters. See list below for supported options. Pages using this template with unsupported professions will be automatically added to Category:Pages using Occupation template with incorrect parameters. | empty | required |
parameter #2 (2) | whether the individual is male or female (set the parameter to m or f accordingly). | m | optional |
lang | قالب:Language-code-documentation | empty | optional |
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
Example
{{Occupation|dancer|f}}:
renders as:
See also
{{CountryAdjective}}, {{NationAndOccupation}}
Localization
This template is localized through {{Autotranslate}}.
To add your language to the list of languages supported by this template, please copy the code of Template:Occupation/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang from en (or whatever language you are translating) to the language code of your language.
<inputbox> type=create preload=Template:Occupation/en default=Template:Occupation/⧼Lang⧽ </inputbox>
The above documentation is transcluded from قالب:Occupation/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. |