Template:AlternateVersionTable: Difference between revisions

From LOTR-TCG Wiki
(Created page with "<noinclude> {{#template_params:1}} </noinclude><includeonly> {{#template_display:_format=standard}}</includeonly>")
 
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:1}}
{{#template_params:1}}
</noinclude><includeonly>
</noinclude><includeonly>{{#cargo_query:tables=Cards=C,CardReleases=CR,Languages=L
{{#template_display:_format=standard}}</includeonly>
|join on=C.ID = CR.BaseCardID,CR.LanguageCode=L.Code
|fields=CR.ID=CardID
,CR.CollInfo
,CR.GameText
,CR.PortraitFilename
,REPLACE(REPLACE(C._pageName, '/Data', ''), 'Data:', '')=PageName
|where=C.ID='{{IDLookup|{{{1}}}}}' AND CR.LanguageCode = 'EN'
|order by=CR._rowID
|intro=<!--
-->{{{!}} class="wikitable" style="width:100%;margin:0"
! Portrait !! Name !!  Game Text
|format=template
|template=CardSimpleReadoutRow
|named args= yes
|outro=&#x200B;
{{!}}}
|default=
|delimiter=
}}</includeonly>

Revision as of 07:57, 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.