Template:CardInfobox: Difference between revisions
From LOTR-TCG Wiki
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
|style="padding:0px;"| | |style="padding:0px;"| | ||
{{#cargo_query:tables=Cards=C,CardReleases=CR<!-- | {{#cargo_query:tables=Cards=C,CardReleases=CR,CardSets=CS<!--,Rarities=R--> | ||
|join on=C.ID = CR.BaseCardID | |join on=C.ID = CR.BaseCardID,CS.ID = C.SetNum<!--,R.Abbr=C.Rarity, R.Sets HOLDS C.SetNum--> | ||
|fields= TRIM('Title'), CR.Title, | |fields= TRIM('Title'), CR.Title, | ||
TRIM('Subtitle'), CR.Subtitle, | TRIM('Subtitle'), CR.Subtitle, | ||
TRIM('Collectible'), C.IsPhysical, | |||
TRIM('Notes'), C.Notes | |||
<!--'Set', CONCAT(CS.ID, ' - ', CS.Name), | <!--'Set', CONCAT(CS.ID, ' - ', CS.Name), | ||
'Rarity', CONCAT(R.Abbr, ' - [[Rarity{{!}}', 'R.Name]]'),--> | 'Rarity', CONCAT(R.Abbr, ' - [[Rarity{{!}}', 'R.Name]]'),--> |
Revision as of 18:40, 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.