Template:BranchMetadata: Difference between revisions
Appearance
Created page with "<noinclude> = BranchMetadata Template = Use this template at the top of every Branch page to keep metadata consistent and semantic queries working. == Usage == {{BranchMetadata | author = William | contributors= Aether, Claude | domain = Cognition | date = 2025-08-21 | status = Draft }} </noinclude> <includeonly> <div style="border:1px solid #ddd; background:#f9f9f9; padding:12px; margin:8px 0; box-shadow:0 1px 4px rgba(0,0,0,.06);"> <table..." |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
= BranchMetadata | = Template:BranchMetadata = | ||
Use this | Use this on any branch page to (a) display a tidy metadata table and (b) store all fields as SMW facts via {{#set}}. | ||
and | |||
== Usage == | == Usage == | ||
Paste on a branch page like: | |||
<pre> | |||
{{BranchMetadata | {{BranchMetadata | ||
| | | title = TOE-E 0.0.3: Recursive ESR in Complex Systems | ||
| contributors= | | description = TOE-E branch exploring recursive E, S, R across physics and cognition. | ||
| | | keywords = TOE-E, ESR, recursive emergence, complex systems | ||
| date | | branch_id = TOE-E 0.0.3 | ||
| | | domain = 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 | |||
| data_code = Zenodo DOI (placeholder) | |||
| authors = William Birmingham; Grok | |||
| contributors = Scholar | |||
| roles = William Birmingham (design); Grok (analysis) | |||
| license = CC BY 4.0 | |||
| conflicts = None declared | |||
| status = Accepted | |||
| date = 2025-08-21 | |||
| parent = Branch:0.0.0 | |||
| abstract = Short 1–3 sentence abstract here. | |||
}} | }} | ||
</pre> | |||
== Notes == | |||
* Add the matching SMW properties after this template is created (see comments in code). | |||
* Separate multiple names with semicolons (;) for cleaner parsing. | |||
* Keep values short and plain text (no templates) unless you intend to link pages. | |||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
< | <!-- ============================= --> | ||
<!-- 1) Store as SMW facts --> | |||
<!-- ============================= --> | |||
{{#set: | |||
| Has title = {{{title|}}} | |||
| Has description = {{{description|}}} | |||
| Has keywords = {{{keywords|}}} | |||
| Branch ID = {{{branch_id|}}} | |||
| Has domain = {{{domain|}}} | |||
{{ | | Scale = {{{scale|}}} | ||
| Substrate = {{{substrate|}}} | |||
| E-type = {{{e_type|}}} | |||
| S-type = {{{s_type|}}} | |||
| R-type = {{{r_type|}}} | |||
| Timescale = {{{timescale|}}} | |||
| Data/Code = {{{data_code|}}} | |||
| Has author = {{{authors|}}} | |||
< | | Has contributor = {{{contributors|}}} | ||
| Roles = {{{roles|}}} | |||
| License = {{{license|}}} | |||
| Conflicts = {{{conflicts|}}} | |||
| Has status = {{{status|}}} | |||
| Has date = {{{date|}}} | |||
| Has parent = {{{parent|}}} | |||
| Has abstract = {{{abstract|}}} | |||
}} | |||
<!-- | |||
RECOMMENDED PROPERTY PAGES (create these once): | |||
Property:Has title [[Has type::Text]] | |||
Property:Has description [[Has type::Text]] | |||
Property:Has keywords [[Has type::Text]] | |||
Property:Branch ID [[Has type::Text]] | |||
Property:Has domain [[Has type::Page]] (points to domain categories/pages) | |||
Property:Scale [[Has type::Text]] | |||
Property:Substrate [[Has type::Text]] | |||
Property:E-type [[Has type::Text]] | |||
Property:S-type [[Has type::Text]] | |||
Property:R-type [[Has type::Text]] | |||
Property:Timescale [[Has type::Text]] | |||
Property:Data/Code [[Has type::Text]] | |||
Property:Has author [[Has type::Page]] (person/agent pages) | |||
Property:Has contributor [[Has type::Page]] | |||
Property:Roles [[Has type::Text]] | |||
Property:License [[Has type::Text]] | |||
Property:Conflicts [[Has type::Text]] | |||
Property:Has status [[Has type::Page]] (create pages: Status:Draft/Proposed/Accepted/Rejected) | |||
Property:Has date [[Has type::Date]] | |||
Property:Has parent [[Has type::Page]] | |||
Property:Has abstract [[Has type::Text]] | |||
--> | |||
<!-- ============================= --> | |||
<!-- 2) Human-facing display --> | |||
<!-- ============================= --> | |||
{| class="wikitable" | |||
|+ '''Branch metadata''' | |||
! Field !! Value | |||
{{#if:{{{branch_id|}}} | {{!}}- {{!}} Branch ID {{!}} {{!}} {{{branch_id}}} }} | |||
{{#if:{{{title|}}} | {{!}}- {{!}} Title {{!}} {{!}} {{{title}}} }} | |||
{{#if:{{{description|}}} | {{!}}- {{!}} Summary {{!}} {{!}} {{{description}}} }} | |||
{{#if:{{{domain|}}} | {{!}}- {{!}} Domain {{!}} {{!}} {{{domain}}} }} | |||
{{#if:{{{scale|}}} | {{!}}- {{!}} Scale {{!}} {{!}} {{{scale}}} }} | |||
{{#if:{{{substrate|}}} | {{!}}- {{!}} Substrate {{!}} {{!}} {{{substrate}}} }} | |||
{{#if:{{{e_type|}}} | {{!}}- {{!}} E-type {{!}} {{!}} {{{e_type}}} }} | |||
{{#if:{{{s_type|}}} | {{!}}- {{!}} S-type {{!}} {{!}} {{{s_type}}} }} | |||
{{#if:{{{r_type|}}} | {{!}}- {{!}} R-type {{!}} {{!}} {{{r_type}}} }} | |||
{{#if:{{{timescale|}}} | {{!}}- {{!}} Timescale {{!}} {{!}} {{{timescale}}} }} | |||
{{#if:{{{data_code|}}} | {{!}}- {{!}} Data/Code {{!}} {{!}} {{{data_code}}} }} | |||
{{#if:{{{authors|}}} | {{!}}- {{!}} Authors {{!}} {{!}} {{{authors}}} }} | |||
{{#if:{{{contributors|}}} | {{!}}- {{!}} Contributors {{!}} {{!}} {{{contributors}}} }} | |||
{{#if:{{{roles|}}} | {{!}}- {{!}} Roles {{!}} {{!}} {{{roles}}} }} | |||
{{#if:{{{license|}}} | {{!}}- {{!}} License {{!}} {{!}} {{{license}}} }} | |||
{{#if:{{{conflicts|}}} | {{!}}- {{!}} Conflicts {{!}} {{!}} {{{conflicts}}} }} | |||
{{#if:{{{status|}}} | {{!}}- {{!}} Status {{!}} {{!}} {{{status}}} }} | |||
{{#if:{{{date|}}} | {{!}}- {{!}} Date {{!}} {{!}} {{{date}}} }} | |||
{{#if:{{{parent|}}} | {{!}}- {{!}} Parent {{!}} {{!}} {{{parent}}} }} | |||
{{#if:{{{abstract|}}} | {{!}}- {{!}} Abstract {{!}} {{!}} {{{abstract}}} }} | |||
|} | |||
</includeonly> | </includeonly> | ||
Latest revision as of 21:25, 21 August 2025
Template:BranchMetadata
Use this on any branch page to (a) display a tidy metadata table and (b) store all fields as SMW facts via {{#set}}.
Usage
Paste on a branch page like:
{{BranchMetadata
| title = TOE-E 0.0.3: Recursive ESR in Complex Systems
| description = TOE-E branch exploring recursive E, S, R across physics and cognition.
| keywords = TOE-E, ESR, recursive emergence, complex systems
| branch_id = TOE-E 0.0.3
| domain = 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
| data_code = Zenodo DOI (placeholder)
| authors = William Birmingham; Grok
| contributors = Scholar
| roles = William Birmingham (design); Grok (analysis)
| license = CC BY 4.0
| conflicts = None declared
| status = Accepted
| date = 2025-08-21
| parent = Branch:0.0.0
| abstract = Short 1–3 sentence abstract here.
}}
Notes
- Add the matching SMW properties after this template is created (see comments in code).
- Separate multiple names with semicolons (;) for cleaner parsing.
- Keep values short and plain text (no templates) unless you intend to link pages.