Template:Ldraw: Difference between revisions
Jump to navigation
Jump to search
m (Minor formatting changes) |
No edit summary |
||
Line 1: | Line 1: | ||
[[File:LDraw logo.png|16px|link=]] [ | <includeonly>[[File:LDraw logo.png|16px|link=]] [https://www.ldraw.org/{{{1}}} {{{2}}}] on LDraw.org</includeonly><noinclude> | ||
==Usage== | |||
== Usage == | |||
<pre style="overflow:auto">{{ldraw|url|text}}</pre> | <pre style="overflow:auto">{{ldraw|url|text}}</pre> | ||
The {{code|url}} parameter should be the portion of the page's URL ''after'' {{code|<nowiki> | The {{code|url}} parameter should be the portion of the page's URL ''after'' {{code|<nowiki>https://www.ldraw.org/</nowiki>}}, e.g. {{code|article/218.html}}. | ||
The {{code|text}} parameter should be the name of the page to which the URL points. | The {{code|text}} parameter should be the name of the page to which the URL points. | ||
Line 9: | Line 11: | ||
As these parameters are "anonymous", they must be entered in the order shown above. | As these parameters are "anonymous", they must be entered in the order shown above. | ||
== | == Example == | ||
<pre style="overflow:auto">{{ldraw|article/218.html|Standards: File Format 1.0.2}}</pre> | <pre style="overflow:auto">{{ldraw|article/218.html|Standards: File Format 1.0.2}}</pre> | ||
The above example will display the following: | The above example will display the following: | ||
{{ldraw|article/218.html|Standards: File Format 1.0.2}} | |||
[[Category:Link templates]]</noinclude> | [[Category:Link templates]]</noinclude> |
Revision as of 11:16, 23 March 2019
Usage
{{ldraw|url|text}}
The url parameter should be the portion of the page's URL after https://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.
Example
{{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