Template:Event/upcoming: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!-- NEED TO IMPLEMENT A CHECK FOR IF THERE IS AN UPCOMING EVENT, THEN THE HEADER, DATES, AND APPLICATION INFO.
<noinclude>{{Semantic display template|Event/instance}}</noinclude><includeonly><!-- NEED TO IMPLEMENT A CHECK FOR IF THERE IS AN UPCOMING EVENT, THEN THE HEADER, DATES, AND APPLICATION INFO.
-->{{#if:{{{application_deadline||}}}|<tr><th scope="row">Deadline</th><td>{{#time:F j, Y|{{{application_deadline}}}}}</td></tr>}}<!--
-->{{#ask:
-->{{#if:{{{application_link|}}}|<tr><th scope="row">Application</th><td>
[[-Has subobject::{{PAGENAME}}]]
{{#ifexpr: {{#time:U|{{{application_deadline}}}}} > {{#time:U}} | [{{{application_link}}} <span class="button blue outline">Apply</span>]|<span class="button disabled outline">Closed</span>}}</td></tr>
[[Category:Instances]]
</includeonly>
[[Has end date::>{{#time:Y-m-d}}]]
|?Has name=name
|?Has event type=event_type
|?Has start date=start_date
|?Has end date=end_date
|?Has website#=website
|?At venue=venue
|?At location=location
|?Has application deadline=application_deadline
|?Has application URL=application_link
|format=plainlist
|template=Sidebox instance
|link=none
|limit=1
|named args=yes
}}</includeonly>

Latest revision as of 22:42, 20 January 2025

This is a semantic display template, it takes no properties of its own. The annotations it uses are made in Template:Event/instance.