Jump to content

Template:DOI: Difference between revisions

From TOE-E Archive
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
<includeonly>
<p><b>DOI template</b> — transclusion-only. Test with:<br/>
<!-- Semantic storage only (no visible output) -->
<code>{{DOI|internal=10.toe-e/0.0.2|external=pending|store=yes}}</code></p>
{{#if:{{{store|yes}}}|
</noinclude><includeonly>
<!-- Quiet semantic storage -->
{{#if:{{{store|}}}|
   {{#if:{{{internal|}}}|[[Has internal DOI::{{{internal}}}]]}}
   {{#if:{{{internal|}}}|[[Has internal DOI::{{{internal}}}]]}}
   {{#if:{{{external|}}}|[[Has external DOI::{{{external}}}]]}}
   {{#if:{{{external|}}}|[[Has external DOI::{{{external}}}]]}}
}}
}}


<!-- Display box -->
<!-- Visible box -->
<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;">
   <span style="font-weight:600;">{{{label|DOI}}}</span><br/>
   <span style="font-weight:600;">{{{label|DOI}}}</span><br/>

Revision as of 13:41, 23 August 2025

DOI template — transclusion-only. Test with:
10.toe-e/0.0.2 pending

 DOI
🔖 Internal: 10.toe-e/0.0.2
🌍 External:
   (pending)