Template:ThumbnailTable: Difference between revisions

From LOTR-TCG Wiki
(Created page with "<noinclude> {{#template_params:1}} </noinclude><includeonly> {{#template_display:_format=standard}}</includeonly>")
 
(Undo revision 111957 by Teltura (talk))
Tag: Undo
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:1}}
{{#template_params:filter|sort}}
</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= {{{filter|{{PromoFilter}}}}}
|order by={{{sort|{{StandardSort}}}}}
|limit=400
|intro=<!--
-->{{{!}} class="cargoQueryTable sortable cargoDynamicTable" style="margin:4px"
! Portrait !! Card Name !! Culture !! Card Type !! Game Text
|format=template
|template=CardReadoutRow
|named args= yes
|outro=&#x200B;
{{!}}}
|default=''No Cards Found
|delimiter=
|no html
}}
</includeonly>

Latest revision as of 21:33, 24 September 2022

This is the "ThumbnailTable" template.

It should be called in the following format:

{{ThumbnailTable
|filter=
|sort=
}}

Edit the page to see the template text.