Difference between revisions of "Template:Cached Copy"
From OpenMedia
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This template is meant to display data on an image copied from Wikipedia or Wikimedia Commons. It produces a red-bordered box with the following parameters (<font color='blue'>marked in blue</font>):<br/> | This template is meant to display data on an image copied from Wikipedia or Wikimedia Commons. It produces a red-bordered box with the following parameters (<font color='blue'>marked in blue</font>):<br/> | ||
− | <table cellspacing="4" cellpadding="4" style="margin:1em 0; width:99%; font-size:100%; background-color:#FFFFEE; border-style:solid; border-color:#FF4020; border-width: 2px; clear: both; position:relative; text-align:left;" width="99%"><tr><td>This media item is originally from '''''<font color='blue'>(source = file URL)</font>'''''; it was copied to a local repository as a caching mechanism to speed up page rendering and to prevent links to break when media items are renamed on commons. For a full list of earlier authors and contributors please refer to the ['''''<font color='blue'>(source = file URL)</font>'''#filehistory file version history''] and the ['''''<font color='blue'>(creators = | + | <table cellspacing="4" cellpadding="4" style="margin:1em 0; width:99%; font-size:100%; background-color:#FFFFEE; border-style:solid; border-color:#FF4020; border-width: 2px; clear: both; position:relative; text-align:left;" width="99%"><tr><td>This media item is originally from '''''<font color='blue'>(source = file URL)</font>'''''; it was copied to a local repository as a caching mechanism to speed up page rendering and to prevent links to break when media items are renamed on commons. For a full list of earlier authors and contributors please refer to the ['''''<font color='blue'>(source = file URL)</font>'''#filehistory file version history''] and the ['''''<font color='blue'>(creators = file history URL)</font>''' metadata version history''] in the repository from which this media item has been copied.<br/> |
'''Below you find the original information from the metadata page at the time of copying (<font color='blue'>time or date</font>):'''</td></tr></table> | '''Below you find the original information from the metadata page at the time of copying (<font color='blue'>time or date</font>):'''</td></tr></table> | ||
− | The | + | The parameter '''time''' is optional. Call the template in the follwing format: |
<pre> | <pre> | ||
{{Cached Copy | {{Cached Copy | ||
Line 15: | Line 15: | ||
Click to the edit tab to see the script of the template. The use of the template should be followed by a copy of the meta data. | Click to the edit tab to see the script of the template. The use of the template should be followed by a copy of the meta data. | ||
− | </noinclude><includeonly><table cellspacing="4" cellpadding="4" style="margin:1em 0; width:99%; font-size:100%; background-color:#FFFFEE; border-style:solid; border-color:#FF4020; border-width: 2px; clear: both; position:relative; text-align:left;" width="99%"><tr><td>This media item is originally from ''{{{source|The source is missing!}}}''; it was copied to a local repository as a caching mechanism to speed up page rendering and to prevent links to break when media items are renamed on commons. For a full list of earlier authors and contributors please refer to the ''[{{{source|The source is missing!}}}#filehistory file version history]'' | + | </noinclude><includeonly><table cellspacing="4" cellpadding="4" style="margin:1em 0; width:99%; font-size:100%; background-color:#FFFFEE; border-style:solid; border-color:#FF4020; border-width: 2px; clear: both; position:relative; text-align:left;" width="99%"><tr><td>This media item is originally from ''{{{source|The source is missing!}}}''; it was copied to a local repository as a caching mechanism to speed up page rendering and to prevent links to break when media items are renamed on commons. For a full list of earlier authors and contributors please refer to the ''[{{{source|The source is missing!}}}#filehistory file version history]'' and the ''[{{{creators}}} metadata version history]'' in the repository from which this media item has been copied. |
'''Below you find the original information from the metadata page at the time of copying{{#if:{{{time|}}}| ({{{time}}})}}:''' | '''Below you find the original information from the metadata page at the time of copying{{#if:{{{time|}}}| ({{{time}}})}}:''' | ||
</td></tr></table><includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:Category}}||[[Category:Cached Commons Images]]}}</includeonly> | </td></tr></table><includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:Category}}||[[Category:Cached Commons Images]]}}</includeonly> |
Revision as of 14:06, 20 July 2010
This template is meant to display data on an image copied from Wikipedia or Wikimedia Commons. It produces a red-bordered box with the following parameters (marked in blue):
This media item is originally from (source = file URL); it was copied to a local repository as a caching mechanism to speed up page rendering and to prevent links to break when media items are renamed on commons. For a full list of earlier authors and contributors please refer to the [(source = file URL)#filehistory file version history] and the [(creators = file history URL) metadata version history] in the repository from which this media item has been copied. Below you find the original information from the metadata page at the time of copying (time or date): |
The parameter time is optional. Call the template in the follwing format:
{{Cached Copy |source= |creators= |time= }}
Click to the edit tab to see the script of the template. The use of the template should be followed by a copy of the meta data.