Template:Live Image: Difference between revisions
From Drunkapedia
imported>Tlosk No edit summary |
imported>Tlosk No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly>{{#ifexist:File:{{strip|{{{1|}}}}}| | ||
{{#ifeq:{{{1|}}}|Live.jpg||[[File:{{{1|}}}{{!}}frame{{!}}{{{2|}}}|right]]}}}}|}}</includeonly><noinclude> | {{#ifeq:{{{1|}}}|Live.jpg||[[File:{{{1|}}}{{!}}frame{{!}}{{{2|}}}|right]]}}}}|}}</includeonly><noinclude> | ||
{{Related|Wiki Templates}} | {{Related|Wiki Templates}} |
Revision as of 10:26, 24 October 2009
Related topics: Wiki Templates
Syntax
{{Live Image|<File Name>|<Caption>}}
Usage
This is a subcomponent used in many templates to display a live image and caption in a frame box, right justified. No image/frame will be displayed if the image has not been uploaded or if it "Live.jpg" is specified.