Meeting: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
Line 88: Line 88:
|type=wpg
|type=wpg
|parameters=input type=tokens,list,values from category=semorg-member,mapping-property=Semorg-person-name
|parameters=input type=tokens,list,values from category=semorg-member,mapping-property=Semorg-person-name
}}{{semorg-generator-field
|id=participant-number
|property-id=PN
|name=Number of participants
|type=num
}}{{semorg-generator-field
}}{{semorg-generator-field
|id=participant-board
|id=participant-board

Revision as of 14:02, 6 February 2023


Messages

"semorg-meeting-template": "semorg-meeting",
"semorg-meeting-category": "semorg-meeting",
"semorg-meeting-form": "semorg-meeting",
"semorg-meeting-page-name": "Meetings",
"semorg-form-meeting-create-title": "Create Treffen",
"semorg-form-meeting-edit-title": "Edit Treffen", 
"semorg-form-meeting-page-name": "Meetings",

"semorg-form-meeting-template": "meeting",
"semorg-form-meeting-rows": "times, end-time, secretary, end-datetime, number, contact, topic, event-type, excused, start-time, participant-number, chair, guest, start-date, overview, participant, location, vote-counter, datetime, picture, type, end-date, ref, group, files, website, signer, participant-board, meeting-type, time, event-title, moderator, role, department, project, start-datetime, coordinates, date",
"semorg-list-meeting-headers": "meeting-times, meeting-end-time, meeting-secretary, meeting-end-datetime, meeting-number, meeting-contact, meeting-topic, meeting-event-type, meeting-excused, meeting-start-time, meeting-participant-number, meeting-chair, meeting-guest, meeting-start-date, meeting-overview, meeting-participant, meeting-location, meeting-vote-counter, meeting-datetime, meeting-picture, meeting-type, meeting-end-date, meeting-ref, meeting-group, meeting-files, meeting-website, meeting-signer, meeting-participant-board, meeting-meeting-type, meeting-time, meeting-event-title, meeting-moderator, meeting-role, meeting-department, meeting-project, meeting-start-datetime, meeting-coordinates, meeting-date",
"semorg-field-meeting-chair-name": "Chair", 
"semorg-field-meeting-chair-parameters": "",
"semorg-field-meeting-contact-name": "External Participants", 
"semorg-field-meeting-contact-parameters": "input type=combobox|values from category=semorg-person-contact|mapping property=Semorg-person-name",
"semorg-field-meeting-coordinates-name": "Coordinates", 
"semorg-field-meeting-coordinates-parameters": "", 
"semorg-field-meeting-coordinates-input-type": "leaflet",
"semorg-field-meeting-date-name": "Datum", 
"semorg-field-meeting-date-parameters": "input type=datepicker|size=10", 
"semorg-field-meeting-date-suffix": "  ",
"semorg-field-meeting-datetime-name": "", 
"semorg-field-meeting-datetime-fields": "date, time",
"semorg-field-meeting-department-name": "Geschäftsfeld", 
"semorg-field-meeting-department-parameters": "input type=dropdown|values from category=Semorg-department",
"semorg-field-meeting-end-date-name": "End date", 
"semorg-field-meeting-end-date-parameters": "",
"semorg-field-meeting-end-datetime-name": "", 
"semorg-field-meeting-end-datetime-parameters": "",
"semorg-field-meeting-end-time-name": "End time", 
"semorg-field-meeting-end-time-parameters": "", 
"semorg-field-meeting-end-time-prefix": "-",
"semorg-field-meeting-event-title-name": "Event Title", 
"semorg-field-meeting-event-title-parameters": "",
"semorg-field-meeting-event-type-name": "Type of event", 
"semorg-field-meeting-event-type-parameters": "input type=combobox|property=semorg-meeting-event-type",
"semorg-field-meeting-excused-name": "entschuldigt", 
"semorg-field-meeting-excused-parameters": "",
"semorg-field-meeting-files-name": "Dateien", 
"semorg-field-meeting-files-parameters": "holds template",
"semorg-field-meeting-group-name": "Gremium", 
"semorg-field-meeting-group-parameters": "input type=dropdown|values from category=Semorg-group",
"semorg-field-meeting-guest-name": "Gäste", 
"semorg-field-meeting-guest-parameters": "",
"semorg-field-meeting-location-name": "Ort", 
"semorg-field-meeting-location-parameters": "property=semorg-meeting-location|input type=combobox",
"semorg-field-meeting-meeting-type-name": "Type", 
"semorg-field-meeting-meeting-type-parameters": "",
"semorg-field-meeting-moderator-name": "Moderation", 
"semorg-field-meeting-moderator-parameters": "",
"semorg-field-meeting-number-name": "Number", 
"semorg-field-meeting-number-parameters": "",
"semorg-field-meeting-overview-name": "Übersicht", 
"semorg-field-meeting-overview-parameters": "input type=textarea|autogrow|rows=1|cols=60",
"semorg-field-meeting-participant-name": "TeilnehmerInnen", 
"semorg-field-meeting-participant-parameters": "input type=tokens|list|values from category=semorg-member|mapping-property=Semorg-person-name",
"semorg-field-meeting-participant-board-name": "Participating board members", 
"semorg-field-meeting-participant-board-parameters": "input type=tokens|list|values from category=semorg-person-user|mapping-property=Semorg-person-name",
"semorg-field-meeting-participant-number-name": "Number of participants", 
"semorg-field-meeting-participant-number-parameters": "",
"semorg-field-meeting-picture-name": "Picture", 
"semorg-field-meeting-picture-parameters": "",
"semorg-field-meeting-project-name": "Projekt", 
"semorg-field-meeting-project-parameters": "input type=dropdown|values from category=Semorg-project",
"semorg-field-meeting-ref-name": "", 
"semorg-field-meeting-ref-parameters": "",
"semorg-field-meeting-role-name": "", 
"semorg-field-meeting-role-parameters": "",
"semorg-field-meeting-secretary-name": "Protokoll", 
"semorg-field-meeting-secretary-parameters": "input type=combobox|values from property=semorg-person|mapping property=Semorg-person-name",
"semorg-field-meeting-signer-name": "Signer", 
"semorg-field-meeting-signer-parameters": "",
"semorg-field-meeting-start-date-name": "Start date", 
"semorg-field-meeting-start-date-parameters": "",
"semorg-field-meeting-start-datetime-name": "", 
"semorg-field-meeting-start-datetime-parameters": "",
"semorg-field-meeting-start-time-name": "Start time", 
"semorg-field-meeting-start-time-parameters": "",
"semorg-field-meeting-time-name": "Uhrzeit", 
"semorg-field-meeting-time-parameters": "input type=text|size=15|placeholder=Uhrzeit",
"semorg-field-meeting-times-name": "Time", 
"semorg-field-meeting-times-fields": "start-time,end-time",
"semorg-field-meeting-topic-name": "Topic", 
"semorg-field-meeting-topic-parameters": "",
"semorg-field-meeting-type-name": "Type", 
"semorg-field-meeting-type-parameters": "",
"semorg-field-meeting-vote-counter-name": "Vote counter", 
"semorg-field-meeting-vote-counter-parameters": "",
"semorg-field-meeting-website-name": "Website", 
"semorg-field-meeting-website-parameters": "",

Form

Form:Semorg-meeting

<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info
   |create title={{int:semorg-form-meeting-create-title}}
   |edit title={{int:semorg-form-meeting-edit-title}}<span class="d-none">: <page name></span>
   |page name={{int:semorg-form-meeting-page-name}}/<unique number;start=1>
}}}

