Template:CardSub: Difference between revisions
From LOTR-TCG Wiki
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
tables=Cards=C,CardReleases=CR,CardReleases=ECR | tables=Cards=C,CardReleases=CR,CardReleases=ECR | ||
|join on= C.ID=CR.BaseCardID,ECR.ID = C.ID | |join on= C.ID=CR.BaseCardID,ECR.ID = C.ID | ||
|fields= C._pageName=PageTitle, CR.ImageFilename=ImageFile, IFNULL(CR.Subtitle,ECR.Subtitle)=Title | |fields= C._pageName=PageTitle, CR.ImageFilename=IFNULL(ImageFile,File:Card_Not_Found.jpg), IFNULL(CR.Subtitle,ECR.Subtitle)=Title | ||
|where= CR.ID = '{{IDLookup|{{{1}}}|{{{2|}}}}}' | |where= CR.ID = '{{IDLookup|{{{1}}}|{{{2|}}}}}' | ||
|format=template | |format=template |
Revision as of 02:14, 1 October 2021
This is the "CardSub" template.
It should be called in the following format:
{{CardSub |1= |2= }}
Edit the page to see the template text.