Difference between revisions of "Template:Cached Copy"

From OpenMedia
Jump to: navigation, search
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]'' {{#if:{{{creators|}}}|and the ''[{{{creators}}} metadata version history]''|(no meta data available)}} in the repository from which this media item has been copied.
+
</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]'' {{#if:{{{creators|}}}|and the ''[{{{creators}}} metadata version history]''|(no meta data URL available)}} 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|}}}|&#32;({{{time}}})}}:'''
 
'''Below you find the original information from the metadata page at the time of copying{{#if:{{{time|}}}|&#32;({{{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 12:54, 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 = meta data 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 2 parameters creators and time are 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.