Template:AlternateVersionTable: Difference between revisions

From LOTR-TCG Wiki
No edit summary
No edit summary
 
(17 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,Languages=L
</noinclude><includeonly>{{#cargo_query:tables=Cards=C,CardReleases=CR
|join on=C.ID = CR.BaseCardID,CR.LanguageCode=L.Code
|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=CR.Title IS NOT NULL AND CR.Title = C.Title AND CR.LanguageCode = 'EN'
|where= CR.Title IS NOT NULL  
|order by=CR._rowID
AND '{{TitleLookup|{{{1}}}}}' = C.Title  
AND C.CollInfo != '{{{1}}}'
AND {{PromoFilter}}
AND {{HobbitFilter}}
|order by={{StandardSort}}
|intro=<!--
|intro=<!--
-->{{{!}} class="wikitable" style="width:100%;margin:0"
-->{{{!}} 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.