Template:Ldraw: Difference between revisions

From LDraw.org Wiki
Jump to navigation Jump to search
(Created page with "16px|link= <span class="plainlinks">[http://www.ldraw.org/{{{1}}} {{{2}}}]</span> on LDraw.org<noinclude> ==Usage== <pre style="overflow:auto">{{ldraw|...")
 
m (Minor formatting changes)
Line 1: Line 1:
[[File:LDraw logo.png|16px|link=]] <span class="plainlinks">[http://www.ldraw.org/{{{1}}} {{{2}}}]</span> on LDraw.org<noinclude>
[[File:LDraw logo.png|16px|link=]] [http://www.ldraw.org/{{{1}}} {{{2}}}] on LDraw.org<noinclude>
==Usage==
==Usage==
<pre style="overflow:auto">{{ldraw|url|text}}</pre>
<pre style="overflow:auto">{{ldraw|url|text}}</pre>
Line 14: Line 14:
The above example will display the following:
The above example will display the following:


[[File:LDraw logo.png|16px|link=]] <span class="plainlinks">[http://www.ldraw.org/article/218.html Standards: File Format 1.0.2]</span> on LDraw.org
[[File:LDraw logo.png|16px|link=]] [http://www.ldraw.org/article/218.html Standards: File Format 1.0.2] on LDraw.org
[[Category:Link templates]]</noinclude>
[[Category:Link templates]]</noinclude>

Revision as of 17:05, 24 January 2015

{{{2}}} on LDraw.org

Usage

{{ldraw|url|text}}

The url parameter should be the portion of the page's URL after http://www.ldraw.org/, e.g. article/218.html.

The text parameter should be the name of the page to which the URL points.

As these parameters are "anonymous", they must be entered in the order shown above.

Examples

{{ldraw|article/218.html|Standards: File Format 1.0.2}}

The above example will display the following:

Standards: File Format 1.0.2 on LDraw.org