{{semorg-form-template|meeting}}
 
{{semorg-form-standard-inputs}}
</includeonly>

as embedded:

Use this code, if this is not meant to be a standalone feature but rather a supplement that should be embedded in other forms. Add this line to a form definition that includes a field with the parameter holds template. The second parameter of the semorg-form-template-embed call should be the target field, specified with <feature>[<field>] (e.g. meeting-group[files] or {{int:semorg-meeting-group-template}}[files] to respect template customization).

{{semorg-form-template-embed|meeting|}}

Category

Category:Semorg-meeting

{{semorg-category}}

Template

Template:Semorg-meeting

<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-meeting-category}}]]{{#semorg-set:meeting 
  |times={{{times|}}} 
  |end-time={{{end-time|}}} 
  |secretary={{{secretary|}}} 
  |end-datetime={{{end-datetime|}}} 
  |number={{{number|}}} 
  |contact={{{contact|}}} 
  |topic={{{topic|}}} 
  |event-type={{{event-type|}}} 
  |excused={{{excused|}}} 
  |start-time={{{start-time|}}} 
  |participant-number={{{participant-number|}}} 
  |chair={{{chair|}}} 
  |guest={{{guest|}}} 
  |start-date={{{start-date|}}} 
  |overview={{{overview|}}} 
  |participant={{{participant|}}} 
  |location={{{location|}}} 
  |vote-counter={{{vote-counter|}}} 
  |datetime={{{datetime|}}} 
  |picture={{{picture|}}} 
  |type={{{type|}}} 
  |end-date={{{end-date|}}} 
  |ref={{{ref|}}} 
  |group={{{group|}}} 
  |files={{{files|}}} 
  |website={{{website|}}} 
  |signer={{{signer|}}} 
  |participant-board={{{participant-board|}}} 
  |meeting-type={{{meeting-type|}}} 
  |time={{{time|}}} 
  |event-title={{{event-title|}}} 
  |moderator={{{moderator|}}} 
  |role={{{role|}}} 
  |department={{{department|}}} 
  |project={{{project|}}} 
  |start-datetime={{{start-datetime|}}} 
  |coordinates={{{coordinates|}}} 
  |date={{{date|}}}
}}{{#semorg-detail:meeting}}{{#semorg-table:meeting 
  |times={{{times|}}} 
  |end-time={{{end-time|}}} 
  |secretary={{{secretary|}}} 
  |end-datetime={{{end-datetime|}}} 
  |number={{{number|}}} 
  |contact={{{contact|}}} 
  |topic={{{topic|}}} 
  |event-type={{{event-type|}}} 
  |excused={{{excused|}}} 
  |start-time={{{start-time|}}} 
  |participant-number={{{participant-number|}}} 
  |chair={{{chair|}}} 
  |guest={{{guest|}}} 
  |start-date={{{start-date|}}} 
  |overview={{{overview|}}} 
  |participant={{{participant|}}} 
  |location={{{location|}}} 
  |vote-counter={{{vote-counter|}}} 
  |datetime={{{datetime|}}} 
  |picture={{{picture|}}} 
  |type={{{type|}}} 
  |end-date={{{end-date|}}} 
  |ref={{{ref|}}} 
  |group={{{group|}}} 
  |files={{{files|}}} 
  |website={{{website|}}} 
  |signer={{{signer|}}} 
  |participant-board={{{participant-board|}}} 
  |meeting-type={{{meeting-type|}}} 
  |time={{{time|}}} 
  |event-title={{{event-title|}}} 
  |moderator={{{moderator|}}} 
  |role={{{role|}}} 
  |department={{{department|}}} 
  |project={{{project|}}} 
  |start-datetime={{{start-datetime|}}} 
  |coordinates={{{coordinates|}}} 
  |date={{{date|}}}
}}</includeonly>

