Template:Prototype TOC/parent: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{Prototype_TOC/section|{{{1}}}|section-title=true}}{{#ask: Has parent ::+[[{{{1}}}]] |?Has parent |format=plainlist |mainlabel=- |template=Prototype TOC/...")
 
m (Added category)
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
  |template=Prototype TOC/parent
  |template=Prototype TOC/parent
  |link=none
  |link=none
}}</includeonly>
}}</includeonly><noinclude>{{doc}}[[Category:Prototype documentation templates]]</noinclude>

Latest revision as of 14:22, 26 July 2019

[View] [Edit] [Page history]

Documentation

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
}}
List of all templates