Template:CardReadoutRow: Difference between revisions
From LOTR-TCG Wiki
mNo edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:1}} | {{#template_params:1}} | ||
This is used as output by cargo queries that want to display a card portrait, hover-over card title link, culture, card type, and game text. | |||
</noinclude><includeonly> | </noinclude><includeonly> | ||
|- | |- | ||
| style="min-width:200px; max-width: | | style="min-width:200px; max-width:300px" | {{#widget:LazyImage|ImageFile={{{PortraitFile}}}|PageTitle={{{PageTitle}}}|Width=200}} | ||
| style="min-width:200px" | <span class="tooltip">[[{{{PageTitle}}}|{{{Title}}}{{#if:{{{Subtitle|}}}|, {{{Subtitle}}}}}{{#if:{{{CollInfo|}}}|<nowiki /> ({{{CollInfo}}})}}]] | | style="min-width:200px" | <span class="tooltip">[[{{{PageTitle}}}|{{{Title}}}{{#if:{{{Subtitle|}}}|, {{{Subtitle}}}}}{{#if:{{{CollInfo|}}}|<nowiki /> ({{{CollInfo}}})}}]]{{#widget:TooltipImage|ImageFile={{#ifexist:File:{{{ImageFile|}}}|{{{ImageFile}}}|Card_Not_Found.jpg}}|PageTitle={{{PageTitle}}}}}</span><!--{{Card|{{{CardID}}}}}--> | ||
| style="min-width:130px" | [[Image:Culture_{{{Culture}}}.svg|x20px|text-bottom|link={{{Culture}}}_Culture|class=whitebg]] '''[[{{{Culture}}}_Culture|{{{Culture}}}]]''' | | style="min-width:130px" | [[Image:Culture_{{{Culture}}}.svg|x20px|text-bottom|link={{{Culture}}}_Culture|class=whitebg]] '''[[{{{Culture}}}_Culture|{{{Culture}}}]]''' | ||
|{{{CardType}}}{{#switch: {{{CardType}}} | |{{{CardType}}}{{#switch: {{{CardType}}} |
Latest revision as of 22:15, 21 January 2023
This is the "CardReadoutRow" template.
It should be called in the following format:
{{CardReadoutRow |1= }}
Edit the page to see the template text.
This is used as output by cargo queries that want to display a card portrait, hover-over card title link, culture, card type, and game text.