Group: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
 
Line 1: Line 1:
{{Semorg-generator
{{semorg-generator
|template-id=G
|template-id=G
|form-page-name=Groups
|form-page-name=Groups
Line 46: Line 46:
|name=Eigenschaften
|name=Eigenschaften
|fields=permanent,active
|fields=permanent,active
}}{{semorg-generator-field
|id=goals
|property-id=GO
|name=Goals/Offers
|type=txt
|input-type=textarea
|parameters=rows=2
}}{{semorg-generator-field
|id=domain
|property-id=DO
|name=Domain
|type=txt
|input-type=textarea
|parameters=rows=2
}}
}}
|form-titles=Gremium
|form-titles=Gremium
}}
}}

Latest revision as of 14:26, 10 October 2024


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": "domain, co-host, description, properties, goals, name, host, permanent, active",
"semorg-list-group-headers": "group-domain, group-co-host, group-description, group-properties, group-goals, 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-domain-name": "Domain", 
"semorg-field-group-domain-parameters": "rows=2", 
"semorg-field-group-domain-input-type": "textarea",
"semorg-field-group-goals-name": "Goals/Offers", 
"semorg-field-group-goals-parameters": "rows=2", 
"semorg-field-group-goals-input-type": "textarea",
"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 
  |domain={{{domain|}}} 
  |co-host={{{co-host|}}} 
  |description={{{description|}}} 
  |properties={{{properties|}}} 
  |goals={{{goals|}}} 
  |name={{{name|}}} 
  |host={{{host|}}} 
  |permanent={{{permanent|}}} 
  |active={{{active|}}}
}}{{#semorg-detail:group}}{{#semorg-table:group 
  |domain={{{domain|}}} 
  |co-host={{{co-host|}}} 
  |description={{{description|}}} 
  |properties={{{properties|}}} 
  |goals={{{goals|}}} 
  |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>{{{domain|}}}</td> 
<td>{{{co-host|}}}</td> 
<td>{{{description|}}}</td> 
<td>{{{properties|}}}</td> 
<td>{{{goals|}}}</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" => ["domain" => [ "id" => "DO","type" => "txt" ],"co-host" => [ "id" => "CO","type" => "wpg" ],"description" => [ "id" => "DE","type" => "txt" ],"goals" => [ "id" => "GO","type" => "txt" ],"name" => [ "id" => "NA","type" => "txt" ],"host" => [ "id" => "HO","type" => "wpg" ],"permanent" => [ "id" => "PM","type" => "boo" ],"active" => [ "id" => "AC","type" => "boo" ], ] ];