Template:CardReadoutRow: Difference between revisions

From LOTR-TCG Wiki
No edit summary
(Updating max width of portrait column to account for the slightly bigger PC thumbnails)
Line 5: Line 5:
</noinclude><includeonly>
</noinclude><includeonly>
|-
|-
| style="min-width:200px; max-width:275px" | [[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}}})}}]]<span>[[File:{{#ifexist:File:{{{ImageFile|}}}|{{{ImageFile}}}|Card_Not_Found.jpg}}|link={{{PageTitle}}}]]</span></span><!--{{Card|{{{CardID}}}}}-->
| style="min-width:200px" | <span class="tooltip">[[{{{PageTitle}}}|{{{Title}}}{{#if:{{{Subtitle|}}}|, {{{Subtitle}}}}}{{#if:{{{CollInfo|}}}|<nowiki /> ({{{CollInfo}}})}}]]<span>[[File:{{#ifexist:File:{{{ImageFile|}}}|{{{ImageFile}}}|Card_Not_Found.jpg}}|link={{{PageTitle}}}]]</span></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}}}]]'''

Revision as of 07:24, 21 August 2022

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.