Gdpr-category: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
m (Text replacement - "|field-id=" to "|id=")
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Semorg-generator
{{Semorg-generator
|template-id=GC
|template-id=GC
|template-fields={{Semorg-generator-field
|form-page-name=Datenkategorie
|form-unique-number=Yes
|template-fields={{semorg-generator-field
|id=name
|id=name
|field-property-id=NA
|property-id=NA
|field-type=txt
|type=txt
}}{{Semorg-generator-field
}}{{semorg-generator-field
|id=affected
|id=affected
|field-property-id=AF
|property-id=AF
|field-type=wpg
|type=wpg
}}{{Semorg-generator-field
}}{{semorg-generator-field
|id=sensitive
|id=sensitive
|field-property-id=SE
|property-id=SE
|field-type=boo
|type=boo
}}{{Semorg-generator-field
}}{{semorg-generator-field
|id=prosecution
|id=prosecution
|field-property-id=PR
|property-id=PR
|field-type=boo
|type=boo
}}{{Semorg-generator-field
}}{{semorg-generator-field
|id=erase-time
|id=erase-time
|field-property-id=ET
|property-id=ET
|field-type=txt
|type=txt
}}
}}
}}
}}

Latest revision as of 13:46, 11 December 2018


Messages

"semorg-gdpr-category-template": "semorg-gdpr-category",
"semorg-gdpr-category-category": "semorg-gdpr-category",
"semorg-gdpr-category-form": "semorg-gdpr-category",
"semorg-form-gdpr-category-create-title": "Create Gdpr-category",
"semorg-form-gdpr-category-edit-title": "Edit Gdpr-category", 
"semorg-form-gdpr-category-page-name": "Datenkategorie",

"semorg-form-gdpr-category-template": "gdpr-category",
"semorg-form-gdpr-category-rows": "affected, prosecution, name, erase-time, sensitive",
"semorg-list-gdpr-category-headers": "gdpr-category-affected, gdpr-category-prosecution, gdpr-category-name, gdpr-category-erase-time, gdpr-category-sensitive",
"semorg-field-gdpr-category-affected-name": "", 
"semorg-field-gdpr-category-affected-parameters": "",
"semorg-field-gdpr-category-erase-time-name": "", 
"semorg-field-gdpr-category-erase-time-parameters": "",
"semorg-field-gdpr-category-name-name": "", 
"semorg-field-gdpr-category-name-parameters": "",
"semorg-field-gdpr-category-prosecution-name": "", 
"semorg-field-gdpr-category-prosecution-parameters": "",
"semorg-field-gdpr-category-sensitive-name": "", 
"semorg-field-gdpr-category-sensitive-parameters": "",

Form

Form:Semorg-gdpr-category

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

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

Category

Category:Semorg-gdpr-category

{{semorg-category}}

Template

Template:Semorg-gdpr-category

<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-gdpr-category-category}}]]{{#semorg-set:gdpr-category 
  |affected={{{affected|}}} 
  |prosecution={{{prosecution|}}} 
  |name={{{name|}}} 
  |erase-time={{{erase-time|}}} 
  |sensitive={{{sensitive|}}}
}}{{#semorg-detail:gdpr-category}}{{#semorg-table:gdpr-category 
  |affected={{{affected|}}} 
  |prosecution={{{prosecution|}}} 
  |name={{{name|}}} 
  |erase-time={{{erase-time|}}} 
  |sensitive={{{sensitive|}}}
}}</includeonly>

Row Template

Template:Semorg-gdpr-category-row

<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
<td>[[{{{target|}}}]]</td> 
<td>{{{affected|}}}</td> 
<td>{{{prosecution|}}}</td> 
<td>{{{name|}}}</td> 
<td>{{{erase-time|}}}</td> 
<td>{{{sensitive|}}}</td>
{{semorg-showedit
  |target={{{target|}}}
}}
</tr></includeonly>

Overview Page Template

Template:Semorg-gdpr-category-overview

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

Property Registration

Add the following line to LocalSettings.php:

$wgSemorgAdditionalProperties['gdpr-category'] = [ "id" => "GC","fields" => ["affected" => [ "id" => "AF","type" => "wpg" ],"prosecution" => [ "id" => "PR","type" => "boo" ],"name" => [ "id" => "NA","type" => "txt" ],"erase-time" => [ "id" => "ET","type" => "txt" ],"sensitive" => [ "id" => "SE","type" => "boo" ], ] ];