Template:QueryCardCategories: Difference between revisions

From LOTR-TCG Wiki
(Created page with "<noinclude> {{#template_params:1}} </noinclude><includeonly> {{#cargo_query: tables=Cards=C, CardReleases=CR |fields=C.CardType, C.Culture, CR.LanguageCode, CR.Subset CR.Revis...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
{{#cargo_query:
{{#cargo_query:
tables=Cards=C, CardReleases=CR
tables=Cards=C, CardReleases=CR
|fields=C.CardType, C.Culture, CR.LanguageCode, CR.Subset CR.Revision
|fields=C.CardType, C.Culture, CR.LanguageCode, C.SetNum, CR.Subset, CR.Revision
|where=C.ID={{IDLookup|{{{1}}}}}
|where=C.ID='{{IDLookup|{{{1}}}}}'
|join on=C.ID=CR.BaseCardID
|join on=C.ID=CR.BaseCardID
|format=template
|format=template

Latest revision as of 20:01, 13 October 2021

This is the "QueryCardCategories" template.

It should be called in the following format:

{{QueryCardCategories
|1=
}}

Edit the page to see the template text.