Jump to content

Template:Paper: Difference between revisions

From TOE-E Archive
No edit summary
No edit summary
Line 40: Line 40:
}}
}}


<!-- Header box -->
<!-- Main layout with sidebar -->
<div style="border:1px solid #ddd; background:#f7f9fc; padding:14px; margin:8px 0; border-radius:6px;">
<div style="display:flex; gap:20px; align-items:flex-start;">
   <div style="font-size:1.35em; font-weight:700; margin-bottom:2px;">
 
     {{{title}}} <span style="font-weight:400;">{{{id}}}</span>
<!-- Main content area -->
<div style="flex:1; min-width:0;">
 
<!-- Clean header -->
<div style="margin-bottom:20px;">
   <div style="color:#666; font-size:0.9em; margin-bottom:4px;">
     {{#if:{{{domain|}}}|{{{domain}}}{{#if:{{{status|}}}| > {{{status}}}}}}}
   </div>
   </div>
   {{#if:{{{subtitle|}}}|<div style="color:#666; margin-top:2px;">{{{subtitle}}}</div>}}
  <h1 style="font-size:1.5em; margin:0 0 8px 0; line-height:1.2;">
   <div style="margin-top:6px; color:#444;">
    {{{title}}}{{#if:{{{id|}}}| – <span style="font-weight:normal; color:#666;">{{{id}}}</span>}}
     <b>Authors:</b> {{{authors|<span style="color:#999;">(not set)</span>}}}
  </h1>
    {{#if:{{{year|}}}| • <b>Year:</b> {{{year}}}}}
   {{#if:{{{subtitle|}}}|<div style="color:#666; font-size:1.1em; margin-bottom:8px;">{{{subtitle}}}</div>}}
    {{#if:{{{status|}}}| • <b>Status:</b> {{{status}}}}}
   <div style="color:#444; margin-bottom:4px;">
    {{#if:{{{domain|}}}| • <b>Domain:</b> {{{domain}}}}}
     <strong>{{{authors|<span style="color:#999;">(Authors not set)</span>}}}</strong>
   </div>
   </div>
  {{#if:{{{year|}}}|<div style="color:#666; font-size:0.9em;"><em>Submitted {{{year}}}</em></div>}}
</div>
</div>


Line 57: Line 64:
{{{abstract|<span style="color:#999;">(No abstract provided.)</span>}}}
{{{abstract|<span style="color:#999;">(No abstract provided.)</span>}}}


== Downloads ==
</div>
<ul>
 
  {{#if:{{{pdf|}}}|<li>[[Media:{{{pdf}}}|Download PDF]]</li>}}
<!-- Sidebar -->
  {{#if:{{{latex|}}}|<li>[[Media:{{{latex}}}|Download LaTeX Source]]</li>}}
<div style="flex:0 0 280px; background:#f8f9fa; border:1px solid #ddd; border-radius:6px; padding:15px; font-size:0.9em;">
  {{#if:{{{bibtex|}}}|<li>[[Media:{{{bibtex}}}|Download BibTeX]]</li>}}
 
<div style="margin-bottom:18px;">
<strong style="color:#333;">Access Paper:</strong>
<ul style="margin:8px 0 0 0; padding-left:20px;">
{{#if:{{{pdf|}}}|<li>[[Media:{{{pdf}}}|View PDF]]</li>}}
{{#if:{{{latex|}}}|<li>[[Media:{{{latex}}}|TeX Source]]</li>}}
{{#if:{{{bibtex|}}}|<li>[[Media:{{{bibtex}}}|BibTeX]]</li>}}
</ul>
</ul>
</div>


{{DOI
{{DOI
Line 70: Line 84:
}}
}}


== Metadata ==
<div style="margin:18px 0; border-top:1px solid #eee; padding-top:15px;">
{| class="wikitable"
<strong style="color:#333;">Metadata:</strong>
! Field !! Value
<table style="width:100%; margin-top:8px; font-size:0.85em;">
|-
{{#if:{{{domain|}}}|<tr><td style="color:#666; padding:2px 0;"><strong>Domain:</strong></td><td style="padding:2px 0;">{{{domain}}}</td></tr>}}
| Branch ID || {{{id}}}
{{#if:{{{scale|}}}|<tr><td style="color:#666; padding:2px 0;"><strong>Scale:</strong></td><td style="padding:2px 0;">{{{scale}}}</td></tr>}}
|-
{{#if:{{{substrate|}}}|<tr><td style="color:#666; padding:2px 0;"><strong>Substrate:</strong></td><td style="padding:2px 0;">{{{substrate}}}</td></tr>}}
| Domain || {{{domain|}}}
{{#if:{{{e_type|}}}|<tr><td style="color:#666; padding:2px 0;"><strong>E‑type:</strong></td><td style="padding:2px 0;">{{{e_type}}}</td></tr>}}
|-
{{#if:{{{s_type|}}}|<tr><td style="color:#666; padding:2px 0;"><strong>S‑type:</strong></td><td style="padding:2px 0;">{{{s_type}}}</td></tr>}}
| Scale || {{{scale|}}}
{{#if:{{{r_type|}}}|<tr><td style="color:#666; padding:2px 0;"><strong>R‑type:</strong></td><td style="padding:2px 0;">{{{r_type}}}</td></tr>}}
|-
{{#if:{{{timescale|}}}|<tr><td style="color:#666; padding:2px 0;"><strong>Timescale:</strong></td><td style="padding:2px 0;">{{{timescale}}}</td></tr>}}
| Substrate || {{{substrate|}}}
{{#if:{{{license|}}}|<tr><td style="color:#666; padding:2px 0;"><strong>License:</strong></td><td style="padding:2px 0;">{{{license}}}</td></tr>}}
|-
</table>
| E‑type || {{{e_type|}}}
</div>
|-
| S‑type || {{{s_type|}}}
|-
| R‑type || {{{r_type|}}}
|-
| Timescale || {{{timescale|}}}
|-
| Data/Code || {{{data_code|}}}
|-
| License || {{{license|}}}
|-
| Conflicts || {{{conflicts|}}}
|}


== Citation ==
<div style="margin-top:18px; border-top:1px solid #eee; padding-top:15px;">
<div style="border:1px solid #eee; background:#fafafa; padding:10px; border-radius:6px;">
<strong style="color:#333;">Citation:</strong>
  <b>Suggested citation (APA):</b><br/>
<div style="background:#fff; border:1px solid #ddd; padding:8px; margin:8px 0; border-radius:4px; font-size:0.8em; line-height:1.4;">
  {{{authors|TOE-E Collective}}}. ({{{year|{{CURRENTYEAR}}}}}).
<strong>APA:</strong><br/>
  ''{{{title}}} – {{{id}}}''. TOE-E Archive.
{{{authors|TOE-E Collective}}}. ({{{year|{{CURRENTYEAR}}}}}).
  {{#if:{{{external_doi|}}}|
<em>{{{title}}} – {{{id}}}</em>. TOE-E Archive.
    {{#ifeq:{{lc:{{{external_doi}}}}}|pending|
{{#if:{{{external_doi|}}}|
      <span style="color:#999;"> (DOI pending)</span>
  {{#ifeq:{{lc:{{{external_doi}}}}}|pending|
      | . doi:[https://doi.org/{{{external_doi}}} {{{external_doi}}}]
    <span style="color:#999;"> (DOI pending)</span>
    }}
    | . doi:[https://doi.org/{{{external_doi}}} {{{external_doi}}}]
   }}
   }}
}}
</div>
</div>


<div class="mw-collapsible mw-collapsed template-citation" style="margin-top:6px;">
<div class="mw-collapsible mw-collapsed" style="margin-top:8px;">
  <div><b>BibTeX</b></div>
<div style="cursor:pointer; color:#0066cc;"><strong>▶ Export BibTeX</strong></div>
  <div class="mw-collapsible-content">
<div class="mw-collapsible-content">
    {{#tag:pre|
{{#tag:pre|
@article{TOEE-{{{bibkey|{{{id}}}}}}},
@article{TOEE-{{{bibkey|{{{id}}}}}}},
   title  = &#123; {{{title}}} – {{{id}}} &#125;,
   title  = &#123; {{{title}}} – {{{id}}} &#125;,
Line 123: Line 125:
                     | DOI pending }} &#125;
                     | DOI pending }} &#125;
}
}
    |style=white-space:pre-wrap; background:#f8f8f8; padding:8px; border:1px solid #eee; border-radius:6px; margin:0; font-family:monospace;
|style=white-space:pre-wrap; background:#f8f8f8; padding:6px; border:1px solid #ccc; border-radius:3px; margin:4px 0 0 0; font-family:monospace; font-size:0.75em;
    }}
}}
  </div>
</div>
</div>
 
</div>
 
</div>
</div>
</div>


</includeonly>
</includeonly>

Revision as of 15:23, 23 August 2025

Paper Template (TOE‑E) — Variables‑free

Parameters

id, title (required)
subtitle, year, authors, roles, status, domain, scale, substrate, e_type, s_type, r_type, timescale, license, conflicts, data_code
description, keywords (optional, stored)
internal_doi, external_doi
pdf, latex, bibtex
displaytitle
yes/no (default yes)
defaultsort
optional override (e.g., Ecosystem Resilience 0002)

Requires (create once)

 Property:Has domain, Property:Has status, Property:Branch ID, Property:Has authors, Property:Has roles