Cookies helfen uns bei der Bereitstellung von mobil-am-land.at. Durch die Nutzung von mobil-am-land.at erklären Sie sich damit einverstanden, dass wir Cookies speichern. Weitere Informationen

Ansprechperson: Unterschied zwischen den Versionen

Aus mobil-am-land.at
Wechseln zu: Navigation, Suche
Zeile 7: Zeile 7:
 
|property-id=NA
 
|property-id=NA
 
|name=Name
 
|name=Name
 +
|type=txt
 
|fields=vorname,nachname
 
|fields=vorname,nachname
 
}}{{semorg-generator-field
 
}}{{semorg-generator-field

Version vom 27. Juni 2022, 10:54 Uhr


Messages[ ]

"semorg-form-ansprechperson-add-button-text": "Ansprechperson hinzufügen",

"semorg-form-ansprechperson-template": "ansprechperson",
"semorg-form-ansprechperson-rows": "prefix, vorname, organisation, name, email, telefon, position, suffix, webseite, zustaendigkeit, nachname, ansprechperson-fuer",
"semorg-list-ansprechperson-headers": "ansprechperson-prefix, ansprechperson-vorname, ansprechperson-organisation, ansprechperson-name, ansprechperson-email, ansprechperson-telefon, ansprechperson-position, ansprechperson-suffix, ansprechperson-webseite, ansprechperson-zustaendigkeit, ansprechperson-nachname, ansprechperson-ansprechperson-fuer",
"semorg-field-ansprechperson-ansprechperson-fuer-name": "Ansprechperson für", 
"semorg-field-ansprechperson-ansprechperson-fuer-parameters": "",
"semorg-field-ansprechperson-email-name": "E-Mail-Adresse", 
"semorg-field-ansprechperson-email-parameters": "",
"semorg-field-ansprechperson-nachname-name": "Nachname", 
"semorg-field-ansprechperson-nachname-parameters": "", 
"semorg-field-ansprechperson-nachname-size": "20", 
"semorg-field-ansprechperson-nachname-placeholder": "Nachname",
"semorg-field-ansprechperson-name-name": "Name", 
"semorg-field-ansprechperson-name-fields": "prefix,vorname,nachname,suffix",
"semorg-field-ansprechperson-organisation-name": "Organisation", 
"semorg-field-ansprechperson-organisation-parameters": "",
"semorg-field-ansprechperson-position-name": "Position", 
"semorg-field-ansprechperson-position-parameters": "",
"semorg-field-ansprechperson-prefix-name": "", 
"semorg-field-ansprechperson-prefix-parameters": "", 
"semorg-field-ansprechperson-prefix-size": "5",
"semorg-field-ansprechperson-suffix-name": "", 
"semorg-field-ansprechperson-suffix-parameters": "", 
"semorg-field-ansprechperson-suffix-size": "5",
"semorg-field-ansprechperson-telefon-name": "Telefonnummer", 
"semorg-field-ansprechperson-telefon-parameters": "",
"semorg-field-ansprechperson-vorname-name": "Vorname", 
"semorg-field-ansprechperson-vorname-parameters": "", 
"semorg-field-ansprechperson-vorname-size": "20", 
"semorg-field-ansprechperson-vorname-placeholder": "Vorname",
"semorg-field-ansprechperson-webseite-name": "Webseite", 
"semorg-field-ansprechperson-webseite-parameters": "",
"semorg-field-ansprechperson-zustaendigkeit-name": "Zuständigkeit", 
"semorg-field-ansprechperson-zustaendigkeit-parameters": "rows=1", 
"semorg-field-ansprechperson-zustaendigkeit-input-type": "textarea",

Form[ ]

Form:Semorg-ansprechperson

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

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

Category[ ]

Category:Semorg-ansprechperson

{{semorg-category}}

Template[ ]

Template:Semorg-ansprechperson

<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-ansprechperson-category}}]]{{#semorg-set:ansprechperson 
  |prefix={{{prefix|}}} 
  |vorname={{{vorname|}}} 
  |organisation={{{organisation|}}} 
  |name={{{name|}}} 
  |email={{{email|}}} 
  |telefon={{{telefon|}}} 
  |position={{{position|}}} 
  |suffix={{{suffix|}}} 
  |webseite={{{webseite|}}} 
  |zustaendigkeit={{{zustaendigkeit|}}} 
  |nachname={{{nachname|}}} 
  |ansprechperson-fuer={{{ansprechperson-fuer|}}}
}}{{#semorg-detail:ansprechperson}}{{#semorg-table:ansprechperson 
  |prefix={{{prefix|}}} 
  |vorname={{{vorname|}}} 
  |organisation={{{organisation|}}} 
  |name={{{name|}}} 
  |email={{{email|}}} 
  |telefon={{{telefon|}}} 
  |position={{{position|}}} 
  |suffix={{{suffix|}}} 
  |webseite={{{webseite|}}} 
  |zustaendigkeit={{{zustaendigkeit|}}} 
  |nachname={{{nachname|}}} 
  |ansprechperson-fuer={{{ansprechperson-fuer|}}}
}}</includeonly>

Row Template[ ]

Template:Semorg-ansprechperson-row

<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
<td>[[{{{target|}}}]]</td> 
<td>{{{prefix|}}}</td> 
<td>{{{vorname|}}}</td> 
<td>{{{organisation|}}}</td> 
<td>{{{name|}}}</td> 
<td>{{{email|}}}</td> 
<td>{{{telefon|}}}</td> 
<td>{{{position|}}}</td> 
<td>{{{suffix|}}}</td> 
<td>{{{webseite|}}}</td> 
<td>{{{zustaendigkeit|}}}</td> 
<td>{{{nachname|}}}</td> 
<td>{{{ansprechperson-fuer|}}}</td>
{{semorg-showedit
  |target={{{target|}}}
}}
</tr></includeonly>

Overview Page Template[ ]

Template:Semorg-ansprechperson-overview

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

Property Registration[ ]

Add the following line to LocalSettings.php:

$wgSemorgAdditionalProperties['ansprechperson'] = [ "id" => "AP","fields" => ["prefix" => [ "id" => "PR","type" => "txt" ],"vorname" => [ "id" => "VN","type" => "txt" ],"organisation" => [ "id" => "OR","type" => "txt" ],"name" => [ "id" => "NA","type" => "txt" ],"email" => [ "id" => "EM","type" => "ema" ],"telefon" => [ "id" => "TE","type" => "tel" ],"position" => [ "id" => "PO","type" => "num" ],"suffix" => [ "id" => "SU","type" => "txt" ],"webseite" => [ "id" => "WE","type" => "uri" ],"zustaendigkeit" => [ "id" => "ZU","type" => "txt" ],"nachname" => [ "id" => "NN","type" => "txt" ],"ansprechperson-fuer" => [ "id" => "AF","type" => "wpg" ], ] ];