Group-member

From SemanticOrganization
Jump to: navigation, search


Messages

"semorg-group-member-template": "semorg-group-member",
"semorg-form-group-member-add-button-text": "Mitglied hinzufügen",

"semorg-form-group-member-template": "group-member",
"semorg-form-group-member-rows": "group, member, open-end, end-date, start-date",
"semorg-list-group-member-headers": "group-member-group, group-member-member, group-member-open-end, group-member-end-date, group-member-start-date",
"semorg-field-group-member-end-date-name": "Mitglied bis", 
"semorg-field-group-member-end-date-parameters": "input type=datepicker|size=10", 
"semorg-field-group-member-end-date-prefix": "bis",
"semorg-field-group-member-group-name": "Gruppe", 
"semorg-field-group-member-group-parameters": "",
"semorg-field-group-member-member-name": "Mitglied", 
"semorg-field-group-member-member-parameters": "",
"semorg-field-group-member-open-end-name": "", 
"semorg-field-group-member-open-end-parameters": "",
"semorg-field-group-member-start-date-name": "Mitglied seit", 
"semorg-field-group-member-start-date-parameters": "input type=datepicker|size=10", 
"semorg-field-group-member-start-date-prefix": "von",

Form

Form:Semorg-group-member

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

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

Category

Category:Semorg-group-member

{{semorg-category}}

Template

Template:Semorg-group-member

<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-group-member-category}}]]{{#semorg-set:group-member 
  |group={{{group|}}} 
  |member={{{member|}}} 
  |open-end={{{open-end|}}} 
  |end-date={{{end-date|}}} 
  |start-date={{{start-date|}}}
}}{{#semorg-detail:group-member}}{{#semorg-table:group-member 
  |group={{{group|}}} 
  |member={{{member|}}} 
  |open-end={{{open-end|}}} 
  |end-date={{{end-date|}}} 
  |start-date={{{start-date|}}}
}}</includeonly>

Row Template

Template:Semorg-group-member-row

<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
<td>[[{{{target|}}}]]</td> 
<td>{{{group|}}}</td> 
<td>{{{member|}}}</td> 
<td>{{{open-end|}}}</td> 
<td>{{{end-date|}}}</td> 
<td>{{{start-date|}}}</td>
{{semorg-showedit
  |target={{{target|}}}
}}
</tr></includeonly>

Overview Page Template

Template:Semorg-group-member-overview

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

Property Registration

Add the following line to LocalSettings.php:

$wgSemorgAdditionalProperties['group-member'] = [ "id" => "GM","fields" => ["group" => [ "id" => "GR","type" => "wpg" ],"member" => [ "id" => "ME","type" => "wpg" ],"open-end" => [ "id" => "OE","type" => "boo" ],"end-date" => [ "id" => "ED","type" => "dat" ],"start-date" => [ "id" => "SD","type" => "dat" ], ] ];