Template:ListTable: Difference between revisions

From LOTR-TCG Wiki
No edit summary
No edit summary
Line 5: Line 5:
|join on=C.ID = CR.ID
|join on=C.ID = CR.ID
|fields=
|fields=
,CONCAT('<span class="tooltip">[[',  REPLACE(REPLACE(C._pageName, '/Data', ''), 'Data:', ''),  '|',  CR.Title,  CASE WHEN CR.Subtitle IS NULL THEN '' ELSE CONCAT(', ', CR.Subtitle) END, ' (', IFNULL(CR.CollInfo,C.CollInfo), ')]]<span>[[File:', IFNULL(CR.ImageFilename,'Card_Not_Found.jpg'), ']]</span></span>')=CardName
,CONCAT('<span class="tooltip">[[',  REPLACE(REPLACE(C._pageName, '/Data', ''), 'Data:', ''),  '|',  CR.Title,  CASE WHEN CR.Subtitle IS NULL THEN '' ELSE CONCAT(', ', CR.Subtitle) END, ' (', IFNULL(CR.CollInfo,C.CollInfo), ')]]<span>[[File:', IFNULL(CR.ImageFilename,'Card_Not_Found.jpg'), '|500x500px]]</span></span>')=CardName
|where= {{{filter|{{PromoFilter}}}}}
|where= {{{filter|{{PromoFilter}}}}}
|order by={{{sort|{{StandardSort}}}}}
|order by={{{sort|{{StandardSort}}}}}

Revision as of 05:49, 4 March 2022

This is the "ListTable" template.

It should be called in the following format:

{{ListTable
|filter=
|sort=
|columns=
}}

Edit the page to see the template text.