Template:LinkNameWithImage: Difference between revisions
From LOTR-TCG Wiki
No edit summary |
No edit summary |
||
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">{{ | </noinclude><includeonly><span class="tooltip">[[{{{PageTitle}}}|{{{Title}}}{{#if:{{{Subtitle|}}}|, {{{Subtitle}}}}}{{#if:{{{CollInfo|}}}|<nowiki /> ({{{CollInfo}}})}}]]<span>{{subst:CardImage|{{{ImageFile}}}}} | ||
[[File:{{#ifexist:File:{{{ImageFile|}}}|{{{ImageFile}}}|Card_Not_Found.jpg}}|link={{{PageTitle}}}]]</span></span></includeonly> |
Revision as of 21:49, 13 October 2021
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.