Template:DPAbox: Difference between revisions

From GDPRhub
(+Category)
(Allow setting subgeo to ensure correct links to translated decisions category (for German/Spanish DPAs))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><includeonly>
<includeonly>
<!-- Place DPAbox Articles in Category:DPA automatically but not this template. -->
<!-- Place DPAbox Articles in Category:DPA automatically but not this template. -->
{{#ifeq: {{PAGENAME}} | DPAbox || [[Category:DPA]]}}
[[Category:DPA]]
</includeonly>


{| class="wikitable" style="width: 25%; margin-left: 10px; float:right;"
{| class="wikitable" style="width: 25%; margin-left: 10px; float:right;"
Line 63: Line 64:
}}
}}
|-
|-
|Translated Decisions:||[[:Category:{{{abbreviation}}} ({{{geo}}})]]
|Translated Decisions:||[[:Category:{{{abbreviation}}} ({{#if:{{{subgeo|}}}|{{{subgeo}}}|{{{geo}}}}})]]
|-
|-
{{#if: {{{head count|}}}|
{{#if: {{{head count|}}}|
Line 80: Line 81:
}}
}}
|}
|}
</includeonly>
</onlyinclude>
== Blank example ==
{{DPAbox
|logo = {{{logo}}}
|geo = {{{geo}}}
|name = {{{name}}}
|abbreviation = {{{abbreviation}}}
|head = {{{head}}}
|deputy = {{{deputy}}}
|address = {{{address}}}
|webpage = {{{webpage}}}
|email = {{{email}}}
|phone = {{{phone}}}
|twitter = {{{twitter}}}
|procedural law = {{{procedural law}}}
|decision db = {{{decision db}}}
|head count = {{{head count}}}
|budget = {{{budget}}}
|wikidata = {{{wikidata}}}
}}
<pre style="overflow:auto;">
{{DPAbox
|logo          = <!-- OPTIONAL -->
|geo            =
|name          =
|abbreviation  = <!-- OPTIONAL -->
|head          = <!-- OPTIONAL -->
|deputy        = <!-- OPTIONAL -->
|address        = <!-- OPTIONAL -->
|webpage        = <!-- OPTIONAL -->
|email          = <!-- OPTIONAL -->
|phone          = <!-- OPTIONAL -->
|twitter        = <!-- OPTIONAL; Only twitter-handle -->
|procedural law = <!-- OPTIONAL -->
|decision db    = <!-- OPTIONAL -->
|head count    = <!-- OPTIONAL -->
|budget        = <!-- OPTIONAL -->
|wikidata      = <!-- OPTIONAL -->
}}
</pre>

Latest revision as of 15:54, 21 September 2021


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

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

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