Template:CardInfobox: Difference between revisions
From LOTR-TCG Wiki
No edit summary |
No edit summary |
||
Line 63: | Line 63: | ||
TRIM('Block'), IF(CR.Block=0, NULL, CR.Block), | TRIM('Block'), IF(CR.Block=0, NULL, CR.Block), | ||
TRIM('Shadow Number'), IF(CR.ShadowNum=0, NULL, CR.ShadowNum), | TRIM('Shadow Number'), IF(CR.ShadowNum=0, NULL, CR.ShadowNum), | ||
TRIM('Sanctuary'), IF(CR.IsSanctuary=0, NULL, IF( | TRIM('Sanctuary'), IF(CR.IsSanctuary=0, NULL, IF(CR.IsSanctuary = 1, 'Yes', 'No')), | ||
TRIM('Arrow Direction'), IF(CR.ArrowDir=0, NULL, CR.ArrowDir), | TRIM('Arrow Direction'), IF(CR.ArrowDir=0, NULL, CR.ArrowDir), | ||
TRIM('Game Text'), IF(CR.FormattedGameText=0, NULL, CR.FormattedGameText), | TRIM('Game Text'), IF(CR.FormattedGameText=0, NULL, CR.FormattedGameText), |
Revision as of 00:37, 4 October 2021
This is the "CardInfobox" template.
It should be called in the following format:
{{CardInfobox |ID= }}
Edit the page to see the template text.