Jump to content

Template:Job infobox: Difference between revisions

From inZOI Wiki
Undo revision 1061 by Zoi (talk)
Tag: Undo
No edit summary
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}}}]]
|-
|-
! style="background:#ececec; text-align:left; padding:4px;" | Location
{{#if:{{{location|}}}|{{!}}-
| style="padding:4px;" | [[{{{location}}}]]
! style="background:#ececec; text-align:left; padding:4px;" {{!}} Location
{{!}} style="padding:4px;" {{!}} [[{{{location}}}]]
}}
|-
|-
! style="background:#ececec; text-align:left; padding:4px;" | Type
{{#if:{{{type|}}}|{{!}}-
| style="padding:4px;" | {{{type}}}
! style="background:#ececec; text-align:left; padding:4px;" {{!}} Type
{{!}} style="padding:4px;" {{!}} {{{type}}}
}}
|-
|-
! style="background:#ececec; text-align:left; padding:4px;" | Company
{{#if:{{{company|}}}|{{!}}-
| style="padding:4px;" | [[{{{company}}}]]
! style="background:#ececec; text-align:left; padding:4px;" {{!}} Company
{{!}} style="padding:4px;" {{!}} [[{{{company}}}]]
}}
|-
|-
! style="background:#ececec; text-align:left; padding:4px;" | Position
{{#if:{{{position|}}}|{{!}}-
| style="padding:4px;" | {{{position}}}
! style="background:#ececec; text-align:left; padding:4px;" {{!}} Position
{{!}} style="padding:4px;" {{!}} {{{position}}}
}}
|-
|-
! style="background:#ececec; text-align:left; padding:4px;" | Hours
{{#if:{{{hours|}}}|{{!}}-
| style="padding:4px;" | {{{hours}}}
! style="background:#ececec; text-align:left; padding:4px;" {{!}} Hours
{{!}} style="padding:4px;" {{!}} {{{hours}}}
}}
|-
|-
! style="background:#ececec; text-align:left; padding:4px;" | Pay
{{#if:{{{pay|}}}|{{!}}-
| style="padding:4px;" | {{{pay}}} [[Meow]]
! style="background:#ececec; text-align:left; padding:4px;" {{!}} Pay
{{!}} style="padding:4px;" {{!}} {{{pay}}} [[Meow]]
}}
|-
|-
! style="background:#ececec; text-align:left; padding:4px;" | Number Available
{{#if:{{{number available|}}}|{{!}}-
| style="padding:4px;" | {{{number available}}}
! style="background:#ececec; text-align:left; 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'''
Line 31: Line 45:
! 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}}}
|-
|-
! style="background:#ececec; text-align:left; padding:4px;" | Eligibility Criteria
{{#if:{{{eligibility criteria|}}}|{{!}}-
| style="padding:4px;" | {{#arraymap:{{{eligibility criteria|}}}|,|x|[[x]]}}
! style="background:#ececec; text-align:left; padding:4px;" {{!}} Eligibility Criteria
{{!}} style="padding:4px;" {{!}} {{#arraymap:{{{eligibility criteria}}}|,|x|[[x]]}}
}}
|-
|-
! style="background:#ececec; text-align:left; padding:4px;" | Predecessor Job
{{#if:{{{predecessor job|}}}|{{!}}-
| style="padding:4px;" | [[{{{predecessor job}}}]]
! style="background:#ececec; text-align:left; padding:4px;" {{!}} Predecessor Job
{{!}} style="padding:4px;" {{!}} [[{{{predecessor job}}}]]
}}
|-
|-
! style="background:#ececec; text-align:left; padding:4px;" | Promoted Job
{{#if:{{{promoted job|}}}|{{!}}-
| style="padding:4px;" | [[{{{promoted job}}}]]
! style="background:#ececec; text-align:left; padding:4px;" {{!}} Promoted Job
{{!}} style="padding:4px;" {{!}} [[{{{promoted job}}}]]
}}
|-
|-
! style="background:#ececec; text-align:left; padding:4px;" | Related Jobs
{{#if:{{{related jobs|}}}|{{!}}-
| style="padding:4px;" | {{#arraymap:{{{related jobs|}}}|,|x|[[x]]}}
! style="background:#ececec; text-align:left; padding:4px;" {{!}} Related Jobs
{{!}} 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|}}}]].
<div style="display:none;">
<div style="display:none;">
{{#set:Job={{{job|}}} }}
{{#set:Job={{{job|}}} }}
Line 56: Line 78:
{{#set:Number Available={{{number available|}}} }}
{{#set:Number Available={{{number available|}}} }}
{{#set:Description={{{description|}}} }}
{{#set:Description={{{description|}}} }}
{{#set:Eligibility Critera={{{eligibility critera|}}} |+sep}}
{{#set:Eligibility Criteria={{{eligibility criteria|}}} |+sep}}
{{#set:Predecessor Job={{{predecessor job|}}} }}
{{#set:Predecessor Job={{{predecessor job|}}} }}
{{#set:Promoted Job={{{promoted job|}}} }}
{{#set:Promoted Job={{{promoted job|}}} }}
Line 64: Line 86:
</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 99:
* '''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==
Line 116: Line 138:
| description = An entry-level position for aspiring K-Pop stars, focusing on basic training and skill-building.
| description = An entry-level position for aspiring K-Pop stars, focusing on basic training and skill-building.
| eligibility criteria =  
| eligibility criteria =  
| predecessor job =  
| predecessor job = None
| promoted job = Junior Trainee
| promoted job = Junior Trainee
| related jobs =  
| related jobs =  

Revision as of 05:56, 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 = None
| promoted job = Junior Trainee
| related jobs = 
}}


Rookie Trainee
File: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 Meow
Number Available Unlimited
Description
An entry-level position for aspiring K-Pop stars, focusing on basic training and skill-building.
Predecessor Job None
Promoted Job Junior Trainee

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