Template:CardInfobox: Difference between revisions
From LOTR-TCG Wiki
No edit summary |
No edit summary |
||
Line 48: | Line 48: | ||
|fields= TRIM('Gameplay Info')=TableName, | |fields= TRIM('Gameplay Info')=TableName, | ||
IF(C.IsPlayable = 1, 'Yes', 'No')=Playable, | IF(C.IsPlayable = 1, 'Yes', 'No')=Playable, | ||
C.CardType, | |||
CONCAT('[[Image:', C.Culture, '.svg{{!}}x20px{{!}}text-bottom{{!}}link=', C.Culture, '_Culture{{!}}class=whitebg]] \'\'\'[[', C.Culture, '_Culture{{!}}', C.Culture, ']]\'\'\'')=Culture, | CONCAT('[[Image:', C.Culture, '.svg{{!}}x20px{{!}}text-bottom{{!}}link=', C.Culture, '_Culture{{!}}class=whitebg]] \'\'\'[[', C.Culture, '_Culture{{!}}', C.Culture, ']]\'\'\'')=Culture, | ||
CONCAT('[[', IF(C.Side='Freeps', 'Free Peoples', C.Side), ']]')=Side, | CONCAT('[[', IF(C.Side='Freeps', 'Free Peoples', C.Side), ']]')=Side, | ||
CT.SubtypeClass, CR.Subtypes, | CT.SubtypeClass, CR.Subtypes, | ||
CR.TwilightCost, | |||
IF(CR.Strength=0, NULL, CR.Strength)=Strength, | IF(CR.Strength=0, NULL, CR.Strength)=Strength, | ||
IF(CR.StrengthMod=0, NULL, CR.StrengthMod)=StrengthMod, | IF(CR.StrengthMod=0, NULL, CR.StrengthMod)=StrengthMod, |
Revision as of 06:15, 9 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.