Template:GalleryQuery: Difference between revisions

From LOTR-TCG Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Filename|LanguageCode|Style}}
{{#template_params:Filename|LanguageCode|Style|Revision}}
</noinclude><includeonly>{{#ifexist:File:{{{Filename}}}|File:{{{Filename}}}|File:Card_Not_Found.jpg}}{{!}}{{#ifeq:{{{LanguageCode}}}|TW|Tengwar|{{{LanguageCode}}}}} {{#switch: {{{Rarity|C}}}
</noinclude><includeonly>{{#ifexist:File:{{{Filename}}}|File:{{{Filename}}}|File:Card_Not_Found.jpg}}{{!}}{{#ifeq:{{{LanguageCode}}}|TW|Tengwar|{{{LanguageCode}}}}} {{#switch: {{{Rarity|C}}}
| Promotional = Promo | Megasized Promo = Oversized | W = Online-only | }} {{#switch: {{{Style|S}}}
| Promotional = Promo | Megasized Promo = Oversized | W = Online-only | }} {{#switch: {{{Style|S}}}
| M | S = Nonfoil | F = Foil | A = Alt Image Foil | O = Masterwork Foil | B = Beta Image | N = Misprint | Nonfoil}}<br></includeonly>
| M | S = Nonfoil | F = Foil | A = Alt Image Foil | O = Masterwork Foil | B = Beta Image | N = Misprint | }} {{#switch: {{{Revision|0}}}|0 = First Edition| Revision {{{Revision}}}}}<br></includeonly>

Latest revision as of 19:04, 16 November 2021

This is the "GalleryQuery" template.

It should be called in the following format:

{{GalleryQuery
|Filename=
|LanguageCode=
|Style=
|Revision=
}}

Edit the page to see the template text.