Gdpr-recipient: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
m (Text replacement - "{{Generator" to "{{Semorg-generator")
m (Text replacement - "|field-" to "|")
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
|template-id=GR
|template-id=GR
|template-fields={{Semorg-generator-field
|template-fields={{Semorg-generator-field
|field-id=name
|id=name
|field-property-id=NA
|property-id=NA
|field-type=txt
|type=txt
}}{{Semorg-generator-field
}}{{Semorg-generator-field
|field-id=category
|id=category
|field-property-id=CA
|property-id=CA
|field-type=wpg
|type=wpg
}}{{Semorg-generator-field
}}{{Semorg-generator-field
|field-id=third-country
|id=third-country
|field-property-id=TC
|property-id=TC
|field-type=txt
|type=txt
}}{{Semorg-generator-field
}}{{Semorg-generator-field
|field-id=international-organization
|id=international-organization
|field-property-id=IO
|property-id=IO
|field-type=txt
|type=txt
}}
}}
}}
}}

Latest revision as of 14:24, 22 November 2018


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" ], ] ];