Template:Card: Difference between revisions
From LOTR-TCG Wiki
(Created page with "<noinclude> {{#template_params:1|2}} </noinclude><includeonly>{{#if:{{#cargo_query: tables=Cards=C,CardReleases=CR,CardReleases=ECR |join on= C.ID = CR.BaseCardID,ECR.ID = C.I...") |
No edit summary |
||
Line 50: | Line 50: | ||
, IFNULL(CR.Subtitle,ECR.Subtitle)=Subtitle | , IFNULL(CR.Subtitle,ECR.Subtitle)=Subtitle | ||
, IFNULL(CR.CollInfo,C.CollInfo)=CollInfo | , IFNULL(CR.CollInfo,C.CollInfo)=CollInfo | ||
|where= (C.Subtitle LIKE '{{{1}}}' OR C.Title LIKE '{{{1}}}' OR (C.Title LIKE {{#explode:{{{ | |where= (C.Subtitle LIKE '{{{1}}}' OR C.Title LIKE '{{{1}}}' OR (C.Title LIKE {{#explode:{{{1}}}|,|0}} AND C.Subtitle LIKE {{#explode:{{{1}}}|,|1}}) | ||
AND CR.LanguageCode = '{{{2|EN}}}' | AND CR.LanguageCode = '{{{2|EN}}}' | ||
|format=template | |format=template |
Revision as of 21:06, 17 October 2021
This is the "Card" template.
It should be called in the following format:
{{Card |1= |2= }}
Edit the page to see the template text.