Template:CardInfobox: Difference between revisions

From LOTR-TCG Wiki
No edit summary
No edit summary
Line 2: Line 2:
{{#template_params:ID}}
{{#template_params:ID}}
</noinclude><includeonly>
</noinclude><includeonly>
{{#if:{{#pos:{{{1}}}|-}}|{{CardInfoBox_ID|{{{1}}}}}|{{CardInfoBox_ID|{{#cargo_query:tables=Cards|fields=ID|where=Cards.CollInfo='{{{1}}}'|no html}}}}}}</includeonly>
teh cards: {{{1}}}
 
{{#cargo_query:  
tables=Cards=C,CardReleases=CR
|fields='Image:'TRIM(CR.ImageFilename)
|join on=C.ID = CR.BaseCardID
|where= C.ID = '{{{1}}}'
|format=list
|delimiter=\n}}
</includeonly>

Revision as of 06:07, 28 September 2021

This is the "CardInfobox" template.

It should be called in the following format:

{{CardInfobox
|ID=
}}

Edit the page to see the template text.