Template:Card: Difference between revisions

From LOTR-TCG Wiki
No edit summary
No edit summary
Line 2: Line 2:
{{#template_params:1|2}}
{{#template_params:1|2}}
</noinclude><includeonly>
</noinclude><includeonly>
{{#switch: true
{{#if:{{#pos:{{{1}}}|0}}{{#pos:{{{1}}}|1}}{{#pos:{{{1}}}|2}}{{#pos:{{{1}}}|3}}{{#pos:{{{1}}}|4}}{{#pos:{{{1}}}|5}}{{#pos:{{{1}}}|6}}{{#pos:{{{1}}}|7}}{{#pos:{{{1}}}|8}}{{#pos:{{{1}}}|9}}{{#pos:{{{1}}}|-}}|{{#cargo_query:
|{{#pos:{{{1}}}|0}} >= 0
|{{#pos:{{{1}}}|1}} >= 0
|{{#pos:{{{1}}}|2}} >= 0
|{{#pos:{{{1}}}|3}} >= 0
|{{#pos:{{{1}}}|4}} >= 0
|{{#pos:{{{1}}}|5}} >= 0
|{{#pos:{{{1}}}|6}} >= 0
|{{#pos:{{{1}}}|7}} >= 0
|{{#pos:{{{1}}}|8}} >= 0
|{{#pos:{{{1}}}|9}} >= 0
|{{#pos:{{{1}}}|-}} >= 0 = {{#cargo_query:
   tables=Cards=C,CardReleases=CR,CardReleases=ECR
   tables=Cards=C,CardReleases=CR,CardReleases=ECR
   |join on= C.ID = CR.BaseCardID,ECR.ID = C.ID
   |join on= C.ID = CR.BaseCardID,ECR.ID = C.ID

Revision as of 21:53, 17 October 2021

This is the "Card" template.

It should be called in the following format:

{{Card
|1=
|2=
}}

Edit the page to see the template text.