Jump to content

Template:Job infobox: Difference between revisions

From inZOI Wiki
No edit summary
No edit summary
 
(7 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|}}}|{{!}}-
{{#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:{{{career|}}}|{{!}}-
! style="background:#ececec; text-align:left; padding:4px;" {{!}} Career
{{!}} style="padding:4px;" {{!}} [[{{{career}}}]]
}}
}}
|-
|-
Line 29: Line 39:
! 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:{{{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}}
}}
}}
|-
|-
Line 66: Line 81:
|-
|-
|}
|}
[[{{PAGENAME}}]] is a {{{type|}}} [[Job]] available in [[{{{location|}}}]] for the [[{{{company|}}}]].
[[{{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:Location={{{location|}}} }}
{{#set:Career={{{career|}}} }}
{{#set:Type={{{type|}}} }}
{{#set:Type={{{type|}}} }}
{{#set:Company={{{company|}}} }}
{{#set:Company={{{company|}}} }}
{{#set:Position={{{position|}}} }}
{{#set:Position={{{position|}}} }}
{{#set:Hours={{{hours|}}} }}
{{#set:Hours={{{hours|}}} }}
{{#set:Days of the Week={{{days of the week|}}} |+sep}}
{{#set:Pay={{{pay|}}} }}
{{#set:Pay={{{pay|}}} }}
{{#set:Number Available={{{number available|}}} }}
{{#set:Number Available={{{number available|}}} }}
Line 91: Line 109:
* '''job''' - Name of the job (e.g., Rookie Trainee)
* '''job''' - Name of the job (e.g., Rookie Trainee)
* '''icon''' - Filename for the job’s icon (e.g., Rookie_Trainee_Icon.png)
* '''icon''' - Filename for the job’s icon (e.g., Rookie_Trainee_Icon.png)
* '''location''' - Location of the job (e.g., Dowon)
* '''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)
* '''type''' - Part-time or full-time job (e.g., Full-Time)
* '''company''' - Name of the company (e.g., K-Pop Entertainment)
* '''company''' - Name of the company (e.g., K-Pop Entertainment)
* '''position''' - Job position (e.g., Trainee)
* '''position''' - Job position (e.g., Trainee)
* '''hours''' - Hours and days of the week (e.g., 08:00 AM - 06:00 PM, 5 days/week)
* '''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)
* '''pay''' - Amount of [[Meow]] paid (e.g., 400)
* '''number available''' - Number of this job available (e.g., Unlimited)
* '''number available''' - Number of this job available (e.g., Unlimited)
Line 109: Line 130:
| job =  
| job =  
| icon =  
| icon =  
| city =
| location =  
| location =  
| career =
| type =  
| type =  
| company =  
| company =  
| position =  
| position =  
| hours =  
| hours =  
| days of the week =
| pay =  
| pay =  
| number available =  
| number available =  
Line 129: Line 153:
| job = Rookie Trainee
| job = Rookie Trainee
| icon = Rookie_Trainee_Icon.png
| icon = Rookie_Trainee_Icon.png
| location = Dowon
| city = Dowon
| location =  
| career =
| type = Full-Time
| type = Full-Time
| company = K-Pop Entertainment
| company = K-Pop Entertainment
| position = Trainee
| position = Trainee
| hours = 08:00 AM - 06:00 PM, 5 days/week
| hours = 08:00 AM - 06:00 PM, 5 days/week
| days of the week =
| pay = 400
| pay = 400
| number available = Unlimited
| number available = Unlimited
Line 147: Line 174:
| job = Rookie Trainee
| job = Rookie Trainee
| icon = Rookie_Trainee_Icon.png
| icon = Rookie_Trainee_Icon.png
| location = Dowon
| city = Dowon
| location =  
| career =
| type = Full-Time
| type = Full-Time
| company = K-Pop Entertainment
| company = K-Pop Entertainment
| position = Trainee
| position = Trainee
| hours = 08:00 AM - 06:00 PM, 5 days/week
| hours = 08:00 AM - 06:00 PM, 5 days/week
| days of the week =
| pay = 400
| pay = 400
| number available = Unlimited
| number available = Unlimited

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.