Editing Template:Card
From LOTR-TCG Wiki
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:1|2}} | {{#template_params:1|2}} | ||
</noinclude><includeonly>{{#if:{{#pos:{{{1}}}|0}}{{#pos:{{{1}}}|1}}{{#pos:{{{1}}}|2}}{{#pos:{{{1}}}|3}}{{#pos:{{{1}}}|4}}{{#pos:{{{1}}}|5}}{{#pos:{{{1}}}|6}}{{#pos:{{{1}}}|7}}{{#pos:{{{1}}}|8}}{{#pos:{{{1}}}|9}}{{#pos:{{{1}}}|-}}|{{#cargo_query: | |||
</noinclude><includeonly>{{#if:{{#pos:{{{1}}}|0}}{{#pos:{{{1}}}|1}}{{#pos:{{{1}}}|2}}{{#pos:{{{1}}}|3}}{{#pos:{{{1}}}|4}}{{#pos:{{{1}}}|5}}{{#pos:{{{1}}}|6}}{{#pos:{{{1}}}|7}}{{#pos:{{{1}}}|8}}{{#pos:{{{1}}}|9}}|{{#cargo_query: | |||
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 | ||
Line 29: | Line 23: | ||
, 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. | |where= (C.Subtitle LIKE '{{{1}}}' OR C.Title LIKE '{{{1}}}' OR (C.Title LIKE '{{#explode:{{{1}}}|, |0}}' AND C.Subtitle LIKE TRIM('{{#explode:{{{1}}}|,|1}}'))) AND CR.LanguageCode = '{{{2|EN}}}' | ||
|order by=CASE WHEN C.SetNum = | |order by=CASE WHEN C.SetNum = 0 THEN 100 ELSE C.SETNUM END, C.CardNum | ||
|limit=1 | |limit=1 | ||
|more results text= | |more results text= |