Template:External image: Difference between revisions

From Shifti
Jump to navigation Jump to search
Whip up a tag for linking to external images. Will document later.
 
provide an optional artist link
Line 1: Line 1:
{{float tag
{{float tag
|text= {{#if:{{{url|}}}|[{{{url|}}} {{{text|External image}}}]|'''Error: "url" parameter not provided'''}}
|text= {{#if:{{{url|}}}|[{{{url|}}} {{{text|External image}}}]|'''Error: "url" parameter not provided'''}}{{#if:{{{artist|}}}|<small>(Artist: {{#if:{{{artist-url|}}}|[{{{artist-url}}} {{{artist}}}]|{{{artist}}}}})</small>}}
}}
}}

Revision as of 02:39, 31 August 2007

{{#if:|}}
[[Image:{{{icon}}}|30px|center|Icon]] {{#if:|[ External image]|Error: "url" parameter not provided}}{{#if:|(Artist: {{#if:|[{{{artist-url}}} {{{artist}}}]|{{{artist}}}}})}}