Difference between revisions of "Template:Infobox occupation/doc"

From blackwiki
Jump to navigation Jump to search
imported>NinjaTazzyDevil
imported>Funandtrvl
(sync with template code)
Line 1: Line 1:
{{#ifeq:{{{noheader|}}}|yes||{{Documentation subpage}}
+
{{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
 
}}
 
}}
 
====Infobox occupation====
 
{{Infobox occupation
 
| name              = Architect
 
| image              = [[File:Architect.png|300px]]
 
| caption            = An architect at his [[drawing board]], 1893
 
| official_names    = Architect
 
| type              = [[Profession]]
 
| activity_sector    = [[Real estate development]]<br />Corporate facilities planning<br />[[Project management]]<br />[[Construction management]]<br />[[Interior design]]
 
| competencies      = Technical knowledge, management skills
 
| formation          = See [[Architect#Professional requirements|professional requirements]]
 
| employment_field  = Building
 
| related_occupation = [[Engineer]]
 
}}
 
 
 
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              = <!-- [[File:Architect.png|300px]] -->
+
| image              =  
 +
| imagesize          =
 +
| alt                =
 
| caption            =  
 
| caption            =  
 
| official_names    =  
 
| official_names    =  
Line 35: Line 36:
 
</pre>
 
</pre>
  
General parameters:
+
===General parameters===
 
* '''name''' &ndash; the formal name of the occupation. Can be <nowiki>{{PAGENAME}}</nowiki>.
 
* '''name''' &ndash; the formal name of the occupation. Can be <nowiki>{{PAGENAME}}</nowiki>.
* '''image''' &ndash; ''optional'' &ndash; an image of the occupation.  The image must be given in the form <nowiki>[[File:Example.jpg|300px]]</nowiki>; in particular, the ''thumb'' attribute must '''not''' be selected.
+
* '''image''' &ndash; ''optional'' &ndash; 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''' &ndash; ''optional'' &ndash; the text to be placed below the image.   
+
* '''caption''' and '''alt''' &ndash; ''optional'' &ndash; the text to be placed below the image.   
 
* '''official_names''' &ndash; ''optional'' &ndash; the names or synonyms for the particular occupation, including the principal name (which can be <nowiki>{{PAGENAME}}</nowiki>).
 
* '''official_names''' &ndash; ''optional'' &ndash; the names or synonyms for the particular occupation, including the principal name (which can be <nowiki>{{PAGENAME}}</nowiki>).
 
* '''type''' &ndash; ''optional'' &ndash; the type of occupation (e.g. "[[profession]]", "[[employment]]", "[[vocation]]", "[[performing arts]]", "[[military]]", etc.).
 
* '''type''' &ndash; ''optional'' &ndash; the type of occupation (e.g. "[[profession]]", "[[employment]]", "[[vocation]]", "[[performing arts]]", "[[military]]", etc.).
Line 47: Line 48:
 
* '''related_occupation''' &ndash; ''optional'' &ndash; related occupations.
 
* '''related_occupation''' &ndash; ''optional'' &ndash; related occupations.
  
 
+
<includeonly>{{sandbox other||
<includeonly>{{#ifeq:{{{noheader|}}}|yes||
+
<!-- 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

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}}.
  • imageoptional – 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 altoptional – the text to be placed below the image.
  • official_namesoptional – the names or synonyms for the particular occupation, including the principal name (which can be {{PAGENAME}}).
  • typeoptional – the type of occupation (e.g. "profession", "employment", "vocation", "performing arts", "military", etc.).
  • activity_sectoroptional – the main activity sectors of the occupation (e.g. "management", "science", "laboratory", "circus", "government", "show business", etc.).
  • competenciesoptional – competencies and qualities required.
  • formationoptional – formation and education necessary.
  • employment_fieldoptional – fields of employment and places we can encounter someone with the occupation.
  • related_occupationoptional – related occupations.