Template:ColourBrickset: Difference between revisions

From LDraw.org Wiki
Jump to navigation Jump to search
(Created page with "link=http://www.brickset.com/parts/browse/colours/?colour={{{colour}}}<noinclude> ==Usage== <pre>{{colourBrickset|colour}}</pre> This template cr...")
 
m (Updated to use new Brickset URL for browsing parts.)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:Brickset favicon.png|link=http://www.brickset.com/parts/browse/colours/?colour={{{colour}}}]]<noinclude>
[[File:Brickset favicon.png|link=http://brickset.com/parts/colour-{{{1}}}]]<noinclude>
==Usage==
==Usage==
<pre>{{colourBrickset|colour}}</pre>
<pre>{{colourBrickset|colour}}</pre>
This template creates a link to the Brickset colour database.</noinclude>
This template creates a link to the Brickset colour database.
 
If a colour name includes a space, the space must be replaced with '''%20'''. For example, Bright Blue would be created like this:
 
<pre>{{colourBrickset|Bright%20Blue}}</pre></noinclude>

Latest revision as of 10:20, 8 June 2014

Usage

{{colourBrickset|colour}}

This template creates a link to the Brickset colour database.

If a colour name includes a space, the space must be replaced with %20. For example, Bright Blue would be created like this:

{{colourBrickset|Bright%20Blue}}