Template:CardSub: Difference between revisions
From LOTR-TCG Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:1}} | {{#template_params:1|2}} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#cargo_query: | {{#cargo_query: | ||
Line 6: | Line 6: | ||
|join on= C.ID = CR.ID | |join on= C.ID = CR.ID | ||
|fields= C._pageName=PageTitle, CR.ImageFilename=ImageFile, CR.Subtitle=Title | |fields= C._pageName=PageTitle, CR.ImageFilename=ImageFile, CR.Subtitle=Title | ||
|where= C.ID = '{{IDLookup|{{{1}}}}}' | |where= C.ID = '{{IDLookup|{{{1}}}|{{{2|}}}}}' | ||
|format=template | |format=template | ||
|named args=yes | |named args=yes | ||
|template=LinkNameWithImage | |template=LinkNameWithImage | ||
}}</includeonly> | }}</includeonly> |
Revision as of 00:50, 1 October 2021
This is the "CardSub" template.
It should be called in the following format:
{{CardSub |1= |2= }}
Edit the page to see the template text.