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'''
-
[[GraphicallyRepresentedBy::Image:{{{ImageName}}}|]]
+
{{#if:{{{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></includeonly>
+
</div>|(this pattern needs a diagram)|}}</includeonly>

Revision as of 13:58, 18 December 2008

Includes a diagram setting the property Property:GraphicallyRepresentedBy

Personal tools
Quality Committee
Content OP publishers