Difference between revisions of "Template:GetPartOrRecipeName"
m |
m |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
− | -->{{#show: {{{1| | + | -->{{#show: {{{1|}}} |
− | | {{#ifeq: {{{2| | + | | {{#ifeq: {{{2|}}} | true |
| {{#vardefineecho: type | Piece of Equipment}} | | {{#vardefineecho: type | Piece of Equipment}} | ||
| {{#vardefineecho: type | Recipe (Item)}} | | {{#vardefineecho: type | Recipe (Item)}} |
Revision as of 22:38, 27 June 2021
Gets the name of either the part or recipe of a given item. Parameters:
page = GetPartOrRecipeName
- The page to search for parts or recipes in (Param 1)boolGetPart = true
- Searches and returns the Piece of Equipment of the givenpage
(Param 2)boolGetPart = false
- Searches and returns the Recipe (Item) of the givenpage