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.
 
m put the line break in the wrong spot. :)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{float tag
{{float tag
|text= {{#if:{{{url|}}}|[{{{url|}}} {{{text|External image}}}]|'''Error: "url" parameter not provided'''}}
|text-background=#f9f9f9
|icon=Image icon.png
|text= {{#if:{{{url|}}}|[{{{url|}}} {{{text|External image}}}]|'''Error: "url" parameter not provided'''}}{{#if:{{{artist|}}}|<br/><small>(Artist: {{#if:{{{artist-url|}}}|[{{{artist-url}}} {{{artist}}}]|{{{artist}}}}})</small>}}
}}
}}

Latest revision as of 00:03, 1 September 2007

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