Template:Pic link: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
No edit summary
East (talk | contribs)
No edit summary
Line 1: Line 1:
<includeonly><span class="pic-link" style="filter: brightness(0) saturate(100%);">[[File:{{{pic|{{{1}}}}}}.png|link={{{1}}}{{#if:{{{size|}}}|{{!}}{{{size}}}px}}|alt={{{1}}}.png: Deadlock image of {{{1}}}]]</span>[[{{{1}}}|{{{txt|{{{1}}}}}}]]</includeonly><noinclude>{{/doc}}</noinclude>
<includeonly><span class="pic-link" style="filter: brightness(0) saturate(100%);">[[File:{{{pic|{{{1}}}}}}.png|link={{{1}}}{{#if:{{{size|}}}|{{!}}{{{size}}}px}}|alt={{{1}}}.png: Deadlock image of {{{1}}}]]</span> [[{{{1}}}|{{{txt|{{{1}}}}}}]]</includeonly><noinclude>{{/doc}}</noinclude>

Revision as of 22:07, 6 September 2024

Usage

This template will create an icon with a link. In most cases, this template should be used in tables, navboxes, or lists to help with navigation. Avoid using it in writing on mainspace pages, as pages should use normal wikilinks.

Examples

{{plink|Basic Magazine}}

Basic Magazine.png: Deadlock image of Basic Magazine Basic Magazine

{{plink|Basic Magazine|basic mag|48}}

Basic Magazine.png: Deadlock image of Basic Magazine Basic Magazine