Template:IDLookup: Difference between revisions

From LOTR-TCG Wiki
No edit summary
(fixing erroneous documentation)
Line 6: Line 6:
"params": {
"params": {
"1": {
"1": {
"description": "Collector's info to look up (ignored if it's a wiki ID instead)",
"description": "Collector's info or Wiki ID to look up",
"example": "1R13"
"example": "1R13 or LOTR-EN01S013.0"
}
}
},
},
"description": "Performs a lookup into the cargo Cards database.  If a card WikiID is passed (such as '''LOTR-TW01S013.0'''), it will be ignored, but otherwise it will be treated as a collector's info to be looked up instead."
"description": "Performs a lookup into the cargo Cards database.  If a collector's info is passed in, the English CardRelease ID will be returned.  If a card WikiID is passed the BaseCard ID will be returned."
}
}
</templatedata>
</templatedata>


</noinclude>
</noinclude>

Revision as of 02:05, 21 August 2022

This is the "IDLookup" template.

It should be called in the following format:

{{IDLookup
|1=
|2=
}}

Edit the page to see the template text.

Performs a lookup into the cargo Cards database. If a collector's info is passed in, the English CardRelease ID will be returned. If a card WikiID is passed the BaseCard ID will be returned.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
11

Collector's info or Wiki ID to look up

Example
1R13 or LOTR-EN01S013.0
Unknownoptional