Template:Paper: Difference between revisions
Appearance
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 = | ||
== Parameters == | == Parameters == | ||
; id | ; id, title (required) | ||
; subtitle, year, authors, roles, status, domain, scale, substrate, e_type, s_type, r_type, timescale, license, conflicts, data_code | |||
; subtitle | ; description, keywords (optional, stored) | ||
; internal_doi, external_doi | |||
; pdf, latex, bibtex | |||
; displaytitle : yes/no (default yes) | |||
; defaultsort : optional override (e.g., Ecosystem Resilience 0002) | |||
; | |||
; internal_doi | |||
; pdf | |||
; displaytitle | |||
; defaultsort | |||
== | == Requires (create once if needed) == | ||
* [[Template:DOI]] | |||
* Properties: [[Property:Has title]], [[Property:Has description]], [[Property:Has keywords]], | |||
[[Property:Has domain]], [[Property:Has status]], [[Property:Branch ID]], [[Property:Has authors]], [[Property:Has roles]] | |||
</noinclude><includeonly> | |||
<!-- DISPLAYTITLE --> | |||
{{#if:{{{displaytitle|yes}}}| | |||
{{DISPLAYTITLE:{{{title}}} – {{{id}}} }} | |||
}} | }} | ||
{{#if:{{ | <!-- DEFAULTSORT --> | ||
{{#if:{{{defaultsort|}}}| | |||
}} | {{DEFAULTSORT:{{{defaultsort}}}}} | ||
<!-- | | <!-- derive default sort: "Title ####" by grabbing numeric tail of id --> | ||
{{ | {{DEFAULTSORT:{{{title}}} {{#titleparts:{{{id}}}|1|2}}}} | ||
{{# | |||
}} | }} | ||
<!-- | <!-- Minimal semantic storage --> | ||
{{#set: | {{#set: | ||
| Has title={{ | | Has title = {{{title}}} | ||
| Branch 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 --> | ||
<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;"> | ||
{{ | {{{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:{{ | {{#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|<span style="color:#999;">(No abstract provided.)</span>}}} | {{{abstract|<span style="color:#999;">(No abstract provided.)</span>}}} | ||
== Downloads == | == Downloads == | ||
<ul> | <ul> | ||
| Line 125: | Line 67: | ||
| internal={{{internal_doi|}}} | | internal={{{internal_doi|}}} | ||
| external={{{external_doi|}}} | | external={{{external_doi|}}} | ||
| store=yes | |||
}} | }} | ||
== Metadata == | == Metadata == | ||
{| class="wikitable" | {| class="wikitable" | ||
! Field !! Value | ! Field !! Value | ||
|- | |- | ||
| Branch ID || {{ | | Branch ID || {{{id}}} | ||
|- | |- | ||
| Domain || {{{domain|}}} | | Domain || {{{domain|}}} | ||
| Line 155: | Line 97: | ||
|} | |} | ||
== 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:{{ | {{#if:{{{year|}}} | ||
| {{{authors|TOE‑E Collective}}}. ({{ | | {{{authors|TOE‑E Collective}}}. ({{{year}}}). ''{{{title}}} – {{{id}}}''. TOE‑E Archive. | ||
| {{{authors|TOE‑E Collective}}}. ''{{ | | {{{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:{{ | | @article{TOEE-{{#replace:{{{id}}}| |-}}, | ||
title = { {{ | title = { {{{title}}} – {{{id}}} }, | ||
author = { {{{authors|TOE-E Collective}}} }, | author = { {{{authors|TOE-E Collective}}} }, | ||
year = { {{ | 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