Template:DocumentBox: Difference between revisions
From GxPlex
Gxplex admin (talk | contribs) Infobox: table-direct float |
Gxplex admin (talk | contribs) Deploy ANG-2026-0011 |
||
| (One intermediate revision 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> || | | <code>validity_area</code> || Area(s) of validity, as passed by [[Template:DocumentData]] (links to Area: pages) | ||
|- | |- | ||
| <code>scopes</code> || Scope code(s) | | <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 54: | Line 56: | ||
</pre> | </pre> | ||
</noinclude><includeonly>{| class="wikitable gplx-infobox" | </noinclude><includeonly>{| class="wikitable gplx-infobox" | ||
| | ! colspan="2" scope="col" class="gplx-infobox-header" | Document information | ||
{{#if:{{{doc_page|}}}| | |||
{{!}}- | |||
! scope="row" {{!}} Document page | |||
{{!}} [[{{{doc_page}}}|{{PAGENAME:{{{doc_page}}}}}]] | |||
}} | |||
|- | |||
! scope="row" | Reference | ! scope="row" | Reference | ||
| {{{reference|}}} | | {{{reference|}}} | ||
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=
}}