Difference between revisions of "Template:Infobox occupation"
imported>Hasey jones |
imported>Raul654 m (Reverted edits by Hasey jones (talk) to last version by Dctrzl) |
||
| Line 1: | Line 1: | ||
| + | {{Infobox | ||
| + | | title = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | ||
| + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|}}}|alt={{{alt|}}}}} | ||
| + | | caption = {{{caption|}}} | ||
| + | | header1 = {{#if:{{{type|}}}{{{official_names|}}}{{{activity_sector|}}}|Occupation}} | ||
| + | |||
| + | | label2 = Names | ||
| + | | data2 = {{{official_names|}}} | ||
| + | |||
| + | | label3 = {{#if:{{{Synonym|}}}{{{synonym|}}}{{{Synonyms|}}}{{{synonyms|}}} |{{#if:{{{Synonym|}}}{{{synonym|}}}|Synonym|Synonyms}}}}<!-- singular/plural --> | ||
| + | | data3 = {{{Synonym|}}}{{{synonym|}}}{{{Synonyms|}}}{{{synonyms|}}} | ||
| + | |||
| + | | label4 = Pronunciation | ||
| + | | data4 = {{#if:{{{pronounce|}}}{{{Pronounce|}}}{{{Pronunciation|}}}{{{pronunciation|}}}{{{pronounce comment|}}} |<!-- | ||
| + | -->{{ubl|1={{{pronounce|}}}{{{Pronounce|}}}{{{Pronunciation|}}}{{{pronunciation|}}}{{{pronounce ref|}}} {{{pronounce comment|}}}<!-- | ||
| + | -->|2={{{pronounce 2|}}} }}}} | ||
| + | |||
| + | | labe5 = {{longitem|Occupation type}} | ||
| + | | data5 = {{{type|}}} | ||
| + | |||
| + | | label6 = {{longitem|Activity sectors}} | ||
| + | | data6 = {{{activity_sector|}}} | ||
| + | |||
| + | | label7 = {{#if:{{{activity_sector|Health care}}}|Specialty}} | ||
| + | | data7 = {{#if:{{{specialty|}}}{{{Specialty|}}}{{{Speciality|}}}{{{speciality|}}} | ||
| + | |{{{specialty|}}}{{{Specialty|}}}{{{Speciality|}}}{{{speciality|}}} |{{#statements:P1995}} }} | ||
| + | |||
| + | | header8 = {{#if:{{{competencies|}}}{{{formation|}}}{{{employment_field|}}}{{{related_occupation|}}}|Description}} | ||
| + | |||
| + | | label9 = Competencies | ||
| + | | data9 = {{{competencies|}}} | ||
| + | |||
| + | | label10 = {{longitem|Education required}} | ||
| + | | data10 = {{{formation|}}} | ||
| + | |||
| + | | label11 = {{longitem|Fields of<br/>employment}} | ||
| + | | data11 = {{{employment_field|}}} | ||
| + | | label12 = {{longitem|Related jobs}} | ||
| + | | data12 = {{{related_occupation|}}} | ||
| + | <!-- Salary entry commented out per discussion on talkpage | ||
| + | | label10 = {{longitem|Average salary}} | ||
| + | | data10 = {{{average_salary|}}} | ||
| + | ---> | ||
| + | }}<noinclude> | ||
| + | |||
| + | {{documentation}} | ||
| + | </noinclude> | ||
Revision as of 05:16, 26 January 2018
| Specialty | {{#statements:P1995}} |
|---|
[[Category:Infobox templates|Template:Remove first word]]
Usage
Template:Parameter names example An occupation infobox may be used to summarize information about a particular occupation, trade, profession, job or employment. The infobox should be added using the {{Infobox occupation}} template, as shown below:
{{Infobox occupation
| name =
| synonyms =
| pronounce =
| image =
| imagesize =
| alt =
| caption =
| official_names =
| type =
| activity_sector =
| competencies =
| formation =
| employment_field =
| related_occupation =
}}
General parameters
- name – the formal name of the occupation. Can be {{PAGENAME}}.
- image – optional – an image of the occupation. The image must be given in the form: File:Example.jpg; in particular. imagesize can be left blank.
- caption and alt – optional – the text to be placed below the image.
- official_names – optional – the names or synonyms for the particular occupation, including the principal name (which can be {{PAGENAME}}).
- type – optional – the type of occupation (e.g. "profession", "employment", "vocation", "performing arts", "military", etc.).
- activity_sector – optional – the main activity sectors of the occupation (e.g. "management", "science", "laboratory", "circus", "government", "show business", etc.).
- competencies – optional – competencies and qualities required.
- formation – optional – formation and education necessary.
- employment_field – optional – fields of employment and places we can encounter someone with the occupation.
- related_occupation – optional – related occupations.
Template data
TemplateData for Infobox occupation
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | no description | Unknown | optional |
| Image | image | no description | Unknown | optional |
| Imagesize | imagesize | no description | Unknown | optional |
| Alt | alt | no description | Unknown | optional |
| Caption | caption | no description | Unknown | optional |
| Type | type | no description | Unknown | optional |
| Official_names | official_names | no description | Unknown | optional |
| Activity_sector | activity_sector | no description | Unknown | optional |
| Synonym | Synonym | no description | Unknown | optional |
| Synonym | synonym | no description | Unknown | optional |
| Synonyms | Synonyms | no description | Unknown | optional |
| Synonyms | synonyms | no description | Unknown | optional |
| Pronounce | pronounce | no description | Unknown | optional |
| Pronounce | Pronounce | no description | Unknown | optional |
| Pronunciation | Pronunciation | no description | Unknown | optional |
| Pronunciation | pronunciation | no description | Unknown | optional |
| Pronounce comment | pronounce comment | no description | Unknown | optional |
| Pronounce ref | pronounce ref | no description | Unknown | optional |
| Pronounce 2 | pronounce 2 | no description | Unknown | optional |
| Specialty | specialty | no description | Unknown | optional |
| Specialty | Specialty | no description | Unknown | optional |
| Speciality | Speciality | no description | Unknown | optional |
| Speciality | speciality | no description | Unknown | optional |
| Competencies | competencies | no description | Unknown | optional |
| Formation | formation | no description | Unknown | optional |
| Employment_field | employment_field | no description | Unknown | optional |
| Related_occupation | related_occupation | no description | Unknown | optional |
| The above documentation is transcluded from Template:Infobox occupation/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |