Template:CardInfobox: Difference between revisions
From LOTR-TCG Wiki
No edit summary |
No edit summary |
||
Line 60: | Line 60: | ||
TRIM('Resistance'), IF(CR.Resistance=0, NULL, CR.Resistance), | TRIM('Resistance'), IF(CR.Resistance=0, NULL, CR.Resistance), | ||
TRIM('Resistance'), IF(CR.ResistanceMod=0, NULL, CR.ResistanceMod), | TRIM('Resistance'), IF(CR.ResistanceMod=0, NULL, CR.ResistanceMod), | ||
TRIM('Signet'), IF(CR.Signet= | TRIM('Signet'), IF(CR.Signet='None', NULL, CR.Signet), | ||
TRIM('Block'), IF(CR.Block= | TRIM('Block'), IF(CR.Block='None', 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(CR.IsSanctuary = 1, 'Yes', 'No')), | TRIM('Sanctuary'), IF(CR.IsSanctuary=0, NULL, IF(CR.IsSanctuary = 1, 'Yes', 'No')), | ||
TRIM('Arrow Direction'), IF(CR.ArrowDir= | TRIM('Arrow Direction'), IF(CR.ArrowDir='None', NULL, CR.ArrowDir), | ||
TRIM('Game Text'), IF(CR.FormattedGameText=0, NULL, CR.FormattedGameText), | TRIM('Game Text'), IF(CR.FormattedGameText=0, NULL, CR.FormattedGameText), | ||
TRIM('Lore'), IF(CR.Block=0, NULL, CR.Block),CONCAT('\'\'', CR.Lore, '\'\'') | TRIM('Lore'), IF(CR.Block=0, NULL, CR.Block),CONCAT('\'\'', CR.Lore, '\'\'') |
Revision as of 00:46, 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.