Template:Pic link: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Created page with "<includeonly><span class="pic-link">[[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>"
 
No edit summary
Line 1: Line 1:
<includeonly><span class="pic-link">[[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 18:59, 25 August 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 MagazineBasic Magazine

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

Basic Magazine.png: Deadlock image of Basic MagazineBasic Magazine