Agenda

From SemanticOrganization
Jump to: navigation, search


Messages

"semorg-agenda-template": "semorg-agenda",
"semorg-agenda-category": "semorg-agenda",
"semorg-agenda-form": "semorg-agenda",
"semorg-form-agenda-create-title": "Create Agenda",
"semorg-form-agenda-edit-title": "Edit Agenda",

"semorg-form-agenda-template": "agenda",
"semorg-form-agenda-rows": "title, end, description, time, project, tag, person, proposal, time-real, start, priority, meeting, type",
"semorg-list-agenda-headers": "agenda-title, agenda-end, agenda-description, agenda-time, agenda-project, agenda-tag, agenda-person, agenda-proposal, agenda-time-real, agenda-start, agenda-priority, agenda-meeting, agenda-type",
"semorg-field-agenda-description-name": "", 
"semorg-field-agenda-description-parameters": "",
"semorg-field-agenda-end-name": "End Time", 
"semorg-field-agenda-end-parameters": "input type=hidden",
"semorg-field-agenda-meeting-name": "", 
"semorg-field-agenda-meeting-parameters": "",
"semorg-field-agenda-person-name": "", 
"semorg-field-agenda-person-parameters": "",
"semorg-field-agenda-priority-name": "", 
"semorg-field-agenda-priority-parameters": "",
"semorg-field-agenda-project-name": "Project", 
"semorg-field-agenda-project-parameters": "input type=combobox|values from category=semorg-project",
"semorg-field-agenda-proposal-name": "", 
"semorg-field-agenda-proposal-parameters": "",
"semorg-field-agenda-start-name": "Start Time", 
"semorg-field-agenda-start-parameters": "input type=hidden",
"semorg-field-agenda-tag-name": "", 
"semorg-field-agenda-tag-parameters": "",
"semorg-field-agenda-time-name": "", 
"semorg-field-agenda-time-parameters": "",
"semorg-field-agenda-time-real-name": "Time (real)", 
"semorg-field-agenda-time-real-parameters": "",
"semorg-field-agenda-title-name": "", 
"semorg-field-agenda-title-parameters": "",
"semorg-field-agenda-type-name": "", 
"semorg-field-agenda-type-parameters": "",

Form

Form:Semorg-agenda

<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info
   |create title={{int:semorg-form-agenda-create-title}}
   |edit title={{int:semorg-form-agenda-edit-title}}<span class="d-none">: <page name></span>
   |page name=
}}}

{{semorg-form-template|agenda}}
 
{{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|agenda|}}

Category

Category:Semorg-agenda

{{semorg-category}}

Template

Template:Semorg-agenda

<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-agenda-category}}]]{{#semorg-set:agenda 
  |title={{{title|}}} 
  |end={{{end|}}} 
  |description={{{description|}}} 
  |time={{{time|}}} 
  |project={{{project|}}} 
  |tag={{{tag|}}} 
  |person={{{person|}}} 
  |proposal={{{proposal|}}} 
  |time-real={{{time-real|}}} 
  |start={{{start|}}} 
  |priority={{{priority|}}} 
  |meeting={{{meeting|}}} 
  |type={{{type|}}}
}}{{#semorg-detail:agenda}}{{#semorg-table:agenda 
  |title={{{title|}}} 
  |end={{{end|}}} 
  |description={{{description|}}} 
  |time={{{time|}}} 
  |project={{{project|}}} 
  |tag={{{tag|}}} 
  |person={{{person|}}} 
  |proposal={{{proposal|}}} 
  |time-real={{{time-real|}}} 
  |start={{{start|}}} 
  |priority={{{priority|}}} 
  |meeting={{{meeting|}}} 
  |type={{{type|}}}
}}</includeonly>

Row Template

Template:Semorg-agenda-row

<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
<td>[[{{{target|}}}]]</td> 
<td>{{{title|}}}</td> 
<td>{{{end|}}}</td> 
<td>{{{description|}}}</td> 
<td>{{{time|}}}</td> 
<td>{{{project|}}}</td> 
<td>{{{tag|}}}</td> 
<td>{{{person|}}}</td> 
<td>{{{proposal|}}}</td> 
<td>{{{time-real|}}}</td> 
<td>{{{start|}}}</td> 
<td>{{{priority|}}}</td> 
<td>{{{meeting|}}}</td> 
<td>{{{type|}}}</td>
{{semorg-showedit
  |target={{{target|}}}
}}
</tr></includeonly>

Overview Page Template

Template:Semorg-agenda-overview

<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:agenda
  |heading={{int:semorg-agenda-page-name}}
  |formlink={{#semorg-forminput:agenda}}
  |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

[[]]

{{semorg-agenda-overview}}

Property Registration

Add the following line to LocalSettings.php:

$wgSemorgAdditionalProperties['agenda'] = [ "id" => "AG","fields" => ["title" => [ "id" => "TT","type" => "txt" ],"end" => [ "id" => "ET","type" => "num" ],"description" => [ "id" => "DE","type" => "txt" ],"time" => [ "id" => "TI","type" => "num" ],"project" => [ "id" => "PJ","type" => "wpg" ],"tag" => [ "id" => "TA","type" => "txt" ],"person" => [ "id" => "PE","type" => "wpg" ],"proposal" => [ "id" => "PR","type" => "txt" ],"time-real" => [ "id" => "TR","type" => "num" ],"start" => [ "id" => "ST","type" => "num" ],"priority" => [ "id" => "PY","type" => "txt" ],"meeting" => [ "id" => "ME","type" => "wpg" ],"type" => [ "id" => "TY","type" => "txt" ], ] ];