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

From LFS Manual
Jump to navigationJump to search
m
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<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.
 
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.
  
Line 7: Line 9:
 
{{markup|
 
{{markup|
 
<nowiki>{{car link|unknown}}</nowiki>|{{car link|unknown}}}}<!-- Template:Mra -->
 
<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.