Banner2.png

Template:DPAbox: Difference between revisions

From GDPRhub
(-})
mNo edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<onlyinclude><includeonly>
<includeonly>
<!-- Place DPAbox Articles in Category:DPA automatically but not this template. -->
[[Category:DPA]]
</includeonly>
 
{| class="wikitable" style="width: 25%; margin-left: 10px; float:right;"
{| class="wikitable" style="width: 25%; margin-left: 10px; float:right;"
! colspan="2" |{{{name}}}
! colspan="2" |{{{name}}}
Line 60: Line 64:
}}
}}
|-
|-
|Translated Decisions:||[[:Category:{{{abbreviation}}} ({{{geo}}})]]
|Translated Decisions:||[[:Category:{{{abbreviation}}} ({{#if:{{{subgeo|}}}|{{{subgeo}}}|{{{geo}}}}})]]
|-
|-
{{#if: {{{head count|}}}|
{{#if: {{{head count|}}}|
Line 77: Line 81:
}}
}}
|}
|}
</includeonly></onlyinclude>
<noinclude>
== Blank example ==
<templatedata>
{{DPAbox
{
|logo = {{{logo}}}
"params": {
|geo = {{{geo}}}
"name": {
|name = {{{name}}}
"label": "Name",
|abbreviation = {{{abbreviation}}}
"description": "The full name of the authority",
|head = {{{head}}}
"type": "string",
|deputy = {{{deputy}}}
"required": true
|address = {{{address}}}
},
|webpage = {{{webpage}}}
"logo": {
|email = {{{email}}}
"label": "Logo",
|phone = {{{phone}}}
"description": "The official logo of the authority",
|twitter = {{{twitter}}}
"type": "wiki-file-name"
|procedural law = {{{procedural law}}}
},
|decision db = {{{decision db}}}
"abbreviation": {
|head count = {{{head count}}}
"label": "Abbreviation",
|budget = {{{budget}}}
"description": "The customary abbreviation for the authority",
|wikidata = {{{wikidata}}}
"example": "DPC",
}}
"type": "string",
 
"required": true
<pre style="overflow:auto;">
},
{{DPAbox
"geo": {},
|logo           = <!-- OPTIONAL -->
"head": {
|geo            =
"label": "Head of the authority"
|name          =
},
|abbreviation   = <!-- OPTIONAL -->
"deputy": {},
|head           = <!-- OPTIONAL -->
"address": {
|deputy        = <!-- OPTIONAL -->
"label": "Address",
|address       = <!-- OPTIONAL -->
"description": "The postal address of the authority"
|webpage       = <!-- OPTIONAL -->
},
|email         = <!-- OPTIONAL -->
"webpage": {
|phone         = <!-- OPTIONAL -->
"label": "Webpage",
|twitter       = <!-- OPTIONAL; Only twitter-handle -->
"description": "The URL of the authority's page",
|procedural law = <!-- OPTIONAL -->
"type": "url",
|decision db   = <!-- OPTIONAL -->
"required": true
|head count     = <!-- OPTIONAL -->
},
|budget         = <!-- OPTIONAL -->
"email": {
|wikidata       = <!-- OPTIONAL -->
"label": "Email address",
}}
"description": "The official email contact"
</pre>
},
"phone": {
"label": "Phone number ",
"description": "The official phone contact, without spaces",
"example": "+353017650100"
},
"twitter": {
"deprecated": true
},
"procedural law": {},
"decision db": {},
"subgeo": {},
"head count": {},
"budget": {},
"wikidata": {}
},
"paramOrder": [
"name",
"logo",
"abbreviation",
"head",
"address",
"webpage",
"email",
"phone",
"deputy",
"geo",
"twitter",
"procedural law",
"decision db",
"subgeo",
"head count",
"budget",
"wikidata"
]
}
</templatedata>
</noinclude>

Latest revision as of 13:44, 8 January 2025


{{{name}}}
{{{logo}}}
Name: {{{name}}}
Jurisdiction: [[Data Protection in {{{geo}}}|{{{geo}}}]]

[[Category: {{{geo}}}]]

Translated Decisions: [[:Category:{{{abbreviation}}} ({{{geo}}})]]

No description.

Template parameters

ParameterDescriptionTypeStatus
Namename

The full name of the authority

Stringrequired
Logologo

The official logo of the authority

Fileoptional
Abbreviationabbreviation

The customary abbreviation for the authority

Example
DPC
Stringrequired
Head of the authorityhead

no description

Unknownoptional
Addressaddress

The postal address of the authority

Unknownoptional
Webpagewebpage

The URL of the authority's page

URLrequired
Email addressemail

The official email contact

Unknownoptional
Phone number phone

The official phone contact, without spaces

Example
+353017650100
Unknownoptional
deputydeputy

no description

Unknownoptional
geogeo

no description

Unknownoptional
twittertwitter

no description

Unknowndeprecated
procedural lawprocedural law

no description

Unknownoptional
decision dbdecision db

no description

Unknownoptional
subgeosubgeo

no description

Unknownoptional
head counthead count

no description

Unknownoptional
budgetbudget

no description

Unknownoptional
wikidatawikidata

no description

Unknownoptional