Template:Include Image

From Odp

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
<noinclude>Includes a diagram setting the property [[Property:GraphicallyRepresentedBy]]</noinclude><includeonly>'''Diagram'''
<noinclude>Includes a diagram setting the property [[Property:GraphicallyRepresentedBy]]</noinclude><includeonly>'''Diagram'''
-
{{#if:{{{ImageName}}}|[[GraphicallyRepresentedBy::Image:{{{ImageName}}}|]]
+
{{#ifexist:Image:{{{ImageName}}}|[[GraphicallyRepresentedBy::Image:{{{ImageName}}}|]]
<div style="margin:auto;margin-bottom:10px;border:1px dotted #3633a4; 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>|(this pattern needs a diagram)|}}</includeonly>

Revision as of 14:09, 18 December 2008

Includes a diagram setting the property Property:GraphicallyRepresentedBy

Personal tools
Quality Committee
Content OP publishers