Difference between revisions of "Template:Semorg-meeting-department"

From SemanticOrganization
Jump to: navigation, search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-meeting-category}}]][[Category:{{int:semorg-meeting-department-category}}]]{{#semorg-set:meeting
 
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-meeting-category}}]][[Category:{{int:semorg-meeting-department-category}}]]{{#semorg-set:meeting
 +
  |meeting-type=department
 +
  |ref={{{department|}}}
 
   |department={{{department|}}}
 
   |department={{{department|}}}
 
   |date={{{date|}}}
 
   |date={{{date|}}}
   |time={{{time|}}}
+
   |start-date={{{start-date|{{{date|}}}}}}
 +
  |end-date={{{end-date|{{{date|}}}}}}
 +
  |time={{#if:{{{start-time|}}}
 +
    |{{{start-time}}}{{#if:{{{end-time|}}}
 +
      |-{{{end-time}}}
 +
    }}
 +
    |{{{time|}}}
 +
  }}
 +
  |start-time={{{start-time|}}}
 +
  |end-time={{{end-time|}}}
 +
  |start-datetime={{#if:{{{date|}}}{{{start-date|}}}
 +
    |{{#if:{{{start-time|}}}
 +
      |{{{start-date|{{{date|}}}}}} {{{start-time|}}}
 +
    }}
 +
  }}
 +
  |end-datetime={{#if:{{{date|}}}{{{end-date|}}}
 +
    |{{#if:{{{end-time|}}}
 +
      |{{{end-date|{{{date|}}}}}} {{{end-time|}}}
 +
    }}
 +
  }}
 
   |overview={{{overview|}}}
 
   |overview={{{overview|}}}
  |time={{{time|}}}
 
 
   |location={{{location|}}}
 
   |location={{{location|}}}
 
   |secretary={{{secretary|}}}
 
   |secretary={{{secretary|}}}
 
   |moderator={{{moderator|}}}
 
   |moderator={{{moderator|}}}
 +
  |participant-number={{#semorg-count:{{{participant|}}},{{{secretary|}}},{{{moderator|}}}}}
 
}}{{#semorg-set-list:meeting
 
}}{{#semorg-set-list:meeting
   |participant={{{participant|}}}
+
   |participant={{{participant|}}},{{{secretary|}}},{{{moderator|}}}
 
   |excused={{{excused|}}}
 
   |excused={{{excused|}}}
 
   |guest={{{guest|}}}
 
   |guest={{{guest|}}}
 
}}{{#semorg-detail:meeting-department
 
}}{{#semorg-detail:meeting-department
 
   |heading={{int:semorg-meeting-department-displaytitle|{{#show:{{{department|}}}|?semorg-department-name}}|{{{date|}}}}}
 
   |heading={{int:semorg-meeting-department-displaytitle|{{#show:{{{department|}}}|?semorg-department-name}}|{{{date|}}}}}
 +
  |overview page={{#ifexpr:{{#time:U|{{{date|}}}}}>{{#time:U}}
 +
    |{{int:semorg-meeting-department-page-name}}
 +
    |{{int:semorg-meeting-department-past-page-name}}
 +
  }}
 
}} __NUMBEREDHEADINGS__ __FORCETOC__
 
}} __NUMBEREDHEADINGS__ __FORCETOC__
  
Line 19: Line 44:
 
   |department=[[{{{department|}}}|{{#show:{{{department|}}}|?semorg-department-name}}]]
 
   |department=[[{{{department|}}}|{{#show:{{{department|}}}|?semorg-department-name}}]]
 
   |overview={{{overview|}}}
 
   |overview={{{overview|}}}
   |date={{#timel:{{int:semorg-date-long}}|{{{date|}}}}}
+
   |date={{#if:{{{date|}}}
   |time={{{time|}}} {{semorg-agenda-times}}
+
    |{{semorg-date|{{{date|}}}|long}}
 +
    |{{#if:{{{start-date|}}}
 +
      |{{semorg-date|{{{start-date|}}}|long}}{{#if:{{{end-date|}}}
 +
        |-{{semorg-date|{{{end-date|}}}|long}}
 +
      }}
 +
    }}
 +
  }}
 +
   |time={{#if:{{{start-time|}}}
 +
    |{{{start-time}}}{{#if:{{{end-time|}}}
 +
      |-{{{end-time}}}
 +
    }}
 +
    |{{{time|}}}
 +
  }} {{semorg-agenda-times}}
 
   |location={{{location|}}}
 
   |location={{{location|}}}
   |participant={{#arraymap:{{{participant|}}}|,|xxx|{{semorg-person-link|xxx}}}}
+
   |participant={{#arraymap:{{#semorg-distinct:{{{participant|}}},{{{secretary|}}},{{{moderator|}}}}}|,|xxx|{{semorg-person-link|xxx}}}}
 
   |excused={{#arraymap:{{{excused|}}}|,|xxx|{{semorg-person-link|xxx}}}}
 
   |excused={{#arraymap:{{{excused|}}}|,|xxx|{{semorg-person-link|xxx}}}}
 
   |guest={{{guest|}}}
 
   |guest={{{guest|}}}
 
   |secretary={{semorg-person-link|{{{secretary|}}}}}
 
   |secretary={{semorg-person-link|{{{secretary|}}}}}
 
   |moderator={{semorg-person-link|{{{moderator|}}}}}
 
   |moderator={{semorg-person-link|{{{moderator|}}}}}
   |files=<ul>{{{files|}}}</ul>
+
   |files={{#if:{{{files|}}}|<ul>{{{files|}}}</ul>}}
 
}}
 
}}
</includeonly>
+
 
 +
{{semorg-meeting-tasks}}</includeonly>

Latest revision as of 14:15, 6 February 2023

This page is part of the Semantic Organization extension.

If you want to customize this template you can copy its contents to another page (use for example Template:Semorg-meeting-department-custom) and change the following system message to the name of the newly created page: MediaWiki:semorg-meeting-department-template