Template:Pic link: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
East (talk | contribs)
No edit summary
Sylphoid (talk | contribs)
remove alt in file, rename param
 
(One intermediate revision by the same user not shown)
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|{{{3|24}}}}}}px]]</span> [[{{{1}}}|{{{altText|{{{2|{{{1}}}}}}}}}]]</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 01:11, 22 September 2024

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

Usage[edit source]

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[edit source]

{{plink|Basic Magazine}}

Basic Magazine

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