Jump to content

Template:Job infobox: Difference between revisions

From inZOI Wiki
Created page with "<includeonly> {| class="infobox" style="font-size:90%; border:1px solid #aaa; background:#fff;" |- ! colspan="2" style="text-align:center; font-size:120%; background:#ccf; padding:4px;" | {{{job}}} |- | colspan="2" style="text-align:center; padding:4px;" | [[File:{{{icon|Placeholder.png}}}]] |- ! colspan="2" style="background:#ececec; text-align:center; padding:4px;" | '''Description''' |- ! colspan="2" style="background:#ffffff; text-align:left; padding:4px; border-top:..."
 
No edit summary
 
(23 intermediate revisions by the same user not shown)
Line 4: Line 4:
! 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}}}
|-
|-
| colspan="2" style="text-align:center; padding:4px;" | [[File:{{{icon|Placeholder.png}}}]]
| colspan="2" style="text-align:center; padding:4px;" | [[File:{{{icon|Placeholder.png}}}|350px]]
|-
{{#if:{{{city|}}}|{{!}}-
! style="background:#ececec; text-align:left; padding:4px;" {{!}} City
{{!}} style="padding:4px;" {{!}} [[{{{city}}}]]
}}
|-
{{#if:{{{location|}}}|{{!}}-
! style="background:#ececec; text-align:left; padding:4px;" {{!}} Location
{{!}} style="padding:4px;" {{!}} [[{{{location}}}]]
}}
|-
{{#if:{{{career|}}}|{{!}}-
! style="background:#ececec; text-align:left; padding:4px;" {{!}} Career
{{!}} style="padding:4px;" {{!}} [[{{{career}}}]]
}}
|-
{{#if:{{{type|}}}|{{!}}-
! style="background:#ececec; text-align:left; padding:4px;" {{!}} Type
{{!}} style="padding:4px;" {{!}} {{{type}}}
}}
|-
{{#if:{{{company|}}}|{{!}}-
! style="background:#ececec; text-align:left; padding:4px;" {{!}} Company
{{!}} style="padding:4px;" {{!}} [[{{{company}}}]]
}}
|-
{{#if:{{{position|}}}|{{!}}-
! style="background:#ececec; text-align:left; padding:4px;" {{!}} Position
{{!}} style="padding:4px;" {{!}} {{{position}}}
}}
|-
{{#if:{{{hours|}}}|{{!}}-
! style="background:#ececec; text-align:left; padding:4px;" {{!}} Hours
{{!}} style="padding:4px;" {{!}} {{{hours}}}
}}
|-
{{#if:{{{days of the week|}}}|{{!}}-
! style="background:#ececec; text-align:left; padding:4px;" {{!}} Days of the Week
{{!}} style="padding:4px;" {{!}} {{#arraymap:{{{days of the week}}}|,|x|x}}
}}
|-
{{#if:{{{pay|}}}|{{!}}-
! style="background:#ececec; text-align:left; padding:4px;" {{!}} Pay
{{!}} style="padding:4px;" {{!}} {{{pay}}} [[Meow]]
}}
|-
{{#if:{{{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 10: Line 60:
! 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;" | Related Traits
{{#if:{{{eligibility criteria|}}}|{{!}}-
| style="padding:4px;" | {{#arraymap:{{{related traits|}}}|,|x|[[x]]}}
! style="background:#ececec; text-align:left; padding:4px;" {{!}} Eligibility Criteria
{{!}} style="padding:4px;" {{!}} {{#arraymap:{{{eligibility criteria}}}|,|x|[[x]]}}
}}
|-
{{#if:{{{predecessor job|}}}|{{!}}-
! style="background:#ececec; text-align:left; padding:4px;" {{!}} Predecessor Job
{{!}} style="padding:4px;" {{!}} [[{{{predecessor job}}}]]
}}
|-
{{#if:{{{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 Desired Life
{{#if:{{{related jobs|}}}|{{!}}-
| style="padding:4px;" | {{#arraymap:{{{related desired life|}}}|,|x|[[x]]}}
! style="background:#ececec; text-align:left; padding:4px;" {{!}} Related Jobs
{{!}} style="padding:4px;" {{!}} {{#arraymap:{{{related jobs}}}|,|x|[[x]]}}
}}
|-
|-
|}
|}
[[{{PAGENAME}}]] is a [[Job]] available in {{{city}}}. It's predecessor is X and can be Y through promotion.
[[{{PAGENAME}}]] is a {{{type|}}} [[{{{career|}}}]] [[Job]] available in [[{{{city|}}}]] for the [[{{{company|}}}]] in [[inZOI]].
<div style="display:none;">
<div style="display:none;">
{{#set:Job={{{job|}}} }}
{{#set:Job={{{job|}}} }}
{{#set:Icon=File:{{{icon|}}} }}
{{#set:Icon=File:{{{icon|}}} }}
{{#set:City={{{city|}}} }}
{{#set:Location={{{location|}}} }}
{{#set:Career={{{career|}}} }}
{{#set:Type={{{type|}}} }}
{{#set:Company={{{company|}}} }}
{{#set:Position={{{position|}}} }}
{{#set:Hours={{{hours|}}} }}
{{#set:Days of the Week={{{days of the week|}}} |+sep}}
{{#set:Pay={{{pay|}}} }}
{{#set:Number Available={{{number available|}}} }}
{{#set:Description={{{description|}}} }}
{{#set:Description={{{description|}}} }}
{{#set:Related Traits={{{related traits|}}} |+sep}}
{{#set:Eligibility Criteria={{{eligibility criteria|}}} |+sep}}
{{#set:Related Desired Life={{{related desired life|}}} |+sep}}
{{#set:Predecessor Job={{{predecessor job|}}} }}
{{#set:Promoted Job={{{promoted job|}}} }}
{{#set:Related Jobs={{{related jobs|}}} |+sep}}
</div>
</div>
[[Category:Jobs]]
[[Category:Jobs]]
</includeonly>
</includeonly>
<noinclude>
<noinclude>
This template creates an infobox for [[Jobs]] 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==
* '''job''' - name of the Job (e.g. )
* '''job''' - Name of the job (e.g., Rookie Trainee)
* '''icon''' Filename for the job's icon (e.g. icon1.png)
* '''icon''' - Filename for the job’s icon (e.g., Rookie_Trainee_Icon.png)
* '''location''' - location of the job (e.g. Dowon City)
* '''city''' - City of the job (e.g., Dowon)
* '''type''' - part-time job or full-time job
* '''location''' - Location of the job
* '''description''' -  
* '''career''' -
* '''predecessor job'' -  
* '''type''' - Part-time or full-time job (e.g., Full-Time)
* ''' promoted job''' -  
* '''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)
* '''days of the 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==
==Usage==
<pre>
<pre>
{{Value infobox
{{Job infobox
| value =  
| job =  
| icon =  
| icon =  
| city =
| location =
| career =
| type =
| company =
| position =
| hours =
| days of the week =
| pay =
| number available =
| description =  
| description =  
| related traits =  
| eligibility criteria =
| related desired life =  
| predecessor job =
| promoted job =  
| related jobs =  
}}
}}
</pre>
</pre>
==Example Usage==
==Example Usage==
<pre>
<pre>
{{Value infobox
{{Job infobox
| value = Boxing
| job = Rookie Trainee
| icon = Boxing icon1.png
| icon = Rookie_Trainee_Icon.png
| description = ??????
| city = Dowon
| related traits = ??????
| location =
| related desired life = ??????
| career =
| type = Full-Time
| company = K-Pop Entertainment
| position = Trainee
| hours = 08:00 AM - 06:00 PM, 5 days/week
| days of the 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 =  
}}
}}
</pre>
</pre>
{{Value infobox
 
| value = Boxing
{{Job infobox
| icon = Boxing icon1.png
| job = Rookie Trainee
| description = ??????
| icon = Rookie_Trainee_Icon.png
| related traits = ??????
| city = Dowon
| related desired life = ??????
| location =
| career =
| type = Full-Time
| company = K-Pop Entertainment
| position = Trainee
| hours = 08:00 AM - 06:00 PM, 5 days/week
| days of the 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 =  
}}
}}
</noinclude>
</noinclude>

Latest revision as of 03:32, 31 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)
  • city - City of the job (e.g., Dowon)
  • location - Location of the job
  • career -
  • 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)
  • days of the 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 = 
| city = 
| location = 
| career = 
| type = 
| company = 
| position = 
| hours = 
| days of the week = 
| pay = 
| number available = 
| description = 
| eligibility criteria = 
| predecessor job = 
| promoted job = 
| related jobs = 
}}

Example Usage

{{Job infobox
| job = Rookie Trainee
| icon = Rookie_Trainee_Icon.png
| city = Dowon
| location = 
| career = 
| type = Full-Time
| company = K-Pop Entertainment
| position = Trainee
| hours = 08:00 AM - 06:00 PM, 5 days/week
| days of the 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
City 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 in inZOI.