Template:Card: Difference between revisions

From LOTR-TCG Wiki
m (Teltura moved page Template:Card2 to Template:Card without leaving a redirect: Upgrading to support title reference)
mNo edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:1|2}}
{{#template_params:1|2}}
</noinclude><includeonly>
</noinclude><includeonly>{{#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:
{{#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:
   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
Line 33: Line 32:
   |default={{PageLookup|{{{1}}}}}
   |default={{PageLookup|{{{1}}}}}
   }}
   }}
}}
}}</includeonly>
{{#explode:{{{1}}}|,|0}}xx{{#explode:{{{1}}}|,|1}}
</includeonly>

Revision as of 01:36, 18 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.