gplx/scripts/templates/RegDocument.wiki

89 lines
2.4 KiB
Plaintext

{{#set:
Area of validity={{{area_of_validity|}}}
|Scope={{{scope|}}}
|Document type={{{document_type|}}}
|Document name={{{name|}}}
|Version={{{version|}}}
|Source={{{source|}}}
|Language={{{language|}}}
|Status={{{status|}}}
|Restricted access={{{restricted_access|}}}
}}<includeonly>{| class="wikitable" style="float:right; clear:right; margin:0 0 1em 1em; width:320px; font-size:0.9em;"
! colspan="2" style="background:#f0f4f8; text-align:center;" | Document Information
|-
! Area of validity
| {{{area_of_validity|}}}
|-
! Scope(s)
| {{{scope|}}}
|-
! Document type
| {{{document_type|}}}
|-
! Document name
| {{{name|}}}
|-
! Version / Revision
| {{{version|}}}
|-
! Official source
| {{#if:{{{source|}}}|[{{{source}}} Official link]|—}}
|-
! Language(s)
| {{{language|}}}
|-
! Status
| {{{status|}}}
|-
! Restricted access
| {{{restricted_access|}}}
|}</includeonly><noinclude>
== Template:RegDocument ==
Use this template on any page that documents a regulatory document. Place it at the top of the page before any prose content.
This template also annotates each field as a [[Help:Semantic MediaWiki|Semantic MediaWiki]] property, enabling structured queries across all document pages.
=== Usage ===
<pre>
{{RegDocument
| area_of_validity =
| scope =
| document_type =
| name =
| version =
| source =
| language =
| status =
| restricted_access =
}}
</pre>
=== Fields ===
{| class="wikitable"
! Field !! Description !! Example values
|-
| <code>area_of_validity</code> || Region or country where the document applies || EU, USA, Global, DE
|-
| <code>scope</code> || Regulatory scope(s), comma-separated || MD, IVD — or NIS, GMP, PV, IMP, GEP, HM
|-
| <code>document_type</code> || Type of document || Regulation, Directive, Guideline, Scientific article, Treaty
|-
| <code>name</code> || Full official document name || Medical Device Regulation (EU) 2017/745
|-
| <code>version</code> || Version, revision or amendment || 2017/745, amended by 2023/607
|-
| <code>source</code> || URL to the official source || <nowiki>https://eur-lex.europa.eu/...</nowiki>
|-
| <code>language</code> || Available language(s) || EN, DE, FR
|-
| <code>status</code> || Validity status || Current, Draft, Final not promulgated, Superseded
|-
| <code>restricted_access</code> || Blocks copy/paste of content, referencing still allowed || Yes / No
|}
[[Category:Templates]]
</noinclude>