Template:Has parent/doc

From Official Factorio Wiki
< Template:Has parent
Revision as of 14:44, 24 July 2019 by Bilka (talk | contribs) (Created page with "Recursively lists all base classes of the prototype type given as the first parameter. Source code: <pre><nowiki>{{#ask: Has parent ::+[[{{{1}}}]] |?Has parent |format=p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Recursively lists all base classes of the prototype type given as the first parameter. Source code:

{{#ask: [[Has parent ::+]][[{{{1}}}]]
 |?Has parent
 |format=plainlist
 |mainlabel=-
 |template=Has parent
 |link=none
}} » [[{{{1}}}]]

Example: Output for Prototype/Armor:

» PrototypeBase » Prototype/Item » Prototype/Tool » Prototype/Armor