Template:ArtDotCom

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
m (New page: <onlyinclude><div style="clear:both"> '''{{{title|}}}''' <div style="float:right; clear:right; margin:0px 0.5em 0.5em 0.5em"> http://images.art.com/images/products/regular/10280000/{{{prod...)
 
m (Protected "Template:ArtDotCom": prot affil ID [edit=sysop:move=sysop])
 
(7 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/regular/10280000/{{{prodID}}}.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|}}} |}}
[http://affiliates.art.com/get.art?T=15058998&A=329193&L=8&P={{{prodID}}}&S=2&Y=0 Buy From Art.com] </div></div><hr style="clear:both;background-color:#000000" /></onlyinclude><noinclude>
+
[http://affiliates.art.com/get.art?T=15058998&A=329193&L=8&P={{{prodIDhigh5}}}{{{prodIDlow3|}}}&S=2&Y=0 Buy From Art.com] </div></div><hr style="clear:both;background-color:#000000" /></onlyinclude><noinclude>
'''Copy the following and paste it into your article. Include whatever information you have.
+
'''Copy the following and paste it into your article.
  
  
 
<nowiki>{{ArtDotCom</nowiki><br/>
 
<nowiki>{{ArtDotCom</nowiki><br/>
 
| title=<br/>
 
| title=<br/>
| prodID=<br/>
+
| prodIDhigh5= first 5 digits of product ID<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 17: Line 19:
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>
 +
 +
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 unless we break the product ID in half.
 +
 +
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