Template:External link: Difference between revisions

(Created page with "<onlyinclude>*[[File:{{{image}}}|x20px|link=]] <span class="plainlinks">[{{{link}}} {{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}]</span> on {{{website}}}.</onlyinclude> This...")
 
(add class functionality)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude>*[[File:{{{image}}}|x20px|link=]] <span class="plainlinks">[{{{link}}} {{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}]</span> on {{{website}}}.</onlyinclude>
<onlyinclude>*{{#if:{{{image|}}}|<div style="display:inline-block; width:60px;"{{#if:{{{class|}}}|class="{{{class}}}"|}}>[[File:{{{image}}}|x20px|center|link=|alt=]]</div> }}<span class="plainlinks">[{{{link}}} {{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}]</span> on {{{website}}}.</onlyinclude>
This template is used to create a consistent external link template for various websites. It is formatted as such:-
This template is used to create a consistent external link template for various websites. It is formatted as such:-
<pre><nowiki>
<pre><nowiki>
{{external link
{{external link
|image  =  
|image  =  
|class  =
|website =
|website =
|link    = {{{link}}}
|link    = {{{link}}}

Latest revision as of 00:48, 18 March 2022

  • [{{{link}}} External link] on {{{website}}}.

This template is used to create a consistent external link template for various websites. It is formatted as such:-

{{external link
|image   = 
|class   = 
|website =
|link    = {{{link}}}
|title   = {{{title|}}}
}}