Difference between revisions of "Template:Event"

From ConfIDent
(MWBot)
(MWBot)
Line 17: Line 17:
  
 
<!-- PREPEND -->{{#if:{{{Start Date|}}}||{{MSG Warning|Start date is missing. Please help improving the quality by setting a start date.}}}}
 
<!-- PREPEND -->{{#if:{{{Start Date|}}}||{{MSG Warning|Start date is missing. Please help improving the quality by setting a start date.}}}}
{{#if:{{{End Date|}}}||{{MSG Warning|End date is missing. Please help improving the quality by setting an end date.}}}}
+
{{#ifeq:{{{Single Day Event}}}|yes|{{#set:End Date={{{Start Date}}}}}|{{#if:{{{End Date|}}}||{{MSG Warning|End date is missing. Please help improving the quality by setting an end date.}}}}}}
 
<!--{{MSG Error|The start date must to be before the end date.}}-->
 
<!--{{MSG Error|The start date must to be before the end date.}}-->
 
{{#if:{{{Start Date|}}}|{{#set_recurring_event:Event
 
{{#if:{{{Start Date|}}}|{{#set_recurring_event:Event
Line 33: Line 33:
 
{{{Title|}}} </div></div> |}}{{#if: {{{Ordinal|}}} | <div class="row sc-row"><div class="col-sm-4 col-md-3 col-lg-4 row-label noglossary">{{int:CONF Event Ordinal}} </div><div class="col-sm-8 col-md-9 col-lg-8 row-value" data-property="Ordinal">
 
{{{Title|}}} </div></div> |}}{{#if: {{{Ordinal|}}} | <div class="row sc-row"><div class="col-sm-4 col-md-3 col-lg-4 row-label noglossary">{{int:CONF Event Ordinal}} </div><div class="col-sm-8 col-md-9 col-lg-8 row-value" data-property="Ordinal">
 
{{{Ordinal|}}} </div></div> |}}{{#if: {{{In Event Series|}}} | <div class="row sc-row"><div class="col-sm-4 col-md-3 col-lg-4 row-label noglossary">{{int:CONF Event Series In Event Series}} </div><div class="col-sm-8 col-md-9 col-lg-8 row-value" data-property="In Event Series">
 
{{{Ordinal|}}} </div></div> |}}{{#if: {{{In Event Series|}}} | <div class="row sc-row"><div class="col-sm-4 col-md-3 col-lg-4 row-label noglossary">{{int:CONF Event Series In Event Series}} </div><div class="col-sm-8 col-md-9 col-lg-8 row-value" data-property="In Event Series">
[[{{{In Event Series|}}}]] </div></div> |}}{{#if: {{{Start Date|}}} | <div class="row sc-row"><div class="col-sm-4 col-md-3 col-lg-4 row-label noglossary">{{int:SA Foundation Start Date}} </div><div class="col-sm-8 col-md-9 col-lg-8 row-value" data-property="Start Date">
+
[[{{{In Event Series|}}}]] </div></div> |}}{{#if: {{{Start Date|}}} | <div class="row sc-row"><div class="col-sm-4 col-md-3 col-lg-4 row-label noglossary">{{#ifeq:{{{Single Day Event}}}|yes|{{int:SA Foundation Date}}|{{int:SA Foundation Start Date}}}} </div><div class="col-sm-8 col-md-9 col-lg-8 row-value" data-property="Start Date">
 
{{MT ISO Date|{{{Start Date|}}}}} {{#var:startTime}} </div></div> |}}{{#if: {{{End Date|}}} | <div class="row sc-row"><div class="col-sm-4 col-md-3 col-lg-4 row-label noglossary">{{int:SA Foundation End Date}} </div><div class="col-sm-8 col-md-9 col-lg-8 row-value" data-property="End Date">
 
{{MT ISO Date|{{{Start Date|}}}}} {{#var:startTime}} </div></div> |}}{{#if: {{{End Date|}}} | <div class="row sc-row"><div class="col-sm-4 col-md-3 col-lg-4 row-label noglossary">{{int:SA Foundation End Date}} </div><div class="col-sm-8 col-md-9 col-lg-8 row-value" data-property="End Date">
 
{{MT ISO Date|{{{End Date|}}}}} {{#var:endTime}} </div></div> |}}{{#if: {{{Academic Field|}}} | <div class="row sc-row"><div class="col-sm-4 col-md-3 col-lg-4 row-label noglossary">{{int:CONF Academic Field}} </div><div class="col-sm-8 col-md-9 col-lg-8 row-value" data-property="Academic Field">
 
{{MT ISO Date|{{{End Date|}}}}} {{#var:endTime}} </div></div> |}}{{#if: {{{Academic Field|}}} | <div class="row sc-row"><div class="col-sm-4 col-md-3 col-lg-4 row-label noglossary">{{int:CONF Academic Field}} </div><div class="col-sm-8 col-md-9 col-lg-8 row-value" data-property="Academic Field">

Revision as of 09:03, 30 August 2022

Usage

{{Event
  |Acronym=
  |Title=
  |Ordinal=
  |In Event Series=
  |Single Day Event=
  |Start Date=
  |End Date=
  |Academic Field=
  |Official Website=
  |Hashtag=
}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.