Row Template

Template:Semorg-meeting-row

<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
<td>[[{{{target|}}}]]</td> 
<td>{{{times|}}}</td> 
<td>{{{end-time|}}}</td> 
<td>{{{secretary|}}}</td> 
<td>{{{end-datetime|}}}</td> 
<td>{{{number|}}}</td> 
<td>{{{contact|}}}</td> 
<td>{{{topic|}}}</td> 
<td>{{{event-type|}}}</td> 
<td>{{{excused|}}}</td> 
<td>{{{start-time|}}}</td> 
<td>{{{participant-number|}}}</td> 
<td>{{{chair|}}}</td> 
<td>{{{guest|}}}</td> 
<td>{{{start-date|}}}</td> 
<td>{{{overview|}}}</td> 
<td>{{{participant|}}}</td> 
<td>{{{location|}}}</td> 
<td>{{{vote-counter|}}}</td> 
<td>{{{datetime|}}}</td> 
<td>{{{picture|}}}</td> 
<td>{{{type|}}}</td> 
<td>{{{end-date|}}}</td> 
<td>{{{ref|}}}</td> 
<td>{{{group|}}}</td> 
<td>{{{files|}}}</td> 
<td>{{{website|}}}</td> 
<td>{{{signer|}}}</td> 
<td>{{{participant-board|}}}</td> 
<td>{{{meeting-type|}}}</td> 
<td>{{{time|}}}</td> 
<td>{{{event-title|}}}</td> 
<td>{{{moderator|}}}</td> 
<td>{{{role|}}}</td> 
<td>{{{department|}}}</td> 
<td>{{{project|}}}</td> 
<td>{{{start-datetime|}}}</td> 
<td>{{{coordinates|}}}</td> 
<td>{{{date|}}}</td>
{{semorg-showedit
  |target={{{target|}}}
}}
</tr></includeonly>

