Jump to content

Template:DOI

From TOE-E Archive
Revision as of 20:39, 22 August 2025 by Admin (talk | contribs) (Created page with "<noinclude> = DOI Template = Displays internal and/or external DOIs for a paper/branch, and (optionally) stores them as Semantic MediaWiki properties. == Parameters == ; internal : Your TOE‑E internal DOI (e.g., 10.toe-e/0.0.3) ; external : External DOI from Zenodo / Crossref / DataCite (e.g., 10.5281/zenodo.1234567) ; store : yes/no (default yes). When "yes", sets Has internal DOI and Has external DOI. ; short : yes/no (default no). When "yes", renders...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

DOI Template

Displays internal and/or external DOIs for a paper/branch, and (optionally) stores them as Semantic MediaWiki properties.

Parameters

internal
Your TOE‑E internal DOI (e.g., 10.toe-e/0.0.3)
external
External DOI from Zenodo / Crossref / DataCite (e.g., 10.5281/zenodo.1234567)
store
yes/no (default yes). When "yes", sets Has internal DOI and Has external DOI.
short
yes/no (default no). When "yes", renders a compact one‑liner.
label
Optional custom label text (defaults to “DOI”).

Examples

Internal only

{{DOI|internal=10.toe-e/0.0.3}}

Internal + external (Zenodo)

{{DOI|internal=10.toe-e/0.0.3|external=10.5281/zenodo.1234567}}

External pending

{{DOI|internal=10.toe-e/0.0.3|external=pending}}

Compact line

{{DOI|internal=10.toe-e/0.0.3|external=10.5281/zenodo.1234567|short=yes}}

Properties required

Create once: