Jump to content

Template:Paper: Difference between revisions

From TOE-E Archive
No edit summary
No edit summary
Line 11: Line 11:
; defaultsort  : optional override (e.g., Ecosystem Resilience 0002)
; defaultsort  : optional override (e.g., Ecosystem Resilience 0002)


== Requires (create once if needed) ==
== Requires (create once) ==
* [[Template:DOI]]
* [[Template:DOI]]
* Properties: [[Property:Has title]], [[Property:Has description]], [[Property:Has keywords]],
* Properties: [[Property:Has title]], [[Property:Has description]], [[Property:Has keywords]],
Line 24: Line 24:
{{#if:{{{defaultsort|}}}|
{{#if:{{{defaultsort|}}}|
   {{DEFAULTSORT:{{{defaultsort}}}}}
   {{DEFAULTSORT:{{{defaultsort}}}}}
| <!-- derive default sort: "Title ####" by grabbing numeric tail of id -->
| <!-- simple, robust: sort by Title then ID -->
   {{DEFAULTSORT:{{{title}}} {{#titleparts:{{{id}}}|1|2}}}}
   {{DEFAULTSORT:{{{title}}} {{{id}}}}}
}}
}}


Line 110: Line 110:
<summary><b>BibTeX</b></summary>
<summary><b>BibTeX</b></summary>
{{#if:{{{bibtex|}}}
{{#if:{{{bibtex|}}}
  | <pre style="white-space:pre-wrap; background:#f8f8f8; padding:8px; border:1px solid #eee; border-radius:6px;">{{{bibtex}}}</pre>
  | <div style="white-space:pre-wrap; background:#f8f8f8; padding:8px; border:1px solid #eee; border-radius:6px;">{{{bibtex}}}</div>
  | <pre style="white-space:pre-wrap; background:#f8f8f8; padding:8px; border:1px solid #eee; border-radius:6px;">
  | <div style="white-space:pre-wrap; background:#f8f8f8; padding:8px; border:1px solid #eee; border-radius:6px;">
@article{TOEE-{{#replace:{{{id}}}| |-}},
@article{TOEE-{{{id}}}},
   title  = { {{{title}}} – {{{id}}} },
   title  = { {{{title}}} – {{{id}}} },
   author  = { {{{authors|TOE-E Collective}}} },
   author  = { {{{authors|TOE-E Collective}}} },
Line 119: Line 119:
   note    = { {{#ifeq:{{lc:{{{external_doi|}}}}}|pending|DOI pending|DOI: {{{external_doi|}}}} } }
   note    = { {{#ifeq:{{lc:{{{external_doi|}}}}}|pending|DOI pending|DOI: {{{external_doi|}}}} } }
}
}
</pre>
</div>
}}
}}
</details>
</details>
</includeonly>
</includeonly>

Revision as of 22:05, 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)

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