Template:Ldraw pt: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>[[File:LDraw Parts Tracker logo.png|16px|link=]] [https://www.ldraw.org/{{{1|}}} {{{2|}}}] on the LDraw.org Parts Tracker</includeonly><noinclude> | <includeonly>[[File:LDraw Parts Tracker logo.png|16px|link=]] [https://www.ldraw.org/{{{1|}}} {{{2|}}}] on the LDraw.org Parts Tracker</includeonly><noinclude> | ||
*NOTE:* | |||
This template is currently [https://wiki.ldraw.org/wiki/Special:WhatLinksHere/Template:Ldraw_pt unused]. | |||
We should take the opportunity and simplify it strongly. Its usage is much too complicated. Easier would be: | |||
<code><nowiki>{{PT|4711}}</nowiki></code>, where 4711 is a part number. | |||
== Usage == | == Usage == |
Revision as of 11:14, 23 March 2019
- NOTE:*
This template is currently unused.
We should take the opportunity and simplify it strongly. Its usage is much too complicated. Easier would be:
{{PT|4711}}
, where 4711 is a part number.
Usage
{{ldraw_pt|url|text}}
The url parameter should be the portion of the page's URL after https://www.ldraw.org/, e.g. library/tracker/ref/numberfaq.
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_pt|library/tracker/ref/numberfaq|FAQ for LDraw Part Numbers}}
The above example will display the following:
FAQ for LDraw Part Numbers on the LDraw.org Parts Tracker