Meeting-event: Difference between revisions
From SemanticOrganization
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Semorg-generator | {{Semorg-generator | ||
|form-page-name= | |form-page-name=Events | ||
|form-unique-number=Yes | |form-unique-number=Yes | ||
|form-template=meeting | |form-template=meeting | ||
}} | }} |
Latest revision as of 10:57, 14 May 2020
Messages
"semorg-meeting-event-template": "semorg-meeting-event", "semorg-meeting-event-category": "semorg-meeting-event", "semorg-meeting-event-form": "semorg-meeting-event", "semorg-form-meeting-event-create-title": "Create Meeting-event", "semorg-form-meeting-event-edit-title": "Edit Meeting-event", "semorg-form-meeting-event-page-name": "Events", "semorg-form-meeting-event-template": "meeting", "semorg-form-meeting-event-rows": "", "semorg-list-meeting-event-headers": "",
Form
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info |create title={{int:semorg-form-meeting-event-create-title}} |edit title={{int:semorg-form-meeting-event-edit-title}}<span class="d-none">: <page name></span> |page name={{int:semorg-form-meeting-event-page-name}}/<unique number;start=1> }}} {{semorg-form-template|meeting-event}} {{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-event|}}
Category
{{semorg-category}}
Template
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-meeting-event-category}}]]{{#semorg-set:meeting-event }}{{#semorg-detail:meeting-event}}{{#semorg-table:meeting-event }}</includeonly>
Row Template
Template:Semorg-meeting-event-row
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr> <td>[[{{{target|}}}]]</td> {{semorg-showedit |target={{{target|}}} }} </tr></includeonly>
Overview Page Template
Template:Semorg-meeting-event-overview
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:meeting-event |heading={{int:semorg-meeting-event-page-name}} |formlink={{#semorg-formlink:meeting-event}} |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-meeting-event-overview}}
Property Registration
Add the following line to LocalSettings.php
:
$wgSemorgAdditionalProperties['meeting-event'] = [ "id" => "","fields" => [ ] ];