Template:Prototype parent: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "<includeonly><p class="prototype-parents">{{#if: {{{1|}}} | {{#set: Has parent={{{1}}}}}}}Prototype definitions{{Has parent|{{FULLPAGENAME}}}}</p><p><br></p></includeonly>...")
 
m (Added category)
 
Line 1: Line 1:
<includeonly><p class="prototype-parents">{{#if: {{{1|}}} | {{#set: Has parent={{{1}}}}}}}[[Prototype definitions]]{{Has parent|{{FULLPAGENAME}}}}</p><p><br></p></includeonly><noinclude>{{doc}}</noinclude>
<includeonly><p class="prototype-parents">{{#if: {{{1|}}} | {{#set: Has parent={{{1}}}}}}}[[Prototype definitions]]{{Has parent|{{FULLPAGENAME}}}}</p><p><br></p></includeonly><noinclude>{{doc}}[[Category:Prototype documentation templates]]</noinclude>

Latest revision as of 14:23, 26 July 2019

[View] [Edit] [Page history]

Documentation

Displays the parents of the given prototype as a list using Template:Has parent, and puts prototype definitions in front of the list. Provide the first parameter to set the parent of the given prototype.

Example: Output for Prototype/Armor:

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


List of all templates