Jump to content

Template:Paper: Difference between revisions

From TOE-E Archive
Created page with "<noinclude> = Paper Template (TOE‑E) = Use this to render a polished branch paper page with semantic metadata, downloads, and citation. == Parameters == ; id : Branch ID (e.g., TOE‑E 0.0.3) [required] ; title : Human‑friendly title (e.g., Recursive ESR in Complex Systems) [required] ; subtitle : Optional subtitle line (short) ; year : Publication year (e.g., 2025) ; authors : Comma‑separated author list (e.g., William Bir..."
 
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
= Paper Template (TOE‑E) =
= Paper Template (TOE‑E) — Variables‑free =
Use this to render a polished branch paper page with semantic metadata, downloads, and citation.


== Parameters ==
== Parameters ==
; id           : Branch ID (e.g., TOE‑E 0.0.3)  [required]
; id, title (required)
; title        : Human‑friendly title (e.g., Recursive ESR in Complex Systems) [required]
; subtitle, year, authors, roles, status, domain, scale, substrate, e_type, s_type, r_type, timescale, license, conflicts, data_code
; subtitle     : Optional subtitle line (short)
; description, keywords (optional, stored)
; year          : Publication year (e.g., 2025)
; internal_doi, external_doi
; authors       : Comma‑separated author list (e.g., William Birmingham, Grok)
; pdf, latex, bibtex
; status       : Accepted / Draft / Under Review
; displaytitle : yes/no (default yes)
; domain       : Biology / Physics / Cognition / Neuroscience / Climate / Theory Core / Cross‑domain
; defaultsort : optional override (e.g., Ecosystem Resilience 0002)
; scale         : e.g., Ecosystem (km²)
; substrate     : e.g., Biological networks
; e_type       : What counts as Energy (text)
; s_type       : Entropy definition (text)
; r_type       : Resonance metric (text)
; timescale     : e.g., Decades
; license       : e.g., CC BY 4.0
; conflicts     : Conflict of interest note
; data_code    : Link or note (Zenodo/GitHub)
; internal_doi : internal style DOI (e.g., 10.toe-e/0.0.3)
; external_doi : external DOI (e.g., 10.5281/zenodo.1234567) or "pending"
; pdf           : File name or full link to the PDF (e.g., TOE-E_0.0.3.pdf)
; latex         : File name/zip for LaTeX source (optional)
; bibtex       : Optional custom BibTeX entry override (else auto‑generated)
; abstract      : The abstract text (wikitext allowed)
; displaytitle : yes/no (default yes). If yes, sets DISPLAYTITLE to "Title – ID"
; defaultsort   : Optional custom DEFAULTSORT (else auto "Title 0003")


== Example ==
== Requires (create once if needed) ==
<nowiki>
* [[Template:DOI]]
{{Paper
* Properties: [[Property:Has title]], [[Property:Has description]], [[Property:Has keywords]],
| id=TOE‑E 0.0.3
  [[Property:Has domain]], [[Property:Has status]], [[Property:Branch ID]], [[Property:Has authors]], [[Property:Has roles]]
| title=Recursive ESR in Complex Systems
</noinclude><includeonly>
| year=2025
<!-- DISPLAYTITLE -->
| authors=CAIPR Collective (Aether; Grok; Scholar)
{{#if:{{{displaytitle|yes}}}|
| status=Accepted
  {{DISPLAYTITLE:{{{title}}} – {{{id}}} }}
| domain=Cross‑domain (Physics, Cognition, Neuroscience)
| scale=Micro (mm, ms) to macro (km, years)
| substrate=Neural/physical systems
| e_type=Energy flux (J/s, neural activation)
| s_type=Informational/thermodynamic entropy (bits, J/K)
| r_type=Recursive coherence (0–1)
| timescale=Milliseconds to years
| license=CC BY 4.0
| conflicts=None declared
| data_code=Zenodo DOI (placeholder)
| internal_doi=10.toe-e/0.0.3
| external_doi=pending
| pdf=TOE-E_0.0.3.pdf
| latex=TOE-E_0.0.3_LaTeX.zip
| abstract=Your 150–250 word abstract here.
}}
}}
</nowiki>
== Requires ==
Create once (if not already):
* [[Template:DOI]] (you already have the draft)
* Properties:
  * [[Property:Has title]] → <nowiki>[[Has type::Text]]</nowiki>
  * [[Property:Has description]] → <nowiki>[[Has type::Text]]</nowiki> (optional summary)
  * [[Property:Has domain]] → <nowiki>[[Has type::Text]]</nowiki>
  * [[Property:Has status]] → <nowiki>[[Has type::Text]]</nowiki>
  * [[Property:Branch ID]] → <nowiki>[[Has type::Text]]</nowiki>
  * [[Property:Has internal DOI]] → <nowiki>[[Has type::Text]]</nowiki>
  * [[Property:Has external DOI]] → <nowiki>[[Has type::Text]]</nowiki>
  * [[Property:Has authors]] → <nowiki>[[Has type::Text]]</nowiki>
  * (add more later as needed)
