Gdpr-recipient

From SemanticOrganization
Jump to: navigation, search


Messages

"semorg-gdpr-recipient-template": "semorg-gdpr-recipient",
"semorg-gdpr-recipient-category": "semorg-gdpr-recipient",
"semorg-gdpr-recipient-form": "semorg-gdpr-recipient",
"semorg-form-gdpr-recipient-create-title": "Create Gdpr-recipient",
"semorg-form-gdpr-recipient-edit-title": "Edit Gdpr-recipient",

"semorg-form-gdpr-recipient-template": "gdpr-recipient",
"semorg-form-gdpr-recipient-rows": "name, international-organization, category, third-country",
"semorg-list-gdpr-recipient-headers": "gdpr-recipient-name, gdpr-recipient-international-organization, gdpr-recipient-category, gdpr-recipient-third-country",
"semorg-field-gdpr-recipient-category-name": "", 
"semorg-field-gdpr-recipient-category-parameters": "",
"semorg-field-gdpr-recipient-international-organization-name": "", 
"semorg-field-gdpr-recipient-international-organization-parameters": "",
"semorg-field-gdpr-recipient-name-name": "", 
"semorg-field-gdpr-recipient-name-parameters": "",
"semorg-field-gdpr-recipient-third-country-name": "", 
"semorg-field-gdpr-recipient-third-country-parameters": "",

Form

Form:Semorg-gdpr-recipient

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

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

Category

Category:Semorg-gdpr-recipient

{{semorg-category}}

Template

Template:Semorg-gdpr-recipient

<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-gdpr-recipient-category}}]]{{#semorg-set:gdpr-recipient 
  |name={{{name|}}} 
  |international-organization={{{international-organization|}}} 
  |category={{{category|}}} 
  |third-country={{{third-country|}}}
}}{{#semorg-detail:gdpr-recipient}}{{#semorg-table:gdpr-recipient 
  |name={{{name|}}} 
  |international-organization={{{international-organization|}}} 
  |category={{{category|}}} 
  |third-country={{{third-country|}}}
}}</includeonly>

Row Template

Template:Semorg-gdpr-recipient-row

<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
<td>[[{{{target|}}}]]</td> 
<td>{{{name|}}}</td> 
<td>{{{international-organization|}}}</td> 
<td>{{{category|}}}</td> 
<td>{{{third-country|}}}</td>
{{semorg-showedit
  |target={{{target|}}}
}}
</tr></includeonly>

Overview Page Template

Template:Semorg-gdpr-recipient-overview

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

Property Registration

Add the following line to LocalSettings.php:

$wgSemorgAdditionalProperties['gdpr-recipient'] = [ "id" => "GR","fields" => ["name" => [ "id" => "NA","type" => "txt" ],"international-organization" => [ "id" => "IO","type" => "txt" ],"category" => [ "id" => "CA","type" => "wpg" ],"third-country" => [ "id" => "TC","type" => "txt" ], ] ];