Job: Difference between revisions
No edit summary |
No edit summary |
||
(45 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This is the " | {{#template_params: | ||
Description | |||
|Posted | |||
|Closes | |||
|News | |||
|RSS_pubdate | |||
}} | |||
<!-- | |||
This is the "Job" template. | |||
It should be called in the following format: | It should be called in the following format: | ||
<pre> | <pre> | ||
{{ | {{Job | ||
|Description= | |Description= | ||
| | |Posted= | ||
| | |Closes= | ||
| | |News= | ||
|RSS_pubdate= | |||
}} | }} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
{{#cargo_declare:_table=Jobs|Description=Wikitext| | //--> | ||
</noinclude><includeonly>{{#cargo_store:_table=Jobs| | {{#cargo_declare:_table=Jobs | ||
|Description=Wikitext (size=2000) | |||
|Posted=Start date | |||
|Closes=End date | |||
}}{{#cargo_attach: | |||
| {{{ | _table = News | ||
| | }} | ||
</noinclude><includeonly>{{#ifeq: {{{News|}}} |Yes| {{#cargo_store:_table=News | |||
| {{{ | |Which_table=Jobs | ||
|RSS_pubdate={{{RSS pubdate|}}} }} }}{{#cargo_store: | |||
_table=Jobs | |||
| {{{ | |Description={{{Description|}}} | ||
|Posted={{{Posted|}}} | |||
|Closes={{{Closes|}}} | |||
}}<!--page starts--><div class="row"> | |||
<div class="medium-8 columns"> | |||
{{{Description|}}} | |||
</div><!--first column--> | |||
<div class="medium-4 columns" style="border-left:1px solid black; padding-left:10px"> | |||
{{database header|JOBS}} | |||
<p>{{#ifexpr: {{#time: xNU }} > {{#time: xNU | {{{Closes|}}} }} | ''Please note that this advert has expired.'' }}</p> | |||
<p>'''Posted:''' {{#time: j/n/y | {{{Posted|}}} }}</p> | |||
<p>'''Closes:''' {{#time: j/n/y | {{{Closes|}}} }}</p> | |||
<p>''All job vacancies can be viewed on the [[Jobs]] page.''</p> | |||
<p>''Please quote reference MHLO in all applications :-)''</p> | |||
</div> | |||
[[Category:Jobs]] | [[Category:Jobs]] | ||
</includeonly> | </includeonly> |
Latest revision as of 08:30, 9 May 2021
This is the "Job" template.
It should be called in the following format:
{{Job |Description= |Posted= |Closes= |News= |RSS_pubdate= }}
Edit the page to see the template text.
This template defines the table "Jobs". View table.This template adds rows to the table "News", which is declared by the template News. View table.