Jump to content

Template:Job infobox: Difference between revisions

From inZOI Wiki
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==

Revision as of 05:52, 17 March 2025


This template creates an infobox for Jobs in *inZOI* with Semantic MediaWiki annotations. Rows are only displayed if their corresponding parameters are filled.

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 - Criteria for eligibility (e.g., previous job or skills)
  • predecessor job - Previous job tier (e.g., None)
  • promoted job - Next job tier (e.g., Junior Trainee)
  • related jobs - Related jobs in the same career or company

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 = 
}}


Eligibility Criteria
Rookie Trainee
File:Rookie Trainee Icon.png
style="background:#ececec; text-align:left; padding:4px;" style="background:#ececec; text-align:left; padding:4px;" style="background:#ececec; text-align:left; padding:4px;" style="background:#ececec; text-align:left; padding:4px;" style="background:#ececec; text-align:left; padding:4px;" style="background:#ececec; text-align:left; padding:4px;" style="background:#ececec; text-align:left; padding:4px;" Description
An entry-level position for aspiring K-Pop stars, focusing on basic training and skill-building.
style="background:#ececec; text-align:left; padding:4px;" style="background:#ececec; text-align:left; padding:4px;"

Related Jobs

Job infobox is a Full-Time Job available in Dowon for the K-Pop Entertainment.