Template:Card: Difference between revisions

From LOTR-TCG Wiki
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:1|2}}
{{#template_params:1|2}}
</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:
</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}}|{{#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 30: Line 30:
   |named args=yes
   |named args=yes
   |template=LinkNameWithImage
   |template=LinkNameWithImage
   |default={{PageLookup|{{{1}}}}} {{#replace:{{{1}}}|'|''}}
   |default={{PageLookup|{{{1}}}}}
   }}
   }}
}}</includeonly>
}}</includeonly>

Revision as of 23:40, 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.