Foerderung: Unterschied zwischen den Versionen
Aus bedarfsverkehr.at
Zeile 1: | Zeile 1: | ||
− | {{semorg-generator | + | {{handbuch-bundle}}{{semorg-generator |
|template-id=FO | |template-id=FO | ||
|entity-name=Förderung | |entity-name=Förderung |
Version vom 6. Oktober 2022, 19:32 Uhr
Messages[ ]
"semorg-form-foerderung-add-button-text": "Förderung hinzufügen", "semorg-form-foerderung-template": "foerderung", "semorg-form-foerderung-rows": "typ, voraussetzungen, beschreibung, name, position, foerderhoehe, konkurrenzierungsregeln, bundesfoerderung, modell, bundesland, webseite", "semorg-list-foerderung-headers": "foerderung-typ, foerderung-voraussetzungen, foerderung-beschreibung, foerderung-name, foerderung-position, foerderung-foerderhoehe, foerderung-konkurrenzierungsregeln, foerderung-bundesfoerderung, foerderung-modell, foerderung-bundesland, foerderung-webseite", "semorg-field-foerderung-beschreibung-name": "Beschreibung", "semorg-field-foerderung-beschreibung-parameters": "rows=1", "semorg-field-foerderung-beschreibung-input-type": "textarea", "semorg-field-foerderung-bundesfoerderung-name": "", "semorg-field-foerderung-bundesfoerderung-parameters": "", "semorg-field-foerderung-bundesland-name": "Bundesland", "semorg-field-foerderung-bundesland-parameters": "", "semorg-field-foerderung-foerderhoehe-name": "Förderhöhe", "semorg-field-foerderung-foerderhoehe-parameters": "", "semorg-field-foerderung-foerderhoehe-size": "20", "semorg-field-foerderung-konkurrenzierungsregeln-name": "", "semorg-field-foerderung-konkurrenzierungsregeln-parameters": "", "semorg-field-foerderung-modell-name": "", "semorg-field-foerderung-modell-parameters": "", "semorg-field-foerderung-name-name": "Name", "semorg-field-foerderung-name-parameters": "", "semorg-field-foerderung-position-name": "", "semorg-field-foerderung-position-parameters": "", "semorg-field-foerderung-typ-name": "Typ", "semorg-field-foerderung-typ-parameters": "", "semorg-field-foerderung-voraussetzungen-name": "Voraussetzungen", "semorg-field-foerderung-voraussetzungen-parameters": "", "semorg-field-foerderung-webseite-name": "Webseite", "semorg-field-foerderung-webseite-parameters": "",
Form[ ]
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info |create title={{int:semorg-form-foerderung-create-title}} |edit title={{int:semorg-form-foerderung-edit-title}}<span class="d-none">: <page name></span> |page name= }}} {{semorg-form-template|foerderung}} {{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|foerderung|}}
Category[ ]
{{semorg-category}}
Template[ ]
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-foerderung-category}}]]{{#semorg-set:foerderung |typ={{{typ|}}} |voraussetzungen={{{voraussetzungen|}}} |beschreibung={{{beschreibung|}}} |name={{{name|}}} |position={{{position|}}} |foerderhoehe={{{foerderhoehe|}}} |konkurrenzierungsregeln={{{konkurrenzierungsregeln|}}} |bundesfoerderung={{{bundesfoerderung|}}} |modell={{{modell|}}} |bundesland={{{bundesland|}}} |webseite={{{webseite|}}} }}{{#semorg-detail:foerderung}}{{#semorg-table:foerderung |typ={{{typ|}}} |voraussetzungen={{{voraussetzungen|}}} |beschreibung={{{beschreibung|}}} |name={{{name|}}} |position={{{position|}}} |foerderhoehe={{{foerderhoehe|}}} |konkurrenzierungsregeln={{{konkurrenzierungsregeln|}}} |bundesfoerderung={{{bundesfoerderung|}}} |modell={{{modell|}}} |bundesland={{{bundesland|}}} |webseite={{{webseite|}}} }}</includeonly>
Row Template[ ]
Template:Semorg-foerderung-row
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr> <td>[[{{{target|}}}]]</td> <td>{{{typ|}}}</td> <td>{{{voraussetzungen|}}}</td> <td>{{{beschreibung|}}}</td> <td>{{{name|}}}</td> <td>{{{position|}}}</td> <td>{{{foerderhoehe|}}}</td> <td>{{{konkurrenzierungsregeln|}}}</td> <td>{{{bundesfoerderung|}}}</td> <td>{{{modell|}}}</td> <td>{{{bundesland|}}}</td> <td>{{{webseite|}}}</td> {{semorg-showedit |target={{{target|}}} }} </tr></includeonly>
Overview Page Template[ ]
Template:Semorg-foerderung-overview
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:foerderung |heading={{int:semorg-foerderung-page-name}} |formlink={{#semorg-forminput:foerderung}} |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-foerderung-overview}}
Property Registration[ ]
Add the following line to LocalSettings.php
:
$wgSemorgAdditionalProperties['foerderung'] = [ "id" => "FO","fields" => ["typ" => [ "id" => "TY","type" => "txt" ],"voraussetzungen" => [ "id" => "VO","type" => "txt" ],"beschreibung" => [ "id" => "BE","type" => "txt" ],"name" => [ "id" => "NA","type" => "txt" ],"position" => [ "id" => "PO","type" => "num" ],"foerderhoehe" => [ "id" => "FH","type" => "txt" ],"konkurrenzierungsregeln" => [ "id" => "KO","type" => "txt" ],"bundesfoerderung" => [ "id" => "BF","type" => "boo" ],"modell" => [ "id" => "MO","type" => "wpg" ],"bundesland" => [ "id" => "BU","type" => "wpg" ],"webseite" => [ "id" => "WE","type" => "uri" ], ] ];