Template:doi: Difference between revisions
(Created page with "(doi {{{1}}})") |
No edit summary |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{2|}}}|{{#tag:ref|{{{2}}} <nowiki>[</nowiki>[https://doi.org/{{{1}}} DOI]<nowiki>]</nowiki>|name={{{1}}}}}|<sup><nowiki>[</nowiki>[https://doi.org/{{{1}}} {{{1}}}]<nowiki>]</nowiki></sup>}}</includeonly><noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"description": "DOI identifier.", | |||
"label": "doi", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"2": { | |||
"description": "Reference text.", | |||
"label": "reftext", | |||
"type": "string", | |||
"required": false | |||
} | |||
}, | |||
"description": "This template is used for a simple DOI reference." | |||
} | |||
</templatedata> | |||
</noinclude> |
Latest revision as of 00:14, 19 December 2023
This template is used for a simple DOI reference.
Parameter | Description | Type | Status | |
---|---|---|---|---|
doi | 1 | DOI identifier. | String | required |
reftext | 2 | Reference text. | String | optional |