Template:Pic link: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sylphoid (talk | contribs)
add docs, redo params
Sylphoid (talk | contribs)
remove alt in file, rename param
 
Line 1: Line 1:
<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>
<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