Template:NGThumb: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 30: | Line 30: | ||
size=128| | size=128| | ||
which=back | which=back | ||
frame=yes | |||
}} | }} | ||
</pre> || {{NGThumb|object=NG1093|size=128|which=back}} | </pre> || {{NGThumb|object=NG1093|size=128|which=back}} | ||
Line 45: | Line 46: | ||
object=N-1093-00-000214| | object=N-1093-00-000214| | ||
size=200| | size=200| | ||
which=image | which=image| | ||
caption=This image has '''not''' been brightened. | |||
}} | }} | ||
</pre> || {{NGThumb|object=N-1093-00-000214|size=200|which=image}} | </pre> || {{NGThumb|object=N-1093-00-000214|size=200|which=image|caption=This image has been brightened.}} | ||
|- | |- | ||
| <pre> | | <pre> | ||
Line 56: | Line 58: | ||
scale=2 | scale=2 | ||
caption=This image has been brightened. | caption=This image has been brightened. | ||
frame=yes | |||
}} | }} | ||
</pre> || {{NGThumb|object=N-1093-00-000214|size=200|which=image|scale=3|caption=This image has been brightened.}} | </pre> || {{NGThumb|object=N-1093-00-000214|size=200|which=image|scale=3|caption=This image has been brightened.|frame=yes}} | ||
|}</noinclude> | |}</noinclude> | ||
<includeonly> | <includeonly> | ||
<div class="thumb"> | {{#if:{{{frame|}}}|<div class="thumb">|}} | ||
<div class="thumbinner" style="width:{{{size|64}}}px;"> | {{#if:{{{frame|}}}|<div class="thumbinner" style="width:{{{size|64}}}px;">|}} | ||
http://research.ng-london.org.uk/iip_thumb/{{{object|NG0}}}.jpg&size={{{size|64}}}&type={{{which|front}}}&cnt={{{scale|1}}}&.jpg | http://research.ng-london.org.uk/iip_thumb/{{{object|NG0}}}.jpg&size={{{size|64}}}&type={{{which|front}}}&cnt={{{scale|1}}}&.jpg | ||
<div class="thumbcaption">{{{caption|}}}</div> | <div class="thumbcaption">{{{caption|}}}</div> | ||
</div> | {{#if:{{{frame|}}}|</div>|}} | ||
</div> | {{#if:{{{frame|}}}|</div>|}} | ||
</includeonly> | </includeonly> |
Revision as of 16:12, 19 February 2015
Template Example
This template has been set-up to allow users to directly include thumbnails of NG images directly from CID and the pyramidal images prepared from the images stored on GUIDO. Please note that this template will display any available image when used within internal wikis, for all external wikis images will need to have been made specifically public before they will be displayed.
A few examples for NG1093 can be displayed using: | |
{{NGThumb|object=NG1093}} |
|
{{NGThumb| object=NG1093| size=128| which=front }} |
|
{{NGThumb| object=NG1093| size=128| which=back frame=yes }} |
|
{{NGThumb| object=NG1093| size=200| which=x-ray }} |
|
{{NGThumb| object=N-1093-00-000214| size=200| which=image| caption=This image has '''not''' been brightened. }} |
|
{{NGThumb| object=N-1093-00-000214| size=200| which=image scale=2 caption=This image has been brightened. frame=yes }} |
|