Difference between revisions of "Template:ColourBrickLink"

From LDraw.org Wiki
Jump to navigation Jump to search
m (Link now shows parts in requested colour.)
m (Updated link to show all parts in a particular colour, and not just those with matching images.)
 
Line 1: Line 1:
[[File:BrickLink favicon.png|link=http://www.bricklink.com/catalogList.asp?v=1&colorID={{{1}}}]]<noinclude>
+
[[File:BrickLink favicon.png|link=http://www.bricklink.com/catalogList.asp?colorPart={{{1}}}]]<noinclude>
 
==Usage==
 
==Usage==
 
<pre>{{colourBrickLink|number}}</pre>
 
<pre>{{colourBrickLink|number}}</pre>
 
This template creates a link to the BrickLink colour database.
 
This template creates a link to the BrickLink colour database.
  
BrickLink colours are defined by numbers, and the list of these can be found [http://www.bricklink.com/catalogColors.asp here]. Therefore, Blue would be created like this:  
+
BrickLink colours are defined by numbers, and the list of these can be found [http://www.bricklink.com/catalogColors.asp here]. Therefore, '''Blue''' would be created like this:  
  
<pre>{{colourBrickLink|7}}</pre></noinclude>
+
<pre>{{colourBrickLink|7}}</pre>
 +
 
 +
The result would be as follows: {{colourBrickLink|7}}
 +
 
 +
Please note that as not all part/colour combinations are available as images on BrickLink, some example images may appear in a colour other than the one selected.</noinclude>

Latest revision as of 08:07, 8 June 2014

BrickLink favicon.png

Usage

{{colourBrickLink|number}}

This template creates a link to the BrickLink colour database.

BrickLink colours are defined by numbers, and the list of these can be found here. Therefore, Blue would be created like this:

{{colourBrickLink|7}}

The result would be as follows: BrickLink favicon.png

Please note that as not all part/colour combinations are available as images on BrickLink, some example images may appear in a colour other than the one selected.