Template:CardInfobox: Difference between revisions

From LOTR-TCG Wiki
No edit summary
No edit summary
Line 7: Line 7:
{{#tag:gallery|{{#cargo_query:tables=Cards=C,CardReleases=CR
{{#tag:gallery|{{#cargo_query:tables=Cards=C,CardReleases=CR
|join on=C.ID = CR.BaseCardID
|join on=C.ID = CR.BaseCardID
|fields= CR.ImageFilename=Filename,CR.LanguageCode,CR.Subset=Style
|fields= IFNULL(CR.ImageFilename, 'Card_Not_Found.jpg')=Filename,CR.LanguageCode,CR.Subset=Style
|where=C.ID='{{IDLookup|{{{1}}}}}'
|where=C.ID='{{IDLookup|{{{1}}}}}'
|order by=CR._rowID
|order by=CR._rowID

Revision as of 19:41, 11 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.