Template:LinkNameWithImage: Difference between revisions

From LOTR-TCG Wiki
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:PageTitle|ImageFile|Title|Subtitle|CollInfo}}
{{#template_params:PageTitle|ImageFile|Title|Subtitle|CollInfo}}
</noinclude><includeonly><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></includeonly>
</noinclude><includeonly><span class="tooltip">[[{{{PageTitle}}}|{{{Title}}}{{#if:{{{Subtitle|}}}|, {{{Subtitle}}}}}{{#if:{{{CollInfo|}}}| &nbsp;({{{CollInfo}}})}}]]{{#widget:TooltipImage|ImageFile={{#ifexist:File:{{{ImageFile|}}}|{{{ImageFile}}}|Card_Not_Found.jpg}}|PageTitle={{{PageTitle}}}}}</span></includeonly>

Latest revision as of 22:23, 21 January 2023

This is the "LinkNameWithImage" template.

It should be called in the following format:

{{LinkNameWithImage
|PageTitle=
|ImageFile=
|Title=
|Subtitle=
|CollInfo=
}}

Edit the page to see the template text.