Template:doi: Difference between revisions

    From Longevity Wiki
    No edit summary
    No edit summary
    Line 1: Line 1:
    <sup><nowiki>[</nowiki>[https://doi.org/{{{1}}} {{{1}}}]<nowiki>]</nowiki></sup>
    <includeonly>{{#if:{{{2}}}|<ref>{{{2}}} <nowiki>[</nowiki>[https://doi.org/{{{1}}} DOI]<nowiki>]</nowiki></ref>|<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>

    Revision as of 23:44, 18 December 2023

    This template is used for a simple DOI reference.

    Template parameters

    ParameterDescriptionTypeStatus
    doi1

    DOI identifier.

    Stringrequired
    reftext2

    Reference text.

    Stringoptional