Bestellnummer
Aus bedarfsverkehr.at
Messages[ ]
"semorg-form-bestellnummer-add-button-text": "Bestellnummer hinzufügen",
"semorg-form-bestellnummer-template": "bestellnummer",
"semorg-form-bestellnummer-rows": "telefonnummer, anmerkung",
"semorg-list-bestellnummer-headers": "bestellnummer-telefonnummer, bestellnummer-anmerkung",
"semorg-field-bestellnummer-anmerkung-name": "Anmerkung",
"semorg-field-bestellnummer-anmerkung-parameters": "rows=1|cols=40",
"semorg-field-bestellnummer-anmerkung-input-type": "textarea",
"semorg-field-bestellnummer-telefonnummer-name": "Telefonnummer",
"semorg-field-bestellnummer-telefonnummer-parameters": "",
Form[ ]
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info |create title={{int:semorg-form-bestellnummer-create-title}} |edit title={{int:semorg-form-bestellnummer-edit-title}}<span class="d-none">: <page name></span> |page name= }}} {{semorg-form-template|bestellnummer}} {{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|bestellnummer|}}
Category[ ]
{{semorg-category}}
Template[ ]
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-bestellnummer-category}}]]{{#semorg-set:bestellnummer |telefonnummer={{{telefonnummer|}}} |anmerkung={{{anmerkung|}}} }}{{#semorg-detail:bestellnummer}}{{#semorg-table:bestellnummer |telefonnummer={{{telefonnummer|}}} |anmerkung={{{anmerkung|}}} }}</includeonly>
Row Template[ ]
Template:Semorg-bestellnummer-row
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr> <td>[[{{{target|}}}]]</td> <td>{{{telefonnummer|}}}</td> <td>{{{anmerkung|}}}</td> {{semorg-showedit |target={{{target|}}} }} </tr></includeonly>
Overview Page Template[ ]
Template:Semorg-bestellnummer-overview
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:bestellnummer |heading={{int:semorg-bestellnummer-page-name}} |formlink={{#semorg-forminput:bestellnummer}} |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-bestellnummer-overview}}
Property Registration[ ]
Add the following line to LocalSettings.php
:
$wgSemorgAdditionalProperties['bestellnummer'] = [ "id" => "BN","fields" => ["telefonnummer" => [ "id" => "TE","type" => "tel" ],"anmerkung" => [ "id" => "AN","type" => "txt" ], ] ];