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

From SemanticOrganization
Jump to: navigation, search
Line 13: Line 13:
 
   |guest={{{guest|}}}
 
   |guest={{{guest|}}}
 
}}{{DISPLAYTITLE:{{int:semorg-meeting-department-displaytitle|{{#show:{{{department|}}}|?semorg-department-name}}|{{{date|}}}}}}} __NUMBEREDHEADINGS__ __FORCETOC__
 
}}{{DISPLAYTITLE:{{int:semorg-meeting-department-displaytitle|{{#show:{{{department|}}}|?semorg-department-name}}|{{{date|}}}}}}} __NUMBEREDHEADINGS__ __FORCETOC__
<table class="table">{{#if:{{{overview|}}}
+
 
   |<tr class="hidden-print"><th>{{int:semorg-field-meeting-overview-name}}:</th><td>{{{overview|}}}</td></tr>
+
{{#semorg-table:meeting
 +
  |department=[[{{{department|}}}|{{#show:{{{department|}}}|?semorg-department-name}}]]
 +
  |overview={{{overview|}}}
 +
   |date={{#timel:{{int:semorg-date-long}}|{{{date|}}}}}
 +
  |time={{{time|}}}
 +
  |location={{{location|}}}
 +
  |participant={{#arraymap:{{{participant|}}}|,|xxx|{{semorg-person-link|xxx}}}}
 +
  |excused={{#arraymap:{{{excused|}}}|,|xxx|{{semorg-person-link|xxx}}}}
 +
  |guest={{{guest|}}}
 +
  |secretary={{semorg-person-link|{{{secretary|}}}}}
 +
  |moderator={{semorg-person-link|{{{moderator|}}}}}
 +
  |files=<ul>{{{files|}}}</ul>
 
}}
 
}}
<tr class="visible-print">
 
<th>{{int:semorg-field-meeting-date-name}}:</th><td>{{#timel:j. F Y|{{{date|}}}}}</td>
 
</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>
 
</includeonly>

Revision as of 15:36, 1 November 2018

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