Transfer-list

From SemanticOrganization
Revision as of 17:14, 11 May 2020 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Messages

"semorg-transfer-list-template": "semorg-transfer-list",
"semorg-transfer-list-category": "semorg-transfer-list",
"semorg-transfer-list-form": "semorg-transfer-list",
"semorg-form-transfer-list-create-title": "Create Transfer-list",
"semorg-form-transfer-list-edit-title": "Edit Transfer-list", 
"semorg-form-transfer-list-page-name": "Umbuchungslisten",

"semorg-form-transfer-list-template": "transfer-list",
"semorg-form-transfer-list-rows": "transfer-date, date, note, transferred",
"semorg-list-transfer-list-headers": "transfer-list-transfer-date, transfer-list-date, transfer-list-note, transfer-list-transferred",
"semorg-field-transfer-list-date-name": "Datum", 
"semorg-field-transfer-list-date-parameters": "",
"semorg-field-transfer-list-note-name": "Note", 
"semorg-field-transfer-list-note-parameters": "",
"semorg-field-transfer-list-transfer-date-name": "Transferred at", 
"semorg-field-transfer-list-transfer-date-parameters": "",
"semorg-field-transfer-list-transferred-name": "Transferred", 
"semorg-field-transfer-list-transferred-parameters": "",,
"semorg-transfer-list-displaytitle": "Umbuchungsliste vom {{#timel:j. F Y|$1}}"

Form

Form:Semorg-transfer-list

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

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

Category

Category:Semorg-transfer-list

{{semorg-category}}

Template

Template:Semorg-transfer-list

<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-transfer-list-category}}]]{{#semorg-set:transfer-list 
  |transfer-date={{{transfer-date|}}} 
  |date={{{date|}}} 
  |note={{{note|}}} 
  |transferred={{{transferred|}}}
}}{{#semorg-detail:transfer-list}}{{#semorg-table:transfer-list 
  |transfer-date={{{transfer-date|}}} 
  |date={{{date|}}} 
  |note={{{note|}}} 
  |transferred={{{transferred|}}}
}}</includeonly>

Row Template

Template:Semorg-transfer-list-row

<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
<td>[[{{{target|}}}]]</td> 
<td>{{{transfer-date|}}}</td> 
<td>{{{date|}}}</td> 
<td>{{{note|}}}</td> 
<td>{{{transferred|}}}</td>
{{semorg-showedit
  |target={{{target|}}}
}}
</tr></includeonly>

Overview Page Template

Template:Semorg-transfer-list-overview

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

Property Registration

Add the following line to LocalSettings.php:

$wgSemorgAdditionalProperties['transfer-list'] = [ "id" => "TL","fields" => ["transfer-date" => [ "id" => "TD","type" => "dat" ],"date" => [ "id" => "DT","type" => "dat" ],"note" => [ "id" => "NO","type" => "txt" ],"transferred" => [ "id" => "TR","type" => "boo" ], ] ];