Template:Pic link: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
East (talk | contribs)
No edit summary
Sylphoid (talk | contribs)
add docs, redo params
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}}}|{{{size|{{{2|24}}}}}}px|alt={{{1}}}.png: Deadlock image of {{{1}}}]]</span> [[{{{1}}}|{{{txt|{{{1}}}}}}]]</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 09:10, 21 September 2024

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