Template:CardInfobox: Difference between revisions

From LOTR-TCG Wiki
No edit summary
No edit summary
Line 21: Line 21:
{{#cargo_query:tables=Cards=C,CardReleases=CR<!--,CardSets=CS,Rarities=R-->
{{#cargo_query:tables=Cards=C,CardReleases=CR<!--,CardSets=CS,Rarities=R-->
|join on=C.ID = CR.BaseCardID<!--,CS.ID = C.SetNum,R.Abbr=C.Rarity, R.Sets HOLDS C.SetNum-->
|join on=C.ID = CR.BaseCardID<!--,CS.ID = C.SetNum,R.Abbr=C.Rarity, R.Sets HOLDS C.SetNum-->
|fields= 'Title', CR.Title,  
|fields= TRIM('Title'), CR.Title,  
'Subtitle', CR.Subtitle,
'Subtitle', CR.Subtitle,
<!--'Set', CONCAT(CS.ID, ' - ', CS.Name),
<!--'Set', CONCAT(CS.ID, ' - ', CS.Name),

Revision as of 17:30, 3 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.