No edit summary Tag: Reverted |
Tag: Undo |
||
| Line 1: | Line 1: | ||
<includeonly> | |||
__NOTOC__ | __NOTOC__ | ||
<templatestyles src="Job_Announcement/style.css"/> | <templatestyles src="Job_Announcement/style.css"/> | ||
<div | <div id="job-div"> | ||
< | {{#if:{{{image|}}}|<div style="float: right">[[File:{{{image}}}|200px]]</div>|}} | ||
< | <h2>{{{title}}}</h2> | ||
< | {{{short_text}}} | ||
< | <hr/> | ||
< | <table> | ||
</ | <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}}} | – {{{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> | |||
Revision as of 11:26, 4 April 2025
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.