Template:CardInfobox: Difference between revisions
From LOTR-TCG Wiki
No edit summary |
No edit summary |
||
Line 77: | Line 77: | ||
--> | --> | ||
{{#cargo_query:tables=Cards=C,CardReleases=CR<!--,Languages=L--> | |||
|join on=C.ID = CR.BaseCardID<!--,CR.LanguageCode=L.Code--> | |||
|<!--CONCAT(L.Code, ' - ', L.Name)=LanguageName,--> | |||
<!--CR.Title, | |||
CR.Subtitle, | |||
CR.FormattedGameText, | |||
IF(CR.Lore IS NOT NULL, CONCAT('\'\'', CR.Lore, '\'\''), NULL)=Lore, | |||
IF(CR.PromoText IS NOT NULL, CONCAT('\'\'\'', CR.PromoText, '\'\'\''), NULL)=PromoText | |||
CR.Notes,--> | |||
CR._pageName = pn1, | |||
C._pageName = pn2 | |||
|where=C.ID='{{IDLookup|{{{1}}}}}' <!--AND L.Code != 'TW'--> | |||
|intro=<!-- | |||
-->{{{!}} class="wikitable mw-collapsible mw-collapsed" style="width:100%;margin:0" | |||
{{!}}- | |||
!colspan="2" class="mw-collapsible"|[[Languages|Translations]] | |||
|format=template | |||
|template=TranslationInfoboxTable | |||
|named args= yes | |||
|outro={{!}}} | |||
|delimiter=\n | |||
|no html | |||
}}<!-- | |||
--> | |||
|- | |- | ||
|style="padding:0px;"| | |style="padding:0px;"| |
Revision as of 05:59, 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.