Difference between revisions of "Template:ColourBrickLink"

From LDraw.org Wiki
Jump to navigation Jump to search
m
m (Link now shows parts in requested colour.)
Line 1: Line 1:
[[File:BrickLink favicon.png|link=http://www.bricklink.com/catalogList.asp?v=1&colorPart={{{1}}}]]<noinclude>
+
[[File:BrickLink favicon.png|link=http://www.bricklink.com/catalogList.asp?v=1&colorID={{{1}}}]]<noinclude>
 
==Usage==
 
==Usage==
 
<pre>{{colourBrickLink|number}}</pre>
 
<pre>{{colourBrickLink|number}}</pre>

Revision as of 00:41, 13 April 2013

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}}