Difference between revisions of "Template:Infobox occupation/doc"
Jump to navigation
Jump to search
imported>NinjaTazzyDevil |
imported>Funandtrvl (sync with template code) |
||
| Line 1: | Line 1: | ||
| − | + | {{Documentation subpage}} | |
| + | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
| − | ==Usage== | + | == Usage == |
| + | {{Parameter names example | ||
| + | | name | ||
| + | | image | ||
| + | | imagesize | ||
| + | | alt | ||
| + | | caption | ||
| + | | official_names | ||
| + | | type | ||
| + | | activity_sector | ||
| + | | competencies | ||
| + | | formation | ||
| + | | employment_field | ||
| + | | related_occupation | ||
}} | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
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 {{tl|Infobox occupation}} template, as shown below: | 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 {{tl|Infobox occupation}} template, as shown below: | ||
| − | <pre> | + | <pre style="overflow:auto;"> |
{{Infobox occupation | {{Infobox occupation | ||
| name = | | name = | ||
| − | | image = | + | | image = |
| + | | imagesize = | ||
| + | | alt = | ||
| caption = | | caption = | ||
| official_names = | | official_names = | ||
| Line 35: | Line 36: | ||
</pre> | </pre> | ||
| − | General parameters | + | ===General parameters=== |
* '''name''' – the formal name of the occupation. Can be <nowiki>{{PAGENAME}}</nowiki>. | * '''name''' – the formal name of the occupation. Can be <nowiki>{{PAGENAME}}</nowiki>. | ||
| − | * '''image''' – ''optional'' – an image of the occupation. The image must be given in the form <nowiki> | + | * '''image''' – ''optional'' – an image of the occupation. The image must be given in the form: <nowiki>File:Example.jpg</nowiki>; in particular. '''imagesize''' can be left blank. |
| − | * '''caption''' – ''optional'' – the text to be placed below the image. | + | * '''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 <nowiki>{{PAGENAME}}</nowiki>). | * '''official_names''' – ''optional'' – the names or synonyms for the particular occupation, including the principal name (which can be <nowiki>{{PAGENAME}}</nowiki>). | ||
* '''type''' – ''optional'' – the type of occupation (e.g. "[[profession]]", "[[employment]]", "[[vocation]]", "[[performing arts]]", "[[military]]", etc.). | * '''type''' – ''optional'' – the type of occupation (e.g. "[[profession]]", "[[employment]]", "[[vocation]]", "[[performing arts]]", "[[military]]", etc.). | ||
| Line 47: | Line 48: | ||
* '''related_occupation''' – ''optional'' – related occupations. | * '''related_occupation''' – ''optional'' – related occupations. | ||
| − | + | <includeonly>{{sandbox other|| | |
| − | <includeonly>{{ | + | <!-- Categories below this line, please; interwikis at Wikidata --> |
[[Category:Business infobox templates|Occupation]] | [[Category:Business infobox templates|Occupation]] | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 17:14, 22 June 2017
| This is a documentation subpage for Template:Infobox occupation. It contains usage information, categories and other content that is not part of the original template page. |
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 =
| 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.