Template:CardInfobox: Difference between revisions
From LOTR-TCG Wiki
No edit summary |
No edit summary |
||
Line 81: | Line 81: | ||
-->{{#cargo_query:tables=Cards=C,CardReleases=CR<!--,Languages=L--> | -->{{#cargo_query:tables=Cards=C,CardReleases=CR<!--,Languages=L--> | ||
|join on=C.ID = CR. | |join on=C.ID = CR.BaseCardID<!--,CR.LanguageCode=L.Code--> | ||
|<!--CONCAT(L.Code, ' - ', L.Name)=LanguageName,--> | |<!--CONCAT(L.Code, ' - ', L.Name)=LanguageName,--> | ||
CR.Title, | <!--CR.Title, | ||
CR.Subtitle, | CR.Subtitle, | ||
CR.FormattedGameText, | CR.FormattedGameText, | ||
IF(CR.Lore IS NOT NULL, CONCAT('\'\'', CR.Lore, '\'\''), NULL)=Lore, | IF(CR.Lore IS NOT NULL, CONCAT('\'\'', CR.Lore, '\'\''), NULL)=Lore, | ||
IF(CR.PromoText IS NOT NULL, CONCAT('\'\'\'', CR.PromoText, '\'\'\''), NULL)=PromoText | IF(CR.PromoText IS NOT NULL, CONCAT('\'\'\'', CR.PromoText, '\'\'\''), NULL)=PromoText | ||
CR.Notes, | CR.Notes,--> | ||
|where=C.ID='{{IDLookup|{{{1}}}}}' <!--AND L.Code != 'TW'--> | |where=C.ID='{{IDLookup|{{{1}}}}}' <!--AND L.Code != 'TW'--> | ||
|intro=<!-- | |intro=<!-- |
Revision as of 05:55, 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.