Template:LinkNameWithImage: Difference between revisions

From LOTR-TCG Wiki
(Created page with "<noinclude> {{#template_params:PageTitle|ImageFile|Title|Subtitle|CollInfo}} </noinclude><includeonly> <span class="tooltip">{{{PageTitle}}}|{{DisplayName|{{{Title}}}|{{{Sub...")
 
No edit summary
 
(27 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>
</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>
<span class="tooltip">[[{{{PageTitle}}}|{{DisplayName|{{{Title}}}|{{{Subtitle|}}}|{{{CollInfo|}}}}}]]<span>[[File:{{{ImageFile}}}]]</span></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.