Template:Live Image: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Tlosk
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifexist:File:{{strip|{{{1|}}}}}|
<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}}
== Syntax ==
== Syntax ==
<pre>
<pre>
{{Live Image|<File Name>|<Caption>}}
{{Live Image|<File Name>|<Caption>}}
</pre>
<pre>
{{Live Image|{{{Live Image|}}}|{{{Live Image Caption|}}}}}
</pre>
</pre>


== Usage ==
== 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.
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 "Live.jpg" is specified.


[[Category:Wiki Template]]
[[Category:Wiki Template]]
</noinclude>
</noinclude>

Latest revision as of 10:37, 24 October 2009

Related topics: Wiki Templates

Syntax

{{Live Image|<File Name>|<Caption>}}
{{Live Image|{{{Live Image|}}}|{{{Live Image 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 "Live.jpg" is specified.