Template:Has parent: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#ask: Has parent ::+[[{{{1}}}]] |?Has parent |format=plainlist |mainlabel=- |template=Has parent |link=none }} » [[{{{1}}}]]</includeonly><noinclude>{...")
(No difference)

Revision as of 14:44, 24 July 2019

[View] [Edit] [Page history]

Documentation

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