Difference between revisions of "Template:Car link/doc"

From LFS Manual
Jump to navigationJump to search
m
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{car link|XRT}}
+
<noinclude>{{documentation subpage}}</noinclude>
 +
 
 +
Converts a 3-character LFS car abbreviation to an internal link to its car page and uses the full car name as the link title.
 +
 
 +
{{markup|
 +
<nowiki>{{car link|XFG}}</nowiki>|{{car link|XFG}}}}<!-- Template:Mra -->
 +
{{markup|
 +
<nowiki>{{car link|XRT}}</nowiki>|{{car link|XRT}}}}<!-- Template:Mra -->
 +
{{markup|
 +
<nowiki>{{car link|unknown}}</nowiki>|{{car link|unknown}}}}<!-- Template:Mra -->
 +
 
 +
{{markup|
 +
<nowiki>The best car is {{car link|XRR}} because it is so fun to drive.</nowiki>|The best car is {{car link|XRR}} because it is so fun to drive.}}<!-- Template:Mra -->
  
 
<includeonly>
 
<includeonly>
 +
[[Category:Text formatting templates]]
 
[[Category:LFS content templates]]
 
[[Category:LFS content templates]]
 
</includeonly>
 
</includeonly>

Latest revision as of 10:51, 24 January 2024

Information icon4.png This is a documentation subpage for Template:Car link.

It may contain usage information, categories and other content that is not part of the original page.

Converts a 3-character LFS car abbreviation to an internal link to its car page and uses the full car name as the link title.

Markup Renders as
{{car link|XFG}}

XFG

Markup Renders as
{{car link|XRT}}

XRT

Markup Renders as
{{car link|unknown}}
Markup Renders as
The best car is {{car link|XRR}} because it is so fun to drive.

The best car is XRR because it is so fun to drive.