Template:Job infobox: Difference between revisions
Appearance
Tag: Undo |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| class="infobox" style="font-size:90%; border:1px solid #aaa; background:#fff;" | {| class="infobox" style="font-size:90%; border:1px solid #aaa; background:#fff;" | ||
{{#if: {{{job|}}} | | |||
|- | |- | ||
! colspan="2" style="text-align:center; font-size:120%; background:#ccf; padding:4px;" | {{{job}}} | ! colspan="2" style="text-align:center; font-size:120%; background:#ccf; padding:4px;" | {{{job}}} | ||
}} | |||
{{#if: {{{icon|}}} | | |||
|- | |- | ||
| 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}}} | ||
}} | |||
{{#if: {{{description|}}} | | |||
|- | |- | ||
! 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}}}]]. |
Revision as of 05:54, 17 March 2025
This template creates an infobox for Jobs in *inZOI* with Semantic MediaWiki annotations.
Parameters
- job - Name of the job (e.g., Rookie Trainee)
- icon - Filename for the job’s icon (e.g., Rookie_Trainee_Icon.png)
- location - Location of the job (e.g., Dowon)
- type - Part-time or full-time job (e.g., Full-Time)
- company - Name of the company (e.g., K-Pop Entertainment)
- position - Job position (e.g., Trainee)
- hours - Hours and days of the week (e.g., 08:00 AM - 06:00 PM, 5 days/week)
- pay - Amount of Meow paid (e.g., 400)
- number available - Number of this job available (e.g., Unlimited)
- description - Brief description of the job
- eligibility criteria -
- predecessor job - Previous job tier (e.g., None)
- promoted job - Next job tier (e.g., Junior Trainee)
- related jobs -
Usage
{{Job infobox | job = | icon = | location = | type = | company = | position = | hours = | pay = | number available = | description = | eligibility criteria = | predecessor job = | promoted job = | related jobs = }}
Example Usage
{{Job infobox | job = Rookie Trainee | icon = Rookie_Trainee_Icon.png | location = Dowon | type = Full-Time | company = K-Pop Entertainment | position = Trainee | hours = 08:00 AM - 06:00 PM, 5 days/week | pay = 400 | number available = Unlimited | description = An entry-level position for aspiring K-Pop stars, focusing on basic training and skill-building. | eligibility criteria = | predecessor job = | promoted job = Junior Trainee | related jobs = }}
style="background:#ececec; text-align:left; padding:4px;"
|
style="background:#ececec; text-align:left; padding:4px;" |
---|
Job infobox is a Full-Time Job available in Dowon for the K-Pop Entertainment.