Template: Semorg-meeting-project: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-meeting-project-category}}]]{{#semorg-set:meeting
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-meeting-category}}]][[Category:{{int:semorg-meeting-project-category}}]][[Category:{{int:semorg-contact-category}}]]{{#default_form:{{int:semorg-meeting-project-form}}}}{{#semorg-set:meeting
  |meeting-type=project
  |ref={{{project|}}}
   |project={{{project|}}}
   |project={{{project|}}}
   |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|}}}
}}{{DISPLAYTITLE:{{int:semorg-meeting-project-displaytitle|{{{project|}}}|{{{date|}}}}}}} __NUMBEREDHEADINGS__ __FORCETOC__
}}{{#semorg-set:contact
<table class="table">{{#if:{{{overview|}}}
  |subject={{#show:{{{project|}}}|?semorg-project-title}}
   |<tr class="hidden-print"><th>{{int:semorg-field-meeting-overview-name}}:</th><td>{{{overview|}}}</td></tr>
  |details={{{overview|}}}
  |type=meeting-project
  |location={{{location|}}}
  |time={{#if:{{{start-time|}}}
    |{{{start-time}}}{{#if:{{{end-time|}}}
      |-{{{end-time}}}
    }}
    |{{{time|}}}
  }}
  |date={{{date|{{{start-date|}}}}}}
}}{{#semorg-set-list:contact
  |participant={{{participant|}}},{{{secretary|}}},{{{moderator|}}}
  |contact={{{guest|}}}
}}{{#semorg-detail:meeting-project
  |heading={{int:semorg-meeting-project-displaytitle|{{{project|}}}|{{{date|}}}}}
  |overview page={{#ifexpr:{{#time:U|{{{date|}}}}}>{{#time:U}}
    |{{int:semorg-meeting-project-page-name}}
    |{{int:semorg-meeting-project-past-page-name}}
  }}
}} __NUMBEREDHEADINGS__ __FORCETOC__
 
{{#semorg-table:meeting
  |project={{semorg-project-link|{{{project|}}}}}
  |overview={{{overview|}}}
  |date={{#if:{{{date|}}}
    |{{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|}}}
   |participant={{#arraymap:{{#semorg-distinct:{{{participant|}}},{{{secretary|}}},{{{moderator|}}}}}|,|xxx|{{semorg-person-link|xxx}}}}
  |excused={{#arraymap:{{{excused|}}}|,|xxx|{{semorg-person-link|xxx}}}}
  |guest={{semorg-person-link|{{{guest|}}}}}
  |secretary={{semorg-person-link|{{{secretary|}}}}}
  |moderator={{semorg-person-link|{{{moderator|}}}}}
  |files={{#if:{{{files|}}}|<ul>{{{files|}}}</ul>}}
}}
}}
<tr class="visible-print">
 
<th>{{int:semorg-field-meeting-date-name}}:</th><td>{{#timel:j. F Y|{{{date|}}}}}</td>
{{semorg-meeting-tasks}}</includeonly>
</tr>{{#if:{{{time|}}}|
<tr>
<th>{{int:semorg-field-meeting-time-name}}:</th><td>{{{time|}}}</td>
</tr>}}{{#if:{{{location|}}}|
<tr>
<th>{{int:semorg-field-meeting-location-name}}:</th><td>{{{location|}}}</td>
</tr>}}{{#if:{{{participant|}}}|
<tr>
<th>{{int:semorg-field-meeting-participant-name}}:</th><td>{{#arraymap:{{{participant|}}}|,|xxx|{{semorg-person-link|xxx}}}}</td>
</tr>}}{{#if:{{{excused|}}}|
<tr>
<th>{{int:semorg-field-meeting-excused-name}}:</th><td>{{#arraymap:{{{excused|}}}|,|xxx|{{semorg-person-link|xxx}}}}</td>
</tr>}}{{#if:{{{guest|}}}|
<tr>
<th>{{int:semorg-field-meeting-guest-name}}:</th><td>{{{guest|}}}</td>
</tr>}}{{#if:{{{secretary|}}}|
<tr class="hidden-print">
<th>{{int:semorg-field-meeting-secretary-name}}:</th><td>{{semorg-person-link|{{{secretary|}}}}}</td>
</tr>}}{{#if:{{{moderator|}}}|
<tr class="hidden-print">
<th>{{int:semorg-field-meeting-moderator-name}}:</th><td>{{semorg-person-link|{{{moderator|}}}}}</td>
</tr>}}{{#if:{{{files|}}}|
<tr>
<th>{{int:semorg-field-meeting-files-name}}:</th><td><ul>{{{files}}}</ul></td>
</tr>}}
</table>
</includeonly>

Latest revision as of 10:54, 21 November 2024

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-project-custom) and change the following system message to the name of the newly created page: MediaWiki:semorg-meeting-project-template