Group

From SemanticOrganization
Jump to: navigation, search


Messages

"semorg-group-template": "semorg-group",
"semorg-group-category": "semorg-group",
"semorg-group-form": "semorg-group",
"semorg-form-group-create-title": "Create Gremium",
"semorg-form-group-edit-title": "Edit Gremium", 
"semorg-form-group-page-name": "Groups",
"semorg-forminput-group-placeholder": "Name des Gremiums",
"semorg-form-group-template": "group",
"semorg-form-group-rows": "co-host, description, properties, name, host, permanent, active",
"semorg-list-group-headers": "group-co-host, group-description, group-properties, group-name, group-host, group-permanent, group-active",
"semorg-field-group-active-name": "aktiv", 
"semorg-field-group-active-parameters": "input type=checkbox", 
"semorg-field-group-active-suffix": "aktiv",
"semorg-field-group-co-host-name": "Co-Host", 
"semorg-field-group-co-host-parameters": "input type=combobox|values from property=semorg-person|mapping property=Semorg-person-name",
"semorg-field-group-description-name": "Beschreibung", 
"semorg-field-group-description-parameters": "input type=textarea|autogrow|rows=1|columns=80",
"semorg-field-group-host-name": "Host", 
"semorg-field-group-host-parameters": "input type=combobox|values from property=semorg-person|mapping property=Semorg-person-name",
"semorg-field-group-name-name": "Name", 
"semorg-field-group-name-parameters": "input type=text|size=60",
"semorg-field-group-permanent-name": "permanent", 
"semorg-field-group-permanent-parameters": "input type=checkbox", 
"semorg-field-group-permanent-suffix": " permanent",
"semorg-field-group-properties-name": "Eigenschaften", 
"semorg-field-group-properties-fields": "permanent,active",

Form

Form:Semorg-group

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

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

Category

Category:Semorg-group

{{semorg-category}}

Template

Template:Semorg-group

<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-group-category}}]]{{#semorg-set:group 
  |co-host={{{co-host|}}} 
  |description={{{description|}}} 
  |properties={{{properties|}}} 
  |name={{{name|}}} 
  |host={{{host|}}} 
  |permanent={{{permanent|}}} 
  |active={{{active|}}}
}}{{#semorg-detail:group}}{{#semorg-table:group 
  |co-host={{{co-host|}}} 
  |description={{{description|}}} 
  |properties={{{properties|}}} 
  |name={{{name|}}} 
  |host={{{host|}}} 
  |permanent={{{permanent|}}} 
  |active={{{active|}}}
}}</includeonly>

Row Template

Template:Semorg-group-row

<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
<td>[[{{{target|}}}]]</td> 
<td>{{{co-host|}}}</td> 
<td>{{{description|}}}</td> 
<td>{{{properties|}}}</td> 
<td>{{{name|}}}</td> 
<td>{{{host|}}}</td> 
<td>{{{permanent|}}}</td> 
<td>{{{active|}}}</td>
{{semorg-showedit
  |target={{{target|}}}
}}
</tr></includeonly>

Overview Page Template

Template:Semorg-group-overview

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

Property Registration

Add the following line to LocalSettings.php:

$wgSemorgAdditionalProperties['group'] = [ "id" => "G","fields" => ["co-host" => [ "id" => "CO","type" => "wpg" ],"description" => [ "id" => "DE","type" => "txt" ],"name" => [ "id" => "NA","type" => "txt" ],"host" => [ "id" => "HO","type" => "wpg" ],"permanent" => [ "id" => "PM","type" => "boo" ],"active" => [ "id" => "AC","type" => "boo" ], ] ];