Template:ColourBrickLink: Difference between revisions

From LDraw.org Wiki
Jump to navigation Jump to search
mNo edit summary
m (Updated link to show all parts in a particular colour, and not just those with matching images.)
 
(One intermediate revision by the same user not shown)
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?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 16:07, 8 June 2014

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:

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.