Template:CardReadoutRow: Difference between revisions
From LOTR-TCG Wiki
(Updating max width of portrait column to account for the slightly bigger PC thumbnails) |
No edit summary |
||
Line 6: | Line 6: | ||
|- | |- | ||
| style="min-width:200px; max-width:300px" | [[File:{{{PortraitFile}}}|center|link={{{PageTitle}}}]] | | style="min-width:200px; max-width:300px" | [[File:{{{PortraitFile}}}|center|link={{{PageTitle}}}]] | ||
| 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}}} |
Revision as of 21:37, 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.