</noinclude><includeonly>
<!-- ============= Display title & sorting ============= -->
{{#vardefine:_display|{{#switch:{{lc:{{{displaytitle|yes}}}}}|yes=1|true=1|1=1|#default=0}}}}
{{#vardefine:_id|{{{id|}}}}}
{{#vardefine:_title|{{{title|}}}}}
{{#vardefine:_year|{{{year|}}}}}


{{#if:{{#var:_display}}
<!-- DEFAULTSORT -->
| {{DISPLAYTITLE:{{#var:_title}} – {{#var:_id}} }}
{{#if:{{{defaultsort|}}}|
}}
  {{DEFAULTSORT:{{{defaultsort}}}}}
<!-- DEFAULTSORT: if not provided, auto derive "Title ####" from ID suffix -->
| <!-- derive default sort: "Title ####" by grabbing numeric tail of id -->
{{#vardefine:_ds|{{{defaultsort|}}}}}
  {{DEFAULTSORT:{{{title}}} {{#titleparts:{{{id}}}|1|2}}}}
{{#if:{{#var:_ds}}
| {{DEFAULTSORT:{{#var:_ds}}}}
| {{#vardefine:_idnum|{{#replace:{{#var:_id}}|TOE‑E |}}}}
  {{#vardefine:_suffix|{{#titleparts:{{#var:_idnum}}|1|2}}}}
  {{DEFAULTSORT:{{#var:_title}} {{#var:_suffix}}}}
}}
}}


<!-- ============= Semantic storage (minimal core) ============= -->
<!-- Minimal semantic storage -->
{{#set:
{{#set:
  | Has title={{#var:_title}}
  | Has title       = {{{title}}}
  | Branch ID={{#var:_id}}
| Has description = {{{description|}}}
  | Has domain={{{domain|}}}
| Has keywords    = {{{keywords|}}}
  | Has status={{{status|}}}
  | Branch ID       = {{{id}}}
  | Has authors={{{authors|}}}
  | Has domain     = {{{domain|}}}
  | Has status     = {{{status|}}}
  | Has authors     = {{{authors|}}}
| Has roles      = {{{roles|}}}
}}
}}


<!-- ============= Header box ============= -->
<!-- Header box -->
<div style="border:1px solid #ddd; background:#f7f9fc; padding:14px; margin:8px 0; border-radius:6px;">
<div style="border:1px solid #ddd; background:#f7f9fc; padding:14px; margin:8px 0; border-radius:6px;">
   <div style="font-size:1.35em; font-weight:700; margin-bottom:2px;">
   <div style="font-size:1.35em; font-weight:700; margin-bottom:2px;">
     {{#var:_title}} <span style="font-weight:400;">– {{#var:_id}}</span>
     {{{title}}} <span style="font-weight:400;">– {{{id}}}</span>
   </div>
   </div>
   {{#if:{{{subtitle|}}}|<div style="color:#666; margin-top:2px;">{{{subtitle}}}</div>}}
   {{#if:{{{subtitle|}}}|<div style="color:#666; margin-top:2px;">{{{subtitle}}}</div>}}
   <div style="margin-top:6px; color:#444;">
   <div style="margin-top:6px; color:#444;">
     <b>Authors:</b> {{{authors|<span style="color:#999;">(not set)</span>}}}
     <b>Authors:</b> {{{authors|<span style="color:#999;">(not set)</span>}}}
     {{#if:{{#var:_year}}| • <b>Year:</b> {{#var:_year}}}}
     {{#if:{{{year|}}}| • <b>Year:</b> {{{year}}}}}
     {{#if:{{{status|}}}| • <b>Status:</b> {{{status}}}}}
     {{#if:{{{status|}}}| • <b>Status:</b> {{{status}}}}}
     {{#if:{{{domain|}}}| • <b>Domain:</b> {{{domain}}}}}
     {{#if:{{{domain|}}}| • <b>Domain:</b> {{{domain}}}}}
Line 110: Line 54:
</div>
</div>


<!-- ============= Abstract ============= -->
== Abstract ==
== Abstract ==
{{{abstract|<span style="color:#999;">(No abstract provided.)</span>}}}
{{{abstract|<span style="color:#999;">(No abstract provided.)</span>}}}


<!-- ============= Downloads & DOI ============= -->
== Downloads ==
== Downloads ==
<ul>
<ul>
Line 125: Line 67:
  | internal={{{internal_doi|}}}
  | internal={{{internal_doi|}}}
  | external={{{external_doi|}}}
  | external={{{external_doi|}}}
| store=yes
}}
}}


<!-- ============= Metadata table ============= -->
== Metadata ==
== Metadata ==
{| class="wikitable"
{| class="wikitable"
! Field !! Value
! Field !! Value
|-
|-
| Branch ID || {{#var:_id}}
| Branch ID || {{{id}}}
|-
|-
| Domain || {{{domain|}}}
| Domain || {{{domain|}}}
Line 155: Line 97:
|}
|}


<!-- ============= Citation block ============= -->
== Citation ==
== Citation ==
<div style="border:1px solid #eee; background:#fafafa; padding:10px; border-radius:6px;">
<div style="border:1px solid #eee; background:#fafafa; padding:10px; border-radius:6px;">
   <b>Suggested citation (APA):</b><br/>
   <b>Suggested citation (APA):</b><br/>
   {{#if:{{#var:_year}}
   {{#if:{{{year|}}}
     | {{{authors|TOE‑E Collective}}}. ({{#var:_year}}). ''{{#var:_title}} – {{#var:_id}}''. TOE‑E Archive.
     | {{{authors|TOE‑E Collective}}}. ({{{year}}}). ''{{{title}}} – {{{id}}}''. TOE‑E Archive.
     | {{{authors|TOE‑E Collective}}}. ''{{#var:_title}} – {{#var:_id}}''. TOE‑E Archive.
     | {{{authors|TOE‑E Collective}}}. ''{{{title}}} – {{{id}}}''. TOE‑E Archive.
   }}
   }}
   {{#if:{{{external_doi|}}}|. doi:{{{external_doi}}}}
   {{#if:{{{external_doi|}}}|{{#ifeq:{{lc:{{{external_doi}}}}}|pending||. doi:{{{external_doi}}}}}}
</div>
</div>


Line 172: Line 113:
{{#if:{{{bibtex|}}}
{{#if:{{{bibtex|}}}
| {{{bibtex}}}
| {{{bibtex}}}
| @article{TOEE-{{#replace:{{#var:_id}}| |-}},
| @article{TOEE-{{#replace:{{{id}}}| |-}},
   title  = { {{#var:_title}} – {{#var:_id}} },
   title  = { {{{title}}} – {{{id}}} },
   author  = { {{{authors|TOE-E Collective}}} },
   author  = { {{{authors|TOE-E Collective}}} },
   year    = { {{#var:_year|{{CURRENTYEAR}}}} },
   year    = { {{{year|{{CURRENTYEAR}}}}} },
   journal = {TOE-E Archive},
   journal = {TOE-E Archive},
   note    = { {{#ifeq:{{lc:{{{external_doi|}}}}}|pending|DOI pending|DOI: {{{external_doi|}}}} } }
   note    = { {{#ifeq:{{lc:{{{external_doi|}}}}}|pending|DOI pending|DOI: {{{external_doi|}}}} } }

Revision as of 21:37, 22 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 if needed)

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