Template:URN/sandbox
Appearance
This is the template sandbox page for Template:URN (diff). See also the companion subpage for test cases. |
This template uses TemplateStyles: |
Usage
[edit]- Function: This template produces a Uniform Resource Name for use as an identifier, with an external link when known. Previously (in German Wikipedia) it could only handle national library names nbn.
- Use:
{{URN|Namespace identifier|Descriptor}}
The template supports the |urn-access=
parameter, which accepts the same values documented at Help:Citation Style 1 § Registration or subscription required.
Examples
[edit]- Example:
{{URN|nbn|de:1111-200606299}}
→ urn:nbn:de:1111-200606299
TemplateData
[edit]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:URN in articles based on its TemplateData.
TemplateData for URN
This template produces a Uniform Resource Name for use as an identifier, with an external link when known.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Namespace identifier | 1 | no description
| Line | required |
Descriptor | 2 | Everything after "urn:", the namespace identifier, and another colon.
| Line | required |
URN access level | urn-access | Classification of the access restrictions on the URN
| Line | optional |
See also
[edit]- National Bibliography Number (NBN)
- {{JPNO}}