Template:Has parent/doc

From Official Factorio Wiki
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