Template:ThumbnailTable: 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 2: Line 2:
{{#template_params:1}}
{{#template_params:1}}
</noinclude><includeonly>
</noinclude><includeonly>
{{#template_display:_format=standard}}</includeonly>
{{#cargo_query:tables=Cards=C,CardReleases=CR
|join on=C.ID = CR.ID
|fields=CR.ID=CardID
,IFNULL(IFNULL(CR.FormattedGameText, CR.GameText),'')=GameText
,C.Subset
,REPLACE(REPLACE(C._pageName, '/Data', ''), 'Data:', '')=PageTitle
,IFNULL(CR.ImageFilename,'File:Card_Not_Found.jpg')=ImageFile
,IFNULL(CR.PortraitFilename,'File:Portrait_Not_Found.jpg')=PortraitFile
,C.Culture
,C.CardType
,CR.Subtypes=CardSubtype
,CR.Title=Title
,CR.Subtitle=Subtitle
,CR.SiteNum
,IFNULL(CR.CollInfo,C.CollInfo)=CollInfo
|where= {{{where|{{PromoFilter}}}}}
|order by={{{sort|{{StandardSort}}}}}
|limit=400
|intro=<!--
-->{{{!}} class="wikitable sortable" style="margin:2px"
! Portrait !! Card Name !! Culture !! Card Type !! Game Text
|format=template
|template=CardReadoutRow
|named args= yes
|outro=&#x200B;
{{!}}}
|default=
|delimiter=
|no html
}}
</includeonly>

Revision as of 07:37, 9 January 2022

This is the "ThumbnailTable" template.

It should be called in the following format:

{{ThumbnailTable
|1=
}}

Edit the page to see the template text.