No edit summary
Tag: Reverted
m Protected "Template:Job Announcement" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
__NOTOC__
__NOTOC__
<templatestyles src="Job_Announcement/style.css"/>
<templatestyles src="Job_Announcement/style.css"/>
<div class="collapsible-container">
<div id="job-div">
<input type="checkbox" id="collapsible1" class="collapsible-checkbox">
{{#if:{{{image|}}}|<div style="float: right">[[File:{{{image}}}|200px]]</div>|}}
<label for="collapsible1" class="collapsible-label">Click to expand/collapse</label>
<h2>{{{title}}}</h2>
<div class="collapsible-content">
{{{short_text}}}
<p>This is the hidden content that will be revealed when the div is expanded.</p>
<hr/>
<p>You can put any content here - text, images, lists, etc.</p>
<table>
</div>
<tr>
<td class="td-left">Job type:</td>
<td class="td-right">{{{type}}}</td>
</tr>
<tr>
<td class="td-left">Job location:</td>
<td class="td-right">{{{location}}}</td>
</tr>
<tr>
<td class="td-left">Deadline:</td>
<td class="td-right">{{{deadline_year}}}-{{{deadline_month}}}-{{{deadline_day}}}</td>
</tr>
{{ #if: {{{salary_start|}}} |
<tr>
<td class="td-left">Salary:</td>
<td class="td-right">{{{salary_start}}}{{ #if: {{{salary_end}}} | &nbsp;– {{{salary_end|}}} |}} {{{salary_currency}}}</td>
</tr>
|}}
</table>
</div>
</div>
{{ #if: {{NAMESPACE}} | |
[[Category:Job Announcement {{ #switch: {{{type}}}
| PhD Student=PhD Student
| Postdoc=Postdoc
| Faculty=Faculty
| Internship=Internship
| Industry=Industry
| Technologist=Technologist
| #default=Other
}}]] [[Category:Job Announcement ending {{{deadline_year}}}-{{{deadline_month}}}-{{{deadline_day}}}]]|}}
</includeonly>
<noinclude>
{{Job Announcement
  | image=ESMRMB-logo.png
  | title=Sample announcement
  | short_text=Exciting opportunity!
  | type=PhD Student
  | location=Switzerland
  | deadline_year=2025
  | deadline_month=01
  | deadline_day=01
  | salary_start=40'000
  | salary_end=50'000
  | salary_currency=CHF
}}
== Usage ==
This template is used to give a homogeneous look and feel to job announcement, and to automatically characterize them correctly. The following is an example of usage:
<pre>
{{Job Announcement
  | image=ESMRMB-logo.png
  | title=Sample announcement
  | short_text=Exciting opportunity!
  | type=PhD Student
  | location=Switzerland
  | deadline_year=2025
  | deadline_month=01
  | deadline_day=01
  | salary_start=40'000
  | salary_end=50'000
  | salary_currency=CHF
}}
</pre>
=== Important settings ===
The '''type''' needs to be one of the following (capitalization is important) for correct categorization of the announcement:
*PhD Student
*Postdoc
*Faculty
*Internship
*Industry
*Technologist
To add more categories, please leave a message in the [[Template talk:Job Announcement|talk page]]. An administrator will make the appropriate changes.
The '''salary''' settings are optional. If the salary is not a bracket (i.e. it is fixed) just define '''salary_start''' and '''salary_currency'''. '''salary_currency''' needs to be always defined when a salary is indicated.
[[Category:Templates]]
</noinclude>

Latest revision as of 18:00, 19 May 2026



Sample announcement

Exciting opportunity!


Job type: PhD Student
Job location: Switzerland
Deadline: 2025-01-01
Salary: 40'000 – 50'000 CHF


Usage

This template is used to give a homogeneous look and feel to job announcement, and to automatically characterize them correctly. The following is an example of usage:

{{Job Announcement
  | image=ESMRMB-logo.png
  | title=Sample announcement
  | short_text=Exciting opportunity!
  | type=PhD Student
  | location=Switzerland
  | deadline_year=2025
  | deadline_month=01
  | deadline_day=01
  | salary_start=40'000
  | salary_end=50'000
  | salary_currency=CHF
}}

Important settings

The type needs to be one of the following (capitalization is important) for correct categorization of the announcement:

  • PhD Student
  • Postdoc
  • Faculty
  • Internship
  • Industry
  • Technologist

To add more categories, please leave a message in the talk page. An administrator will make the appropriate changes.

The salary settings are optional. If the salary is not a bracket (i.e. it is fixed) just define salary_start and salary_currency. salary_currency needs to be always defined when a salary is indicated.