Difference between revisions of "Template:Hdl"
Jump to navigation
Jump to search
imported>Ahecht (implement url-access) |
imported>Headbomb (hdl-access) |
||
Line 1: | Line 1: | ||
{{#if:{{{1|{{{id|}}}}}}|<!-- | {{#if:{{{1|{{{id|}}}}}}|<!-- | ||
-->{{hide in print<!-- | -->{{hide in print<!-- | ||
− | -->|<templatestyles src="Module:Citation/CS1/styles.css" />[[Handle System|hdl]]:{{#switch:{{{ | + | -->|<templatestyles src="Module:Citation/CS1/styles.css" />[[Handle System|hdl]]:{{#switch:{{{hdl-access|}}}|free=<span class="cs1-lock-free" title="Freely accessible">|registration=<span class="cs1-lock-registration" title="Free registration required">|limited=<span class="cs1-lock-limited" title="Free access subject to limited trial, subscription normally required">|subscription=<span class="cs1-lock-subscription" title="Paid subscription required">|#default=<span>}}[//hdl.handle.net/{{urlencode:{{{1|{{{id|{{#property:P1184|[[Category:Hdl template with no id set]]}}}}}}}}}} {{#tag:nowiki|{{{1|{{{id|{{#property:P1184|}}}}}}}}}}]</span><!-- |
-->}}<!-- | -->}}<!-- | ||
-->{{only in print<!-- | -->{{only in print<!-- |
Revision as of 17:38, 3 October 2018
Template:Uses Wikidata Script error: No such module "Uses TemplateStyles". This template is intended to allow simple standardized links to Handle System identifiers (HDLs).
If you do wish to use this template, the basic usage is:
{{hdl|1808/3638}}
which produces:
The template supports all symbols found in HDLs.
If no ID is supplied, the template will fetch the ID from the page's item at Wikidata.
The template supports the |hdl-access=
parameter, as documented at Script error: No such module "Section link"..
See also
The above documentation is transcluded from Template:Hdl/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |