Template:Updated diagram: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
(adding auto category and fixing image display)
(fixing if statement)
Line 1: Line 1:
<includeonly>[[Image:{{{1}}}|thumb|left|100px]] This diagram has been superseded by a newer the newer image file on the left.  {{#if: {{{2}}} | This new image was created from the diagram file [[:Image:{{{2}}}]].  If you modify this diagram, please try to do it by modifying the associated diagram file and then re-exporting over top of the superceded image.}}  Any pages linking to this image, should probably be changed to point to the new image instead.  This file can either be kept for historical reasons, or if it is no longer needed it can be deleted.
<includeonly>[[Image:{{{1}}}|thumb|left|100px]] This diagram has been superseded by a newer the newer image file on the left.  {{#if: {{{2|}}} | This new image was created from the diagram file [[:Image:{{{2}}}]].  If you modify this diagram, please try to do it by modifying the associated diagram file and then re-exporting over top of the superceded image.}}  Any pages linking to this image, should probably be changed to point to the new image instead.  This file can either be kept for historical reasons, or if it is no longer needed it can be deleted.
[[Category: Updated diagrams]]</includeonly><noinclude>
[[Category: Updated diagrams]]</includeonly><noinclude>



Revision as of 20:47, 23 May 2011


This is a simple template which marks an image as being supereseded by a newer version of the diagram, potentially accompanied by a diagram source file used to produce the new picture.

Usage

{{Updated diagram | NewImage.png}}

{{Updated diagram | NewImage.png | NewImage.dia}}