Jump to content

Theory Tree: Difference between revisions

From TOE-E Archive
No edit summary
Tag: Reverted
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
= TOE‑E Theory Tree =
= TOE‑E Theory Tree =
This page renders branches by their parent–child relationships via the '''Has parent''' property.
This view shows branches by their parent–child relations (property '''Has parent''').
If a branch is missing, make sure its page includes `| parent = TOE-E:0.0.0` (or the correct parent)
and that the template stores it via <code><nowiki>{{#set: | Has parent = {{{parent|}}} }}</nowiki></code>.
[[File:Theory tree .svg|alt=Theory Tree|thumb]]


; If you don’t see a tree:
= TOE‑E Theory Tree =
# Make sure each branch template call includes: <code>| parent = TOE-E:0.0.0</code>
# Ensure [[Property:Has parent]] is <code>[[Has type::Page]]</code>.
# Purge each branch page (or do a null edit) so SMW updates.


== Dynamic tree ==
{{#ask:
{{#ask:
[[Category:Branches]]
  [[Category:Branches]]
[[Has parent::+]]
  | ?Has title=Title
| ?Has title=Title
  | ?Has description=Summary
| format=tree
  | format=tree
| parent=Has parent
  | parent=Has parent   <!-- this tells SRF what property defines the hierarchy -->
| roots=TOE-E:0.0.0
  | roots=TOE-E:0.0.0
| link=all
  | depth=10
| limit=500
  | limit=500
| default=No branches found yet.
  | default=No branches found yet.
}}
 
== Quick table (debug) ==
<!-- This should ALWAYS show something if the property is stored -->
{{#ask:
[[Category:Branches]]
[[Has parent::+]]
| ?Has parent
| ?Has title=Title
| format=table
| limit=50
| default=No pages have "Has parent" yet.
}}
 
== UL fallback (if tree fails) ==
{{#ask:
[[Category:Branches]]
[[Has parent::TOE-E:0.0.0]]
| ?Has title=Title
| format=ul
| sort=Has title
| order=ascending
| limit=500
| default=No direct children of TOE-E:0.0.0 yet.
}}
}}

Latest revision as of 15:50, 24 August 2025

TOE‑E Theory Tree

This view shows branches by their parent–child relations (property Has parent). If a branch is missing, make sure its page includes `| parent = TOE-E:0.0.0` (or the correct parent) and that the template stores it via {{#set: | Has parent = {{{parent|}}} }}.

Theory Tree

TOE‑E Theory Tree