Template:Prototype TOC/parent/doc

From Official Factorio Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Generates the parent sections of a prototype TOC. It does this by recursively looking up the prototype parent of the first parameter, which is a page name, 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
}}