Jump to content

Theory Tree: Difference between revisions

From TOE-E Archive
No edit summary
Tag: Reverted
Undo revision 187 by Admin (talk)
Tag: Undo
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.


; If you don’t see a tree:
This view shows branches by their parent–child relations (property '''Has parent''').
# Make sure each branch template call includes: <code>| parent = TOE-E:0.0.0</code>
If a branch is missing, make sure its page includes `| parent = TOE-E 0.0.0` (or the correct parent)
# Ensure [[Property:Has parent]] is <code>[[Has type::Page]]</code>.
and that the template stores it via `{{#set: | Has parent = {{{parent|}}} }}`.
# Purge each branch page (or do a null edit) so SMW updates.


== Dynamic tree ==
== Tree ==
{{#ask:
= TOE-E Theory Tree =
[[Category:Branches]]
[[Has parent::+]]
| ?Has title=Title
| format=tree
| parent=Has parent
| roots=TOE-E:0.0.0
| link=all
| limit=500
| 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:
{{#ask:
[[Category:Branches]]
  [[Category:Branches]]
[[Has parent::TOE-E:0.0.0]]
  | ?Has title=Title
| ?Has title=Title
  | ?Has description=Summary
| format=ul
  | format=tree
| sort=Has title
  | parent=Has parent  <!-- this tells SRF what property defines the hierarchy -->
| order=ascending
  | roots=TOE-E 0.0.0
| limit=500
  | depth=10
| default=No direct children of TOE-E:0.0.0 yet.
  | limit=500
  | default=No branches found yet.
}}
}}

Revision as of 00:56, 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 ``.

Tree

TOE-E Theory Tree