Jump to content

Template:Paper: Difference between revisions

From TOE-E Archive
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 4: Line 4:
== Parameters ==
== Parameters ==
; id, title (required)
; id, title (required)
; subtitle, year, authors, roles, status, domain, subdomain, scale, substrate, e_type, s_type, r_type, timescale, license, conflicts, data_code
; subtitle, year, authors, authors_linked, roles, status, domain, subdomain, scale, substrate, e_type, s_type, r_type, timescale, license, conflicts, data_code
; description, keywords (optional, stored)
; description, keywords (optional, stored)
; internal_doi, external_doi
; internal_doi, external_doi
; pdf, latex, bibtex
; pdf, latex, bibtex
; parent : optional parent paper/branch reference
; displaytitle : yes/no (default yes)
; displaytitle : yes/no (default yes)
; defaultsort  : optional override (e.g., Ecosystem Resilience 0002)
; defaultsort  : optional override (e.g., Ecosystem Resilience 0002)
Line 38: Line 39:
  | Has authors    = {{{authors|}}}
  | Has authors    = {{{authors|}}}
  | Has roles      = {{{roles|}}}
  | Has roles      = {{{roles|}}}
| Has parent      = {{{parent|}}}
}}
}}


<!-- Main layout with sidebar -->
<!-- Main layout with sidebar --><div style="display:flex; gap:20px; align-items:flex-start;"><!-- Main content area --><div style="flex:1; min-width:0;"><!-- Clean header --><div style="margin-bottom:20px;">
<div style="display:flex; gap:20px; align-items:flex-start;">
 
<!-- Main content area -->
<div style="flex:1; min-width:0;">
 
<!-- Clean header -->
<div style="margin-bottom:20px;">
   <h1 style="font-size:1.5em; margin:0 0 8px 0; line-height:1.2;">{{{title}}}{{#if:{{{id|}}}| – <span style="font-weight:normal; color:#666;">{{{id}}}</span>}}</h1>{{#if:{{{subtitle|}}}|
   <h1 style="font-size:1.5em; margin:0 0 8px 0; line-height:1.2;">{{{title}}}{{#if:{{{id|}}}| – <span style="font-weight:normal; color:#666;">{{{id}}}</span>}}</h1>{{#if:{{{subtitle|}}}|
   <div style="color:#666; font-size:1.1em; margin-bottom:8px;">{{{subtitle}}}</div>}}
   <div style="color:#666; font-size:1.1em; margin-bottom:8px;">{{{subtitle}}}</div>}}
   <div style="color:#444; margin-bottom:4px;"><strong>{{{authors|<span style="color:#999;">(Authors not set)</span>}}}</strong></div>{{#if:{{{domain|}}}|
   <div style="color:#444; margin-bottom:4px;"><strong>{{{authors_linked|{{{authors|<span style="color:#999;">(Authors not set)</span>}}}}}}</strong></div>{{#if:{{{domain|}}}|
   <div style="color:#666; font-size:0.85em; margin-bottom:8px;"><strong>Subjects:</strong> <span style="color:#0066cc;">{{{domain}}}{{#if:{{{subdomain|}}}| > {{{subdomain}}}|}}</span>{{#if:{{{keywords|}}}|; {{{keywords}}}}}</div>}}
   <div style="color:#666; font-size:0.85em; margin-bottom:8px;"><strong>Subjects:</strong> <span style="color:#0066cc;">{{{domain}}}{{#if:{{{subdomain|}}}| > {{{subdomain}}}|}}</span>{{#if:{{{keywords|}}}|; {{{keywords}}}}}</div>}}
</div>
</div>


== Abstract ==
== Abstract ==
{{{abstract|<span style="color:#999;">(No abstract provided.)</span>}}}
{{{abstract|<span style="color:#999;">(No abstract provided.)</span>}}}</div><!-- Sidebar --><div style="flex:0 0 280px; background:#f8f9fa; border:1px solid #ddd; border-radius:6px; padding:15px; font-size:0.9em;">
 
</div>
 
<!-- Sidebar -->
<div style="flex:0 0 280px; background:#f8f9fa; border:1px solid #ddd; border-radius:6px; padding:15px; font-size:0.9em;">


<div style="margin-bottom:18px;">
<div style="margin-bottom:18px;">
Line 71: Line 61:
</ul>
</ul>
</div>
</div>
{{#if:{{{parent|}}}{{{status|}}}|
<div style="margin-bottom:18px;">
<strong style="color:#333;">Paper Structure:</strong>
<table style="width:100%; margin-top:8px; font-size:0.85em;">
{{#if:{{{parent|}}}|<tr><td style="color:#666; padding:2px 0;"><strong>Parent:</strong></td><td style="padding:2px 0;">[[{{{parent}}}]]</td></tr>}}
{{#if:{{{status|}}}|<tr><td style="color:#666; padding:2px 0;"><strong>Status:</strong></td><td style="padding:2px 0;">{{{status}}}{{#if:{{{year|}}}| ({{{year}}})}}</td></tr>}}
</table>
</div>
}}


{{DOI
{{DOI
Line 81: Line 81:
<strong style="color:#333;">Metadata:</strong>
<strong style="color:#333;">Metadata:</strong>
<table style="width:100%; margin-top:8px; font-size:0.85em;">
<table style="width:100%; margin-top:8px; font-size:0.85em;">
{{#if:{{{status|}}}|<tr><td style="color:#666; padding:2px 0;"><strong>Status:</strong></td><td style="padding:2px 0;">{{{status}}}{{#if:{{{year|}}}| ({{{year}}})}}</td></tr>}}
{{#if:{{{domain|}}}|<tr><td style="color:#666; padding:2px 0;"><strong>Domain:</strong></td><td style="padding:2px 0;">{{{domain}}}</td></tr>}}
{{#if:{{{domain|}}}|<tr><td style="color:#666; padding:2px 0;"><strong>Domain:</strong></td><td style="padding:2px 0;">{{{domain}}}</td></tr>}}
{{#if:{{{scale|}}}|<tr><td style="color:#666; padding:2px 0;"><strong>Scale:</strong></td><td style="padding:2px 0;">{{{scale}}}</td></tr>}}
{{#if:{{{scale|}}}|<tr><td style="color:#666; padding:2px 0;"><strong>Scale:</strong></td><td style="padding:2px 0;">{{{scale}}}</td></tr>}}

Latest revision as of 01:17, 24 August 2025

Paper Template (TOE‑E) — Variables‑free

Parameters

id, title (required)
subtitle, year, authors, authors_linked, roles, status, domain, subdomain, scale, substrate, e_type, s_type, r_type, timescale, license, conflicts, data_code
description, keywords (optional, stored)
internal_doi, external_doi
pdf, latex, bibtex
parent
optional parent paper/branch reference
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