Template:CardInfobox: Difference between revisions
From LOTR-TCG Wiki
No edit summary |
No edit summary |
||
Line 80: | Line 80: | ||
|style="padding:0px;"|<!-- | |style="padding:0px;"|<!-- | ||
-->{{#cargo_query:tables=Cards=C,CardReleases=CR,Languages=L | -->{{#cargo_query:tables=Cards=C,CardReleases=CR<!--,Languages=L--> | ||
|join on=C.ID = CR.BaseCardID,CR.LanguageCode=L.Code | |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, | ||
Line 89: | Line 89: | ||
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=<!-- | ||
--> | -->{{{!}} class="wikitable mw-collapsible mw-collapsed" style="width:100%;margin:0" | ||
{{!}}- | {{!}}- | ||
!colspan="2" class="mw-collapsible"|[[Languages|Translations]] | !colspan="2" class="mw-collapsible"|[[Languages|Translations]] |
Revision as of 05:53, 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.