Template:ArtDotCom

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
m
m (Protected "Template:ArtDotCom": prot affil ID [edit=sysop:move=sysop])
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
 
<onlyinclude><div style="clear:both">
 
<onlyinclude><div style="clear:both">
 
'''{{{title|}}}'''
 
'''{{{title|}}}'''
<div style="float:right; clear:right; margin:0px 0.5em 0.5em 0.5em"> http://images.art.com/images/products/{{#switch:{{lc:{{{format|}}}}}|compact=small|regular}}/10280000/{{{prodIDhigh5|}}}{{{prodIDlow3|}}}.jpg </div>
+
<div style="float:right; clear:right; margin:0px 0.5em 0.5em 0.5em"> http://images.art.com/images/products/{{#switch:{{lc:{{{format|}}}}}|compact=small|regular}}/{{{prodIDhigh5}}}000/{{{prodIDhigh5|}}}{{{prodIDlow3|}}}.jpg </div>
 
<div style={{#switch:{{lc:{{{format|}}}}}|compact="font-size:smaller"|"margin-left:3em"}}>
 
<div style={{#switch:{{lc:{{{format|}}}}}|compact="font-size:smaller"|"margin-left:3em"}}>
 
{{ #if:{{{name|}}} | Contributed by {{{name|}}} |}}
 
{{ #if:{{{name|}}} | Contributed by {{{name|}}} |}}
Line 10: Line 10:
 
<nowiki>{{ArtDotCom</nowiki><br/>
 
<nowiki>{{ArtDotCom</nowiki><br/>
 
| title=<br/>
 
| title=<br/>
| prodIDhigh5=<br/>
+
| prodIDhigh5= first 5 digits of product ID<br/>
| prodIDlow3=<br/>
+
| prodIDlow3= last 3 digits of product ID<br/>
 +
| name= your name, if you want to add it<br/>
 
| format=compact (optional)<nowiki>~~~</nowiki><br/>
 
| format=compact (optional)<nowiki>~~~</nowiki><br/>
 
}}
 
}}
Line 21: Line 22:
 
http://images.art.com/images/products/small/10368000/10368191.jpg
 
http://images.art.com/images/products/small/10368000/10368191.jpg
  
Unfortunately, Art.com puts images in directories on their server, so the image grab is not reliable.  
+
Unfortunately, Art.com puts images in directories on their server, so the image grab is not reliable unless we break the product ID in half.  
  
 
10368191 is in 10368000
 
10368191 is in 10368000

Latest revision as of 03:08, 5 February 2009

'


Copy the following and paste it into your article.


{{ArtDotCom
| title=
| prodIDhigh5= first 5 digits of product ID
| prodIDlow3= last 3 digits of product ID
| name= your name, if you want to add it
| format=compact (optional)~~~
}}

The optional "format=compact" parameter uses a smaller font and no left indent.

10368191.jpg

Unfortunately, Art.com puts images in directories on their server, so the image grab is not reliable unless we break the product ID in half.

10368191 is in 10368000

Personal tools