Template:ListTable: Difference between revisions

From LOTR-TCG Wiki
(converting to use a template with lazy loading support)
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:
|join on=C.ID = CR.ID
|join on=C.ID = CR.ID
|fields=
|fields=
,REPLACE(REPLACE(C._pageName, '/Data', ''), 'Data:', '')=PageTitle
REPLACE(REPLACE(C._pageName, '/Data', ''), 'Data:', '')=PageTitle
,CR.Title
,CR.Title
,CR.Subtitle
,CR.Subtitle
,CR.CollInfo
,C.CollInfo
,CR.ImageFilename=ImageFile
,CR.ImageFilename=ImageFile
|where= {{{filter|{{PromoFilter}}}}}
|where= {{{filter|{{PromoFilter}}}}}
|order by={{{sort|{{StandardSort}}}}}
|order by={{{sort|{{StandardSort}}}}}
|limit=400
|limit=400
|intro=<ul>
|intro=<ul style="columns: {{{columns|3}}}; -webkit-columns: {{{columns|3}}}; -moz-columns: {{{columns|3}}};">
|format=CardULReadout
|format=template
|template=CardULReadout
|outro=</ul>
|outro=</ul>
|named args= yes
|columns={{{columns|3}}}
|columns={{{columns|3}}}
}}
}}
</includeonly>
</includeonly>

Latest revision as of 06:43, 13 February 2023

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.