Overview Page Template

Template:Semorg-meeting-overview

<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:meeting
  |heading={{int:semorg-meeting-page-name}}
  |formlink={{#semorg-formlink:meeting}}
  |links={{{links|}}}
  |query={{{query|}}}
  |sort={{{sort|}}}
  |order={{{order|}}}
  |limit={{{limit|}}}
  |filter links={{{filter links|}}}
  |filters={{{filters|}}}
  |category={{{category|}}}
  |headers={{{headers|}}}
  |row template={{{row template|}}}
  |tableclass={{{tableclass|}}}
  |title={{{title|}}}
  |sums={{{sums|}}}
  |csv={{{csv|}}}
  |default={{{default|}}}
  |returnto={{{returnto|}}}
  |help={{{help|}}}
}}</includeonly>

Overview Page

Meetings

{{semorg-meeting-overview}}

Property Registration

Add the following line to LocalSettings.php:

$wgSemorgAdditionalProperties['meeting'] = [ "id" => "M","fields" => ["end-time" => [ "id" => "ET","type" => "txt" ],"secretary" => [ "id" => "SE","type" => "wpg" ],"end-datetime" => [ "id" => "EDT","type" => "dat" ],"number" => [ "id" => "NU","type" => "num" ],"contact" => [ "id" => "CO","type" => "wpg" ],"topic" => [ "id" => "TO","type" => "wpg" ],"event-type" => [ "id" => "EVTY","type" => "txt" ],"excused" => [ "id" => "EX","type" => "wpg" ],"start-time" => [ "id" => "ST","type" => "txt" ],"participant-number" => [ "id" => "PN","type" => "num" ],"chair" => [ "id" => "CH","type" => "wpg" ],"guest" => [ "id" => "GU","type" => "wpg" ],"start-date" => [ "id" => "SD","type" => "dat" ],"overview" => [ "id" => "OV","type" => "txt" ],"participant" => [ "id" => "PA","type" => "wpg" ],"location" => [ "id" => "LO","type" => "txt" ],"vote-counter" => [ "id" => "VC","type" => "wpg" ],"picture" => [ "id" => "PI","type" => "wpg" ],"type" => [ "id" => "TY","type" => "txt" ],"end-date" => [ "id" => "ED","type" => "dat" ],"ref" => [ "id" => "RE","type" => "wpg" ],"group" => [ "id" => "GR","type" => "wpg" ],"website" => [ "id" => "WE","type" => "uri" ],"signer" => [ "id" => "SI","type" => "wpg" ],"participant-board" => [ "id" => "PB","type" => "wpg" ],"meeting-type" => [ "id" => "MTY","type" => "txt" ],"time" => [ "id" => "TI","type" => "txt" ],"event-title" => [ "id" => "EVTI","type" => "txt" ],"moderator" => [ "id" => "MO","type" => "wpg" ],"role" => [ "id" => "RO","type" => "wpg" ],"department" => [ "id" => "DE","type" => "wpg" ],"project" => [ "id" => "PR","type" => "wpg" ],"start-datetime" => [ "id" => "SDT","type" => "dat" ],"coordinates" => [ "id" => "CR","type" => "geo" ],"date" => [ "id" => "DT","type" => "dat" ], ] ];