Template:AlternateVersionTable: Difference between revisions
From LOTR-TCG Wiki
No edit summary |
No edit summary |
||
(19 intermediate revisions by the same user not shown) | |||
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. | |join on=C.ID = CR.ID | ||
|fields=CR.ID=CardID | |fields=CR.ID=CardID | ||
,CR.CollInfo | ,CR.CollInfo | ||
,CR.GameText | ,IFNULL(IFNULL(CR.FormattedGameText, CR.GameText),'')=GameText | ||
,CR.PortraitFilename | ,CR.PortraitFilename | ||
,REPLACE(REPLACE(C._pageName, '/Data', ''), 'Data:', '')=PageName | ,REPLACE(REPLACE(C._pageName, '/Data', ''), 'Data:', '')=PageName | ||
|where= | |where= CR.Title IS NOT NULL | ||
|order by= | AND '{{TitleLookup|{{{1}}}}}' = C.Title | ||
AND C.CollInfo != '{{{1}}}' | |||
AND {{PromoFilter}} | |||
AND {{HobbitFilter}} | |||
|order by={{StandardSort}} | |||
|intro=<!-- | |intro=<!-- | ||
-->{{{!}} class="wikitable" style=" | -->{{{!}} class="wikitable" style="margin:2px" | ||
! Portrait !! Name !! Game Text | ! Portrait !! Name !! Game Text | ||
|format=template | |format=template | ||
Line 20: | Line 24: | ||
|default= | |default= | ||
|delimiter= | |delimiter= | ||
|no html | |||
}}</includeonly> | }}</includeonly> |
Latest revision as of 06:19, 21 January 2023
This is the "AlternateVersionTable" template.
It should be called in the following format:
{{AlternateVersionTable |1= }}
Edit the page to see the template text.