Difference between revisions of "Template:GetPartOrRecipeName"
(Created page with "<includeonly><!-- -->{{#show: {{{page | {{PAGENAME}} }}} | {{#ifeq: {{{boolGetPart | true }}} | true | {{#vardefine: type | Piece of Equipment}} | {{#vardefin...") |
m |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
− | -->{{#show: {{{ | + | -->{{#show: {{{1| {{PAGENAME}} }}} |
− | | {{#ifeq: {{{ | + | | {{#ifeq: {{{2 | true }}} | true |
| {{#vardefine: type | Piece of Equipment}} | | {{#vardefine: type | Piece of Equipment}} | ||
| {{#vardefine: type | Recipe (Item)}} | | {{#vardefine: type | Recipe (Item)}} |
Revision as of 23:29, 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 inboolGetPart = true
- Searches and returns the Piece of Equipment of the givenpage
boolGetPart = false
- Searches and returns the Recipe (Item) of the givenpage