Template:Job infobox: Difference between revisions
Appearance
No edit summary |
No edit summary Tag: Reverted |
||
Line 6: | Line 6: | ||
| colspan="2" style="text-align:center; padding:4px;" | [[File:{{{icon|Placeholder.png}}}]] | | colspan="2" style="text-align:center; padding:4px;" | [[File:{{{icon|Placeholder.png}}}]] | ||
|- | |- | ||
{{#if:{{{location|}}}| | |||
! style="background:#ececec; text-align:left; padding:4px;" | Location | ! style="background:#ececec; text-align:left; padding:4px;" | Location | ||
| style="padding:4px;" | [[{{{location}}}]] | | style="padding:4px;" | [[{{{location}}}]] | ||
|- | |-}} | ||
{{#if:{{{type|}}}| | |||
! style="background:#ececec; text-align:left; padding:4px;" | Type | ! style="background:#ececec; text-align:left; padding:4px;" | Type | ||
| style="padding:4px;" | {{{type}}} | | style="padding:4px;" | {{{type}}} | ||
|- | |-}} | ||
{{#if:{{{company|}}}| | |||
! style="background:#ececec; text-align:left; padding:4px;" | Company | ! style="background:#ececec; text-align:left; padding:4px;" | Company | ||
| style="padding:4px;" | [[{{{company}}}]] | | style="padding:4px;" | [[{{{company}}}]] | ||
|- | |-}} | ||
{{#if:{{{position|}}}| | |||
! style="background:#ececec; text-align:left; padding:4px;" | Position | ! style="background:#ececec; text-align:left; padding:4px;" | Position | ||
| style="padding:4px;" | {{{position}}} | | style="padding:4px;" | {{{position}}} | ||
|- | |-}} | ||
{{#if:{{{hours|}}}| | |||
! style="background:#ececec; text-align:left; padding:4px;" | Hours | ! style="background:#ececec; text-align:left; padding:4px;" | Hours | ||
| style="padding:4px;" | {{{hours}}} | | style="padding:4px;" | {{{hours}}} | ||
|- | |-}} | ||
{{#if:{{{pay|}}}| | |||
! style="background:#ececec; text-align:left; padding:4px;" | Pay | ! style="background:#ececec; text-align:left; padding:4px;" | Pay | ||
| style="padding:4px;" | {{{pay}}} [[Meow]] | | style="padding:4px;" | {{{pay}}} [[Meow]] | ||
|- | |-}} | ||
{{#if:{{{number available|}}}| | |||
! style="background:#ececec; text-align:left; padding:4px;" | Number Available | ! style="background:#ececec; text-align:left; padding:4px;" | Number Available | ||
| style="padding:4px;" | {{{number available}}} | | style="padding:4px;" | {{{number available}}} | ||
|- | |-}} | ||
! colspan="2" style="background:#ececec; text-align:center; padding:4px;" | '''Description''' | ! colspan="2" style="background:#ececec; text-align:center; padding:4px;" | '''Description''' | ||
|- | |- | ||
! colspan="2" style="background:#ffffff; text-align:left; padding:4px; border-top:1px solid #ddd; font-weight: normal;" | {{{description}}} | ! colspan="2" style="background:#ffffff; text-align:left; padding:4px; border-top:1px solid #ddd; font-weight: normal;" | {{{description}}} | ||
|- | |- | ||
{{#if:{{{eligibility criteria|}}}| | |||
! style="background:#ececec; text-align:left; padding:4px;" | Eligibility Criteria | ! style="background:#ececec; text-align:left; padding:4px;" | Eligibility Criteria | ||
| style="padding:4px;" | {{#arraymap:{{{eligibility criteria|}}}|,|x|[[x]]}} | | style="padding:4px;" | {{#arraymap:{{{eligibility criteria|}}}|,|x|[[x]]}} | ||
|- | |-}} | ||
{{#if:{{{predecessor job|}}}| | |||
! style="background:#ececec; text-align:left; padding:4px;" | Predecessor Job | ! style="background:#ececec; text-align:left; padding:4px;" | Predecessor Job | ||
| style="padding:4px;" | [[{{{predecessor job}}}]] | | style="padding:4px;" | [[{{{predecessor job}}}]] | ||
|- | |-}} | ||
{{#if:{{{promoted job|}}}| | |||
! style="background:#ececec; text-align:left; padding:4px;" | Promoted Job | ! style="background:#ececec; text-align:left; padding:4px;" | Promoted Job | ||
| style="padding:4px;" | [[{{{promoted job}}}]] | | style="padding:4px;" | [[{{{promoted job}}}]] | ||
|- | |-}} | ||
{{#if:{{{related jobs|}}}| | |||
! style="background:#ececec; text-align:left; padding:4px;" | Related Jobs | ! style="background:#ececec; text-align:left; padding:4px;" | Related Jobs | ||
| style="padding:4px;" | {{#arraymap:{{{related jobs|}}}|,|x|[[x]]}} | | style="padding:4px;" | {{#arraymap:{{{related jobs|}}}|,|x|[[x]]}} | ||
|- | |-}} | ||
|} | |} | ||
[[{{PAGENAME}}]] is a {{{type}}} [[Job]] available in [[{{{location}}}]] for the [[{{{company}}}]]. | [[{{PAGENAME}}]] is a {{{type}}} [[Job]] available in [[{{{location}}}]] for the [[{{{company}}}]]. | ||
Line 64: | Line 75: | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
This template creates an infobox for [[Jobs]] in *inZOI* with Semantic MediaWiki annotations. | This template creates an infobox for [[Jobs]] in *inZOI* with Semantic MediaWiki annotations. Rows are only displayed if their corresponding parameters are filled. | ||
==Parameters== | ==Parameters== | ||
Line 77: | Line 88: | ||
* '''number available''' - Number of this job available (e.g., Unlimited) | * '''number available''' - Number of this job available (e.g., Unlimited) | ||
* '''description''' - Brief description of the job | * '''description''' - Brief description of the job | ||
* '''eligibility criteria''' - | * '''eligibility criteria''' - Criteria for eligibility (e.g., previous job or skills) | ||
* '''predecessor job''' - Previous job tier (e.g., None) | * '''predecessor job''' - Previous job tier (e.g., None) | ||
* '''promoted job''' - Next job tier (e.g., Junior Trainee) | * '''promoted job''' - Next job tier (e.g., Junior Trainee) | ||
* '''related jobs''' - | * '''related jobs''' - Related jobs in the same career or company | ||
==Usage== | ==Usage== |