Personal tools

Template:DocumentBox: Difference between revisions

From GxPlex

Jump to: navigation, search
Sidebar infobox layout
Deploy ANG-2026-0011
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
{| class="wikitable"
{| class="wikitable"
! Parameter !! Description
! Parameter !! Description
|-
| <code>doc_page</code> || Only on Reference: pages (set via [[Template:ReferenceData]] and [[Template:DocumentData]]): adds a "Document page" row linking to the Document
|-
|-
| <code>reference</code> || Composite reference identifier (e.g. AUT  AMG – Arzneimittelgesetz  04-Mar-2023)
| <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>validity_area</code> || Area(s) of validity, as passed by [[Template:DocumentData]] (links to Area: pages)
|-
|-
| <code>scopes</code> || Scope code(s) (e.g. HM, G)
| <code>scopes</code> || Scope code(s), e.g. "G ; HM". Filled automatically by [[Template:DocumentData]] from the References
|-
|-
| <code>doc_name</code> || Full document name (regulation, law, guideline, …)
| <code>doc_name</code> || Full document name (regulation, law, guideline, …)
Line 53: Line 55:
}}
}}
</pre>
</pre>
</noinclude><includeonly><div class="gplx-infobox">
</noinclude><includeonly>{| class="wikitable gplx-infobox"
<div class="gplx-infobox-title">Document information</div>
! colspan="2" scope="col" class="gplx-infobox-header" | Document information
{| class="wikitable gplx-docinfo-table"
{{#if:{{{doc_page|}}}|
{{!}}-
! scope="row" {{!}} Document page
{{!}} [[{{{doc_page}}}|{{PAGENAME:{{{doc_page}}}}}]]
}}
|-
! scope="row" | Reference
! scope="row" | Reference
| {{{reference|}}}
| {{{reference|}}}
Line 94: Line 101:
! scope="row" | Contributors
! scope="row" | Contributors
| {{{contributors|}}}
| {{{contributors|}}}
|}
|}</includeonly>
</div></includeonly>

Latest revision as of 12:33, 19 November 2026

Display template for document metadata. Does not set any SMW properties — use directly on the Document page.

Parameters

Parameter Description
doc_page Only on Reference: pages (set via Template:ReferenceData and Template:DocumentData): adds a "Document page" row linking to the Document
reference Composite reference identifier (e.g. AUT AMG – Arzneimittelgesetz 04-Mar-2023)
validity_area Area(s) of validity, as passed by Template:DocumentData (links to Area: pages)
scopes Scope code(s), e.g. "G ; HM". Filled automatically by Template:DocumentData from the References
doc_name Full document name (regulation, law, guideline, …)
version Version or revision date
status Current, Draft, Superseded, …
doc_type Legal act, Regulation, Guideline, …
language ISO 639 language code(s) (e.g. EN, DE)
description Short description of the document
official_link URL to the official source (omit the surrounding brackets)
restricted Yes / No
submitted_by Name of the person who submitted this entry
contributors Additional contributors (optional)

Usage

{{DocumentBox
|reference=
|validity_area=
|scopes=
|doc_name=
|version=
|status=
|doc_type=
|language=
|description=
|official_link=
|restricted=No
|submitted_by=
|contributors=
}}