Template:Prototype TOC/parent/doc

From Official Factorio Wiki
< Template:Prototype TOC‎ | parent
Revision as of 13:57, 26 July 2019 by Bilka (talk | contribs) (Created page with "Generates the parent sections of a prototype TOC. It does this by recursively looking up the prototype parent and displaying it with Template:Prototype_TOC/section. Sourc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Generates the parent sections of a prototype TOC. It does this by recursively looking up the prototype parent and displaying it with Template:Prototype_TOC/section.

Source code:

{{Prototype_TOC/section|{{{1}}}|section-title=true}}{{#ask: [[Has parent ::+]][[{{{1}}}]]
 |?Has parent
 |format=plainlist
 |mainlabel=-
 |template=Prototype TOC/parent
 |link=none
}}