Gdpr-affected: Difference between revisions
From SemanticOrganization
(Created page with "{{Generator |template-id=GA |template-fields={{Generator-field |field-id=name |field-property-id=NA |field-type=txt }}{{Generator-field |field-id=processing |field-property-id...") |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Semorg-generator | ||
|template-id=GA | |template-id=GA | ||
|template-fields={{ | |form-page-name=Betroffenenkategorie | ||
| | |form-unique-number=Yes | ||
| | |template-fields={{semorg-generator-field | ||
| | |id=name | ||
}}{{ | |property-id=NA | ||
| | |type=txt | ||
| | }}{{semorg-generator-field | ||
| | |id=processing | ||
|property-id=PR | |||
|type=wpg | |||
}} | }} | ||
}} | }} |
Latest revision as of 09:30, 11 December 2018
Messages
"semorg-gdpr-affected-template": "semorg-gdpr-affected", "semorg-gdpr-affected-category": "semorg-gdpr-affected", "semorg-gdpr-affected-form": "semorg-gdpr-affected", "semorg-form-gdpr-affected-create-title": "Create Gdpr-affected", "semorg-form-gdpr-affected-edit-title": "Edit Gdpr-affected", "semorg-form-gdpr-affected-page-name": "Betroffenenkategorie", "semorg-form-gdpr-affected-template": "gdpr-affected", "semorg-form-gdpr-affected-rows": "name, processing", "semorg-list-gdpr-affected-headers": "gdpr-affected-name, gdpr-affected-processing", "semorg-field-gdpr-affected-name-name": "", "semorg-field-gdpr-affected-name-parameters": "", "semorg-field-gdpr-affected-processing-name": "", "semorg-field-gdpr-affected-processing-parameters": "",
Form
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info |create title={{int:semorg-form-gdpr-affected-create-title}} |edit title={{int:semorg-form-gdpr-affected-edit-title}}<span class="d-none">: <page name></span> |page name={{int:semorg-form-gdpr-affected-page-name}}/<unique number;start=1> }}} {{semorg-form-template|gdpr-affected}} {{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|gdpr-affected|}}
Category
{{semorg-category}}
Template
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-gdpr-affected-category}}]]{{#semorg-set:gdpr-affected |name={{{name|}}} |processing={{{processing|}}} }}{{#semorg-detail:gdpr-affected}}{{#semorg-table:gdpr-affected |name={{{name|}}} |processing={{{processing|}}} }}</includeonly>
Row Template
Template:Semorg-gdpr-affected-row
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr> <td>[[{{{target|}}}]]</td> <td>{{{name|}}}</td> <td>{{{processing|}}}</td> {{semorg-showedit |target={{{target|}}} }} </tr></includeonly>
Overview Page Template
Template:Semorg-gdpr-affected-overview
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:gdpr-affected |heading={{int:semorg-gdpr-affected-page-name}} |formlink={{#semorg-formlink:gdpr-affected}} |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-gdpr-affected-overview}}
Property Registration
Add the following line to LocalSettings.php
:
$wgSemorgAdditionalProperties['gdpr-affected'] = [ "id" => "GA","fields" => ["name" => [ "id" => "NA","type" => "txt" ],"processing" => [ "id" => "PR","type" => "wpg" ], ] ];