NationAndOccupation
Discusión0Página de plantilla
[edit]
Documentation
(this part of the documentation is only available in some languages)
Translates a person’s nationality and profession into user’s preferred language. The template takes care for the right word order: {{NationAndOccupation|m|FR|painter|poet}} gives “French painter and poet”, if the user’s preferred language is set to English, but “pintor y poeta francés”, if the language is set to Spanish. This is especially useful with the “Description” field of {{Creator}} templates.
Indice |
Usage
{{NationAndOccupation|1=|2=|3=}}
Parameters
| Parameter name | Description (this part of the documentation is only available in some languages) | Default value | required or optional?
|
|---|---|---|---|
| parameter #1 (1) | Whether the individual is male or female (set the parameter to m or f accordingly). | m | required |
| parameter #2 (2) | Home nation of the person that determines nationality; not necessarily the same as country of birth, place of residence nor place of death. See {{CountryAdjective}} and {{RegionAdjective}} for supported values. | empty | required |
| parameter #3 (3) | English name of the profession. See {{Occupation}} for supported values. Pages using unsupported values will be listed in Category:Pages using Occupation template with incorrect parameters. | empty | required |
| 4, 5, 6 | Up to three more professions. | empty | optional |
| lang | Language code (only needs to be provided if the language shall be fixed and independant from the user’s preferences). | 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
Relies on:
{{CountryAdjective}}, {{RegionAdjective}}, {{Occupation}}
See also
(this part of the documentation is only available in some languages)
{{BioGalleryInfo}} (similar template, but for other purposes)
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:NationAndOccupation/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.
<div style="clear:both;" />