Difference between revisions of "Template:Cached Copy"

From OpenMedia
Jump to: navigation, search
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<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|The creators is missing!}}} metadata version history]'' in the repository from which this media item has been copied.
+
<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/>
 +
<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 [http://commons.wikimedia.org 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{{#if:{{{time|}}}|&32;({{{time}}})}}:'''
+
'''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>
</td></tr></table><includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:Category}}||[[Category:Cached Commons Images]]}}
+
 
 +
The parameter '''time''' is optional. Call the template in the following format:
 +
<pre>
 +
{{Cached Copy
 +
|source=
 +
|creators=
 +
|time=
 +
}}
 +
</pre>
 +
 
 +
Click on the edit tab to see the script of this template. The use of the template should be followed by a copy of the orginal information on the author(s), date, licencing, etc..
 +
</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|creators parameter (link to metadata history) is missing!}}} 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|}}}|&#32;({{{time}}})}}:'''
 +
</td></tr></table><includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:Category}}||[[Category:Cached Commons Images]]}}</includeonly>

Latest revision as of 02:22, 26 March 2011

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 following format:

{{Cached Copy
|source=
|creators=
|time=
}}

Click on the edit tab to see the script of this template. The use of the template should be followed by a copy of the orginal information on the author(s), date, licencing, etc..