Template:DOI: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
Test with: <code>{{DOI|internal=10.toe-e/0.0.2|external=pending}}</code> | |||
<code>{{DOI|internal=10.toe-e/0.0.2|external=pending | |||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<div style="border:1px solid #ddd; background:#f9f9f9; padding:10px; margin:8px 0; border-radius:6px;"> | <div style="border:1px solid #ddd; background:#f9f9f9; padding:10px; margin:8px 0; border-radius:6px;"> | ||
< | <b>DOI</b><br/> | ||
<!-- Internal --> | |||
{{#if:{{{internal|}}}| | {{#if:{{{internal|}}}| | ||
🔖 <span style="color:#555;">Internal:</span> <code>{{{internal}}}</code><br/> | |||
}} | }} | ||
< | <!-- External --> | ||
🌍 <span style="color:#555;">External:</span> | |||
{{#if:{{{external|}}}| | |||
{{#ifeq:{{lc:{{{external}}}}}|pending| | |||
<span style="color:#999;">(pending)</span> | |||
| <span class="plainlinks">[https://doi.org/{{{external}}} {{{external}}}]</span> | |||
}} | }} | ||
| <span style="color:#999;">(none)</span> }} | |||
</div> | </div> | ||
</includeonly> | </includeonly> | ||
Revision as of 13:51, 23 August 2025
Test with:
DOI
🔖 Internal: 10.toe-e/0.0.2
🌍 External:
(pending)