Template:Pic link: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
100 brightness
LVL (talk | contribs)
Updated template to fix the issue of some stat icons having weird colors
Line 1: Line 1:
<includeonly><span class="pic-link" style="filter: brightness(100) saturate(100%);">[[File:{{{pic|{{{1}}}}}}.png|link={{{1}}}|{{{size|{{{3|24}}}}}}px]]</span> [[{{{1}}}|{{{altText|{{{2|{{{1}}}}}}}}}]]</includeonly><noinclude>{{Documentation}}</noinclude>
<includeonly><span class="pic-link" style="filter: grayscale(1) brightness(0) invert(1);">[[File:{{{pic|{{{1}}}}}}.png|link={{{1}}}|{{{size|{{{3|24}}}}}}px]]</span> [[{{{1}}}|{{{altText|{{{2|{{{1}}}}}}}}}]]</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 16:20, 16 October 2025

Template documentation [view] [edit] [history] [purge]

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|Health}}

Health

{{plink|Health|health|48}}
health