Template:Job Board Post: Difference between revisions

No edit summary
No edit summary
 
(132 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!--DEBUG
AppOpen ({{#time:Ymd|{{#if:{{{jobAppOpen|}}}|{{{jobAppOpen}}}|1970-01-01}}}})<Now?: {{#ifexpr:{{#time:Ymd|{{#if:{{{jobAppOpen|}}}|{{{jobAppOpen}}}|1970-01-01}}}}<={{#time:Ymd|{{LOCALTIMESTAMP}}}}|true|false}}
App Close({{#time:Ymd|{{#if:{{{jobAppClose|}}}|{{{jobAppClose}}}|2900-01-01}}}})>Now({{#time:Ymd|{{LOCALTIMESTAMP}}}})?: {{#ifexpr:{{#time:Ymd|{{#if:{{{jobAppClose|}}}|{{{jobAppClose}}}|2900-01-01}}}}>={{#time:Ymd|{{LOCALTIMESTAMP}}}}|true|false}}
{{#ifexpr:{{#time:Ymd|{{#if:{{{jobAppOpen|}}}|{{{jobAppOpen}}}|1970-01-01}}}}<={{#time:Ymd|{{LOCALTIMESTAMP}}}}  and {{#time:Ymd|{{#if:{{{jobAppClose|}}}|{{{jobAppClose}}}|2900-01-01}}}}>={{#time:Ymd|{{LOCALTIMESTAMP}}}}|true|false}}
-->
<noinclude>
<noinclude>
<big><center>''[[Template:Job Board Post/preload|Jump to preload]]''</center></big>
<div class="row text-center mx-auto mb-2" style="line-height:44px; white-space: nowrap; max-width:1200px"><div class="col background-jobCommittee">Committee</div><div class="col background-jobClub">Club</div><div class="col background-jobDesign">Design Teams</div><div class="col background-jobEvent">Event</div><div class="col background-jobService">Service</div><div class="col background-jobEUS">EUS</div><div class="col background-jobOther">Other</div></div>
</noinclude>
<!--Warning at Top-->
{{#ifeq:{{NAMESPACE}}|
Job|{{#ifexpr:{{#time:Ymd|{{#if:{{{jobAppClose|}}}|{{{jobAppClose}}}|2900-01-01}}}}<{{#time:Ymd|{{LOCALTIMESTAMP}}}}|
<div style="
    padding: 3px 8px;
    margin:auto;
    margin-bottom: 6px;
    border: 1px solid #ebccd1;
    border-radius: 4px;
    color: #a94442;
    background-color: #f2dede;
    width:fit-content;
    font-size: 14px;text-align:center;">
<i class="fal fa-exclamation-triangle" style="font-size: 1.6em" aria-hidden="true"></i>
This job post has expired.
</div>}}|}}
<!--Card-->
<div class="mx-auto card border-job{{{category|Other}}} jobPost mb-4" style="max-width:1200px">
<div class="card-header h3 text-job{{{category|Other}}} p-2"><div class="row justify-content-between"><div class="col">{{{position|GuyFieri}}}<br><span class="h5">''{{{group|FlavorTownEnthusiasts}}}''</span></div><div class="col" style="max-width:fit-content"><span class="no-link mb-3">[{{{appLink|{{#if:{{{contactEmail|}}}|mailto:{{{contactEmail|}}} }} }}} <span class="btn btn-sm background-job{{{category|Other}}} no-link text-white" style="background-color:#2c4c5f;width:80px;padding-right:12px;"><span style="font-size:14px;">'''Apply'''</span><br><i class="fas fa-clock fa-inverse"></i>&emsp;{{#time:M d|{{{jobAppClose|Apr 20}}}}}</span>]</span></div></div></div>
<div class="card-body p-3 pb-0">
<p style="margin-bottom:0px;">{{#if:{{{logo|}}}|[[{{{logo|}}}|110px|right]]|[[File:eus_logo_grey.png||110px|right]]}}{{{description|Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent iaculis urna lacinia odio pulvinar, sit amet malesuada mi accumsan. Maecenas et nisi vitae sapien condimentum luctus.}}}{{#if:{{{skills|}}}|<br><br>
'''Skills:'''&emsp;{{{skills|Organized, knows how to Wiki, devotes too much time to involvement}}}}}</p>
<div class="row justify-content-center">
{{#if:{{{workload|x}}}|<div class="col-3" title="Estimated Workload"><span class="fa-stack fa-1x text-hover-job{{{category|Other}}}"><i class="fas fa-circle fa-stack-2x jobIcon"></i><i  class="fas fa-user-clock fa-stack-1x fa-inverse"></i></span>&emsp;{{{workload|14hrs/week}}}</div>}}
{{#if:{{{appMethod|}}}|<div class="col-3" title="Application Method"><span class="fa-stack fa-1x text-hover-job{{{category|Other}}}"><i class="fas fa-circle fa-stack-2x jobIcon"></i><i class="fas fa-users fa-stack-1x fa-box-ballot fa-inverse"></i></span>&emsp;{{{appMethod|}}}</div>}}
{{#if:{{{duration|x}}}|<div class="col-3" title="Job Duration"><span class="fa-stack fa-1x text-hover-job{{{category|Other}}}"><i class="fas fa-circle fa-stack-2x jobIcon"></i><i  class="fas fa-calendar-alt fa-stack-1x fa-inverse"></i></span>&emsp;{{{duration|May - Aug 2019}}}</div>}}
{{#if:{{{numSpots|x}}}|<div class="col-3" title="Jobs Available"><span class="fa-stack fa-1x text-hover-job{{{category|Other}}}"><i class="fas fa-circle fa-stack-2x jobIcon"></i><i class="fas fa-users fa-stack-1x fa-inverse"></i></span>&emsp;{{{numSpots|3 positions}}}</div>}}
{{#if:{{{pay|}}}|<div class="col-3" title="Pay"><span class="fa-stack fa-1x text-hover-job{{{category|Other}}}"><i class="fas fa-circle fa-stack-2x jobIcon"></i><i class="fas fa-dollar-sign fa-inverse fa-stack-1x"></i></span>&emsp;{{{pay}}}</div>|}}</div>
</div>
{{#if:{{{contactEmail|}}}|<div class="row justify-content-end px-2"><div class="col no-link text-right" title="Contact">[mailto:{{{contactEmail|guy.fieri@donkeysauce.com}}} <i class="fas fa-envelope"></i>&emsp;{{{contactEmail|guy.fieri@donkeysauce.com}}}]</div></div>}}
</div>
{{Job Board Post Footer}}
<includeonly>
{{#ifeq:{{NAMESPACE}}|
Job|{{#ifexpr:{{#time:Ymd|{{#if:{{{jobAppOpen|}}}|{{{jobAppOpen}}}|1970-01-01}}}}<={{#time:Ymd|{{LOCALTIMESTAMP}}}}  and {{#time:Ymd|{{#if:{{{jobAppClose|}}}|{{{jobAppClose}}}|2900-01-01}}}}>={{#time:Ymd|{{LOCALTIMESTAMP}}}}|
[[Category:Open Jobs]]
<data table="JobActive">
position={{{position|}}}
group={{{group|}}}
logo={{{logo|}}}
category={{{category|}}}
contactEmail={{{contactEmail|}}}
jobAppOpen={{#time:Ymd|{{{jobAppOpen|}}}}}
numSpots={{{numSpots|}}}
jobAppClose={{#time:Ymd|{{{jobAppClose|}}}}}
appLink={{{appLink|}}}
appMethod={{{appMethod|}}}
description={{{description|}}}
workload={{{workload|}}}
duration={{{duration|}}}
pay={{{pay|}}}
skills={{{skills|}}}
pageID={{formatnum:{{PAGEID}}|R}}
</data>}}
[[Category:Archived Jobs]]
<data table="JobArchive">
position={{{position|}}}
group={{{group|}}}
logo={{{logo|}}}
category={{{category|}}}
contactEmail={{{contactEmail|}}}
jobAppOpen={{#time:Ymd|{{{jobAppOpen|}}}}}
numSpots={{{numSpots|}}}
jobAppClose={{#time:Ymd|{{{jobAppClose|}}}}}
appLink={{{appLink|}}}
appMethod={{{appMethod|}}}
description={{{description|}}}
workload={{{workload|}}}
duration={{{duration|}}}
pay={{{pay|}}}
skills={{{skills|}}}
pageID={{formatnum:{{PAGEID}}|R}}
namespace={{NAMESPACE}}
</data>|}}</includeonly><noinclude>
;Variables
;Variables
  <nowiki>{{</nowiki>Job Board Post
  <nowiki>{{</nowiki>Job Board Card
  |Position=
  |position=
  |Group=
  |group=
  |Logo=
  |logo=
  |Cat=
  |category=
  |Deadline=
  |contactEmail=
  |AppLink=
  |jobAppOpen=
  |Description=
  |jobAppClose=
  |Workload=
  |appLink=
  |Duration=
  |appMethod=
|numSpots =
|description=
|workload=
|duration=
  |Pay=
  |Pay=
  |Skills=
  |Skills=
  |internalLink=
  |dateCreated=
|uniqueID=
  }}
  }}
<templatedata>
{
"params": {
"position": {
"label": "Job Title",
"description": "What is this persons role?",
"example": "Executive Coordinator ",
"type": "string",
"required": true,
"suggested": true
},
"group": {
"label": "Group Name",
"description": "The group this person is a part of. Double brackets link this to your group's wiki page.",
"example": "[[Stargazing Club]]",
"type": "wiki-page-name",
"required": true,
"suggested": true
},
"logo": {
"label": "Logo",
"description": "Name of the file of your logo. ",
"example": "pubmers_logo.png",
"type": "wiki-page-name",
"suggested": true,
"autovalue": ""
},
"category": {
"label": "Category",
"description": "Committee, Event, Club, Design Team, Department, EUS, Service, or Other",
"required": true,
"suggested": true,
"example": "Committee, Event, Club, Design Team, Department, EUS, Service, or Other"
},
"jobAppClose": {
"label": "Application Deadline",
"description": "When is the application due?",
"example": "YYYY-MM-DD",
"type": "date",
"required": true,
"suggested": true
},
"appLink": {
"label": "Application Link",
"description": "The link to the application, include additional info in the description",
"example": "https://docs.google.com/forms/d/pl3zH1r3m3",
"type": "url",
"suggested": true
},
"description": {
"label": "Job Description",
"description": "You can use wikitext here! Include submission instructions if different",
"example": "Pumber's Candles are hiring! As a candle taste tester, you are expected  to be able to work independently, communicate well, and eat candles.",
"type": "string",
"required": true,
"suggested": true
},
"workload": {
"label": "Estimated Workload",
"description": "Leave blank if nothing. Estimated Workload (Xhr/week)",
"example": "4.2 hrs/week",
"type": "string",
"suggested": true
},
"duration": {
"label": "Length of Term",
"description": "No fixed format here, avoid writing more than a sentence",
"example": "Sept 2019 - May 2020",
"type": "date",
"suggested": true
},
"pay": {
"label": "Pay / Remuneration",
"description": "Leave Blank if no pay",
"example": "$13/hr",
"type": "string",
"suggested": true
},
"skills": {
"label": "List of Desired traits",
"description": "Comma separated or bullets. Start each line with * for bullet points",
"example": "Saucey, good at writing job descriptions, experience in circus arts",
"type": "string",
"suggested": true
},
"jobAppOpen": {
"label": "Application Open Date",
"description": "If immediately, put on today's date or leave blank",
"example": "YYYY-MM-DD",
"type": "date",
"suggested": true
},
"numSpots": {
"label": "Number of People Accepted",
"description": "LEAVE BLANK if x1 spot available",
"example": "3 spots available",
"type": "string",
"suggested": true
},
"contactEmail": {
"label": "Contact Email",
"description": "Who should they contact?",
"example": "guy.fieri@donkey.sauce",
"type": "string",
"suggested": true
},
"appMethod": {
"label": "Application Method",
"example": "Election, SelComm, Written Application etc.",
"type": "string",
"suggested": true
}
},
"description": "The job will be added to the Job Board page automatically. It'll be visible until the deadline happens, but this page will continue to exist. Leave areas that do not apply blank (such as pay, link, etc)",
"paramOrder": [
"position",
"group",
"category",
"logo",
"appLink",
"description",
"skills",
"jobAppOpen",
"jobAppClose",
"duration",
"workload",
"numSpots",
"pay",
"contactEmail",
"appMethod"
],
"format": "block"
}
</templatedata>
</noinclude>
</noinclude>
<div class="col-10 jobCard col-xl-5 offset-1 offset-xl-0 mb-2" style="<!--display:none-->">
<div class="card border-info" type="button" data-toggle="collapse" data-target="#{{{uniqueID|ooops}}}" aria-expanded="false" >
<div class="card-body p-2 pb-0" style="background-color: #f8f9fa; border-radius: 2px;" ><div class="row"><div class="col" style="max-width:100px">[[File:{{{Logo|eus_logo_grey.png}}}|x70px|left]]</div><div class="col">
<div class="mt-0 h3 text-info">{{{Position|Wiki Curator}}}</div>
<span class="h6 text-muted mt-2">''{{{Group|EUSwiki}}}''</span></div>
[[{{{internalLink|Job Board}}}|<i title="Direct Link" style="position:absolute; top:6px; right:6px;" class="fas fa-link"></i>]]
<div class="mr-5 mt-1" style="width:80px"><span class="no-link mb-3">[{{{AppLink|http://fb.com}}} <span class="btn btn-sm btn-primary no-link" style="width:80px;padding-right:12px;">Apply</span>]</span><br><span title="Deadline"><i class="fas fa-clock"></i>&emsp;{{{Deadline|April 26}}}</span></div>
</div>
<div class="collapse row" id="{{{uniqueID|ooops}}}">
<div class="col">
<p style="margin-bottom:0px;">{{{Description|Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent iaculis urna lacinia odio pulvinar, sit amet malesuada mi accumsan. Maecenas et nisi vitae sapien condimentum luctus.}}}<br><br>
'''Skills:'''&emsp;{{{Skills|Organized, knows how to Wiki, devotes too much time to involvement}}}</p>
<div class="row text-center mb-3">
<div class="col"><i title="Estimated Workload" class="fas fa-user-clock"></i>&emsp;{{{Workload|14hrs/week}}}</div>
<div class="col"><i title="Position Duration" class="fas fa-calendar-alt"></i>&emsp;{{{Duration|May - Aug 2019}}}</div>
{{#if:{{{Pay|}}}|<div class="col"><i class="fas fa-money-bill"></i>&emsp;{{{Pay}}}</div>|}}
</div>
</div>
</div>
</div>
<div style="bottom:0;height:26px;border-top:1px #eee solid" title="Click anywhere on the card to expand!" class="w-100 mx-auto text-center list-group-item-action"><span class="no-link mt-3 btn btn-info btn-sm btn-primary no-link" style="bottom:0;left:0;position:absolute;margin:0px;font-size:12px;padding:3px;border-radius:0px;margin-right: -1px;">{{{Cat|Committees}}}</span><i class="fas fa-caret-down text-secondary"></i></div>
</div>
</div>