Template talk:Original

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

This template takes two optional arguments: the first is for the name of an image more suitable for general use, and the second is information about the version. Thus:

With both parameters:

{{original|Image:Example.jpg|Scan of page 25 in Example text by John Doe.}}

Without the image name:

{{original||Scan of page 25 in Example text by John Doe.}}

Without either argument:

{{original}}


As the examples above show, this template doesn't recognise parameter 2. Also as # ifexists is considered an expensive parser function call, then it could be rewritten more efficiently:

<noinclude>
This template is for Wikisource, etc. which requires that images appear EXACTLY as they did in the work in question, so updated versions, corrections to errors(!), etc. can be prevented from ruining the original work with this template</noinclude>
<div style="clear:both;" />
{| class="messagebox"
|align="center"|[[Image:Achtung.svg|30px|WARNING]]
|align="left"|
This file is an '''original''' and ''may'' be '''obsolete''' for general use, but is kept for historical or archival use. As such, it should not be modified or deleted except to correct upload or technical errors. '''''Any modified versions or replacements of this image should be uploaded with a different file name.'''''  {{#ifexist:{{NAMESPACE}}:{{{1}}}|A version of this file more suitable for general use can be found at [[:{{NAMESPACE}}:{{{1}}}]].|{{#ifexist:{{{1}}}|A version of this file more suitable for general use can be found at [[:{{{1}}}]].}}}}
{{#if:{{{2|}}}|<br />
Information about this file:
:''{{{2}}}''}}
|}<includeonly>{{{category|[[Category:Originals]]}}}</includeonly><noinclude>

----
Takes two optional parameters:
# The name of an image more suitable for general use.
# Information about the version of the image itself.

See [[Template talk:Original|talk]] for specific examples and results.

[[Category:Marker templates|{{PAGENAME}}]]
</noinclude>
Hello, the template is unprotected now, feel free to do it yourself. --The Evil IP address (talk) 13:22, 2 September 2009 (UTC)[reply]