Template:CardInfobox: Difference between revisions

From LOTR-TCG Wiki
No edit summary
No edit summary
Line 71: Line 71:
|format=template
|format=template
|template=CardInfoTable
|template=CardInfoTable
|named args= yes
|delimiter=\n
|no html
}}<!--
-->
|-
|style="padding:0px;"|<!--
-->{{#cargo_query:tables=Cards=C,CardReleases=CR,Languages=L
|join on=C.ID = CR.BaseCardID,CR.LanguageCode=L.Code
|fields= TRIM('Translations')=TableName,
CONCAT(L.Code, ' - ', L.Name)=LanguageName,
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,
|where=C.ID='{{IDLookup|{{{1}}}}}' AND L.Code != 'TW'
|format=template
|template=TranslationInfoboxTable
|named args= yes
|named args= yes
|delimiter=\n
|delimiter=\n

Revision as of 04:47, 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.