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: | {{#switch: true | ||
|{{#pos:{{{1}}}|0}} > 0 | |{{#pos:{{{1}}}|0}} >= 0 | ||
|{{#pos:{{{1}}}|1}} > 0 | |{{#pos:{{{1}}}|1}} >= 0 | ||
|{{#pos:{{{1}}}|2}} > 0 | |{{#pos:{{{1}}}|2}} >= 0 | ||
|{{#pos:{{{1}}}|3}} > 0 | |{{#pos:{{{1}}}|3}} >= 0 | ||
|{{#pos:{{{1}}}|4}} > 0 | |{{#pos:{{{1}}}|4}} >= 0 | ||
|{{#pos:{{{1}}}|5}} > 0 | |{{#pos:{{{1}}}|5}} >= 0 | ||
|{{#pos:{{{1}}}|6}} > 0 | |{{#pos:{{{1}}}|6}} >= 0 | ||
|{{#pos:{{{1}}}|7}} > 0 | |{{#pos:{{{1}}}|7}} >= 0 | ||
|{{#pos:{{{1}}}|8}} > 0 | |{{#pos:{{{1}}}|8}} >= 0 | ||
|{{#pos:{{{1}}}|9}} > 0 | |{{#pos:{{{1}}}|9}} >= 0 | ||
|{{#pos:{{{1}}}|-}} > 0 = {{#cargo_query: | |{{#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:41, 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.