97 lines
2.2 KiB
Plaintext
97 lines
2.2 KiB
Plaintext
<noinclude>
|
||
Display template for document metadata. Does not set any SMW properties — use <code>{{#set:}}</code> directly on the Document page.
|
||
|
||
== Parameters ==
|
||
|
||
{| class="wikitable"
|
||
! Parameter !! Description
|
||
|-
|
||
| <code>reference</code> || Composite reference identifier (e.g. AUT AMG – Arzneimittelgesetz 04-Mar-2023)
|
||
|-
|
||
| <code>validity_area</code> || Country / region code (e.g. AUT, USA, EU)
|
||
|-
|
||
| <code>scopes</code> || Scope code(s) (e.g. HM, G)
|
||
|-
|
||
| <code>doc_name</code> || Full document name (regulation, law, guideline, …)
|
||
|-
|
||
| <code>version</code> || Version or revision date
|
||
|-
|
||
| <code>status</code> || Current, Draft, Superseded, …
|
||
|-
|
||
| <code>doc_type</code> || Legal act, Regulation, Guideline, …
|
||
|-
|
||
| <code>language</code> || ISO 639 language code(s) (e.g. EN, DE)
|
||
|-
|
||
| <code>description</code> || Short description of the document
|
||
|-
|
||
| <code>official_link</code> || URL to the official source (omit the surrounding brackets)
|
||
|-
|
||
| <code>restricted</code> || Yes / No
|
||
|-
|
||
| <code>submitted_by</code> || Name of the person who submitted this entry
|
||
|-
|
||
| <code>contributors</code> || Additional contributors (optional)
|
||
|}
|
||
|
||
== Usage ==
|
||
|
||
<pre>
|
||
{{DocumentBox
|
||
|reference=
|
||
|validity_area=
|
||
|scopes=
|
||
|doc_name=
|
||
|version=
|
||
|status=
|
||
|doc_type=
|
||
|language=
|
||
|description=
|
||
|official_link=
|
||
|restricted=No
|
||
|submitted_by=
|
||
|contributors=
|
||
}}
|
||
</pre>
|
||
</noinclude><includeonly>{| class="wikitable gplx-infobox"
|
||
! colspan="2" class="gplx-infobox-header" | Document information
|
||
|-
|
||
! scope="row" | Reference
|
||
| {{{reference|}}}
|
||
|-
|
||
! scope="row" | Validity area
|
||
| {{{validity_area|}}}
|
||
|-
|
||
! scope="row" | Scope(s)
|
||
| {{{scopes|}}}
|
||
|-
|
||
! scope="row" | Document name
|
||
| {{{doc_name|}}}
|
||
|-
|
||
! scope="row" | Version / Revision
|
||
| {{{version|}}}
|
||
|-
|
||
! scope="row" | Status
|
||
| {{{status|}}}
|
||
|-
|
||
! scope="row" | Document type
|
||
| {{{doc_type|}}}
|
||
|-
|
||
! scope="row" | Language(s)
|
||
| {{{language|}}}
|
||
|-
|
||
! scope="row" | Description
|
||
| {{{description|}}}
|
||
|-
|
||
! scope="row" | Official source
|
||
| {{#if:{{{official_link|}}}|[{{{official_link|}}} Official link]|—}}
|
||
|-
|
||
! scope="row" | Restricted access
|
||
| {{{restricted|No}}}
|
||
|-
|
||
! scope="row" | Submitted by
|
||
| {{{submitted_by|}}}
|
||
|-
|
||
! scope="row" | Contributors
|
||
| {{{contributors|}}}
|
||
|}</includeonly>
|