Template:Image ref

From Camera-wiki.org
Jump to: navigation, search

This template is for experts only and shall make it easier to create image references for moving an image caption in the style used by Template:Flickr_image to the footnotes section of a page. You can use this template together with Template:Flickr_image, Template:Flickr_image_xhtml_1.0_strict or just [..] kind of image placement. Please see the Help page on Adding images for a fuller explanation of how to use template Template:Flickr_image. The benefit is a page design which is free from image captions except the small footnote hint. Of course a page using this kind of image documentation (caption, attribution) need a references section. Small disadvantage: Other references will be mixed with the image references. Therefoe an advantage: The link to the license explanation is not texted "image rights" as necessary for briefness in Template:Flickr_image, but the whole header of the image rights explanation page appears in the footnotes, for example "image used with permission, all rights reserved" (this is also the default rights attribution here! So be cautious to choose the right allowed image license abbreviation.) Sample application if template: see page Canon.

cut & paste code with combined Template:Flickr_image:

{{Flickr_image
|image_source= 
|image= 
|image_align= 
|image_text= <ref>{{image_ref 
|image_text= 
|image_by= 
|image_rights= 
}}</ref>}}

Template attributes

image_source: full web-address of source web-page
image: full web-address of imagefile (jpg or gif format)
image_align: right, left or center (center only for images with width 240 Pixel when Template:Flickr_image_xhtml_1.0_strict is used)
image_text: call of the Image_ref template which begins with the same attribute. That second image_text attribute in the template combination is reserved for the image text
image_by: photographer or copyright owner
image_rights: image license abbreviation, must be one of the following:
CC or cc or creative commons for images licensed under Creative Commons check license on Flickr before any re-use
nc or non-commercial for images licensed under Creative Commons similar, but explicitly non-commercial
$ or commercial for images licensed under Creative Commons commercial use may be permitted; check license on Flickr before any re-use
(C) or (c) or wp or with permission for images used with permission of the copyright owner including implicit permission for images given into the wiki project's Flickr pool when the copyright holder got notice of that implication
PD or pd or public domain for images in public domain image granted as public domain by the one who made it, or image with expired copyright
fair or fair use for images used under fair use this practice is discouraged, please follow the link for the details

Example and tricky variation


(should be) achieved with

{{Flickr_image_xhtml_1.0_strict
|image_source= http://www.flickr.com/photos/53848489@N05/5277025936/in/pool-camerawiki/
|image= http://farm6.static.flickr.com/5125/5277025936_6c4c6c0ce9_m.jpg
|image_align= center
|image_text= <ref>{{image_ref 
|image_text= Camera image example
|image_by= Laurie.pettitt
|image_rights= with permission
}}</ref>}}
 
{{Flickr_image_xhtml_1.0_strict
|image_source= http://www.flickr.com/photos/53848489@N05/5277025936/in/pool-camerawiki/
|image= http://farm6.static.flickr.com/5125/5277025936_6c4c6c0ce9_m.jpg
|image_align= center
|image_text= Camera image example<ref>{{image_ref 
|image_by= Laurie.pettitt
|image_rights= with permission
}}</ref>}}
----
<REFERENCES/>

You see the trick is that the image_text attribute of the {{image_ref}} can be omitted in favor of a short caption text before the template call in the Flickr_image template's image_text attribute.