Template:CardInfobox: Difference between revisions
From LOTR-TCG Wiki
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
|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= TRIM('Title'), CR.Title, | |fields= TRIM('Title'), CR.Title, | ||
'Subtitle', CR.Subtitle, | TRIM('Subtitle'), CR.Subtitle, | ||
<!--'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]]'),--> | ||
'Card Number', C.CardNum, | TRIM('Card Number'), C.CardNum, | ||
'Revision', C.Revision, | TRIM('Revision'), C.Revision, | ||
'Collectible', C.IsPhysical, | TRIM('Collectible'), C.IsPhysical, | ||
'Notes', C.Notes | TRIM('Notes'), C.Notes | ||
|where=C.ID='{{IDLookup|{{{1}}}}}' | |where=C.ID='{{IDLookup|{{{1}}}}}' | ||
|format=template | |format=template |
Revision as of 17:31, 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.