Template:AlternateVersionTable: Difference between revisions
From LOTR-TCG Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:1}} | {{#template_params:1}} | ||
</noinclude><includeonly>{{#cargo_query:tables=Cards=C,CardReleases=CR | </noinclude><includeonly>{{#cargo_query:tables=Cards=C,CardReleases=CR | ||
|join on=C.ID = CR.BaseCardID | |join on=C.ID = CR.BaseCardID | ||
|fields=CR.ID=CardID | |fields=CR.ID=CardID | ||
,CR.CollInfo | ,CR.CollInfo | ||
Line 8: | Line 8: | ||
,CR.PortraitFilename | ,CR.PortraitFilename | ||
,REPLACE(REPLACE(C._pageName, '/Data', ''), 'Data:', '')=PageName | ,REPLACE(REPLACE(C._pageName, '/Data', ''), 'Data:', '')=PageName | ||
|where=CR.Title IS NOT NULL | |where= CR.Title IS NOT NULL | ||
AND | AND '{{TitleLookup|{{{1}}}}}' = C.Title | ||
AND CR.LanguageCode = 'EN' | AND CR.LanguageCode = 'EN' | ||
AND CR.Subset = 'S' | AND CR.Subset = 'S' |
Revision as of 08:09, 13 October 2021
This is the "AlternateVersionTable" template.
It should be called in the following format:
{{AlternateVersionTable |1= }}
Edit the page to see the template text.