Template:Lugnet: Difference between revisions

From LDraw.org Wiki
Jump to navigation Jump to search
mNo edit summary
m (Minor code fix)
 
Line 1: Line 1:
[[File:LUGNET favicon.png|14px|link=]] [{{{1}}} {{{2}}}] on LUGNET.com<noinclude>
[[File:LUGNET favicon.png|14px|link=]] [http://{{{1}}} {{{2}}}] on LUGNET.com<noinclude>
==Usage==
==Usage==
<pre style="overflow:auto">{{lugnet|url|text}}</pre>
<pre style="overflow:auto">{{lugnet|url|text}}</pre>


The {{code|url}} parameter should be the page's full URL, e.g. {{code|<nowiki>http://news.lugnet.com/cad/dev/?n=11180</nowiki>}}.
The {{code|url}} parameter should be the page's full URL minus the {{code|http://}}, e.g. {{code|<nowiki>news.lugnet.com/cad/dev/?n=11180</nowiki>}}.


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 10: Line 10:


==Examples==
==Examples==
<pre style="overflow:auto">{{lugnet|http://news.lugnet.com/cad/dev/?n=11180|Removed BFC in LDView 4.1}}</pre>
<pre style="overflow:auto">{{lugnet|news.lugnet.com/cad/dev/?n=11180|Removed BFC in LDView 4.1}}</pre>


The above example will display the following:
The above example will display the following:

Latest revision as of 18:05, 29 January 2015

{{{2}}} on LUGNET.com

Usage

{{lugnet|url|text}}

The url parameter should be the page's full URL minus the http://, e.g. news.lugnet.com/cad/dev/?n=11180.

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

{{lugnet|news.lugnet.com/cad/dev/?n=11180|Removed BFC in LDView 4.1}}

The above example will display the following:

Removed BFC in LDView 4.1 on LUGNET.com