Difference between revisions of "Template:Hdl"
Jump to navigation
Jump to search
imported>Matthiaspaul (Resolver supports both http and https, so switch to relative protocol) |
imported>Pigsonthewing (use wikidata) |
||
Line 1: | Line 1: | ||
{{#if:{{{1|{{{id|}}}}}}|<!-- | {{#if:{{{1|{{{id|}}}}}}|<!-- | ||
-->{{hide in print<!-- | -->{{hide in print<!-- | ||
− | -->|[[Handle System|hdl]]:[//hdl.handle.net/{{urlencode:{{{1|{{{id}}}}}}}} {{#tag:nowiki|{{{1|{{{id}}}}}}}}]<!-- | + | -->|[[Handle System|hdl]]:[//hdl.handle.net/{{urlencode:{{{1|{{{id|{{#property:P1184|[[Category:Hdl template with no id set]]}}}}}}}} {{#tag:nowiki|{{{1|{{{id|{{#property:P1184|}}}}}}}}}}]<!-- |
-->}}<!-- | -->}}<!-- | ||
-->{{only in print<!-- | -->{{only in print<!-- | ||
− | -->|hdl:{{{1|{{{id}}}}}}<!-- | + | -->|hdl:{{{1|{{{id|{{#property:P1184|}}}}}}}}<!-- |
-->}}<!-- | -->}}<!-- | ||
-->}}<noinclude> | -->}}<noinclude> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> |
Revision as of 18:35, 18 August 2016
{{#if:|hdl:[//hdl.handle.net/%7B%7B%23property%3AP1184%7C%5B%5BCategory%3AHdl+template+with+no+id+set%5D%5D%7D%7D+%5DTemplate:Only in print
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:
- {{#if:1808/3638|hdl:[//hdl.handle.net/1808%2F3638+%5DTemplate:Only in print
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. |