Template:Include Image

From Odp

(Difference between revisions)
Jump to: navigation, search
Current revision (13:26, 3 March 2010) (view source)
 
(5 intermediate revisions not shown.)
Line 1: Line 1:
-
<noinclude>Includes a diagram setting the property [[Property:GraphicallyRepresentedBy]]</noinclude><includeonly>'''Diagram'''
+
<noinclude>Includes the image without setting any property</noinclude><includeonly>
-
{{#if:{{{ImageName}}}|[[GraphicallyRepresentedBy::Image:{{{ImageName}}}|]]
+
{{#ifeq:{{{ImageName|}}}|||<div style="margin:auto;margin-bottom:10px; overflow:auto;text-align:center;padding:5px;">
-
<div style="margin:auto;margin-bottom:10px;border:1px dotted #3633a4; overflow:auto;text-align:center;padding:5px;">
+
[[Image:{{{ImageName}}}]]
[[Image:{{{ImageName}}}]]
-
</div>|(this pattern needs a diagram)|}}</includeonly>
+
</div>}}</includeonly>

Current revision

Includes the image without setting any property

Personal tools
Quality Committee
Content OP publishers