Difference between revisions of "Template:Car link"

From LFS Manual
Jump to navigationJump to search
(Created page with "<includeonly>{{abbr|[[{{{1}}}]]|{{#ifeq:{{{1}}}|XRT|XR GT Turbo|???}}}}</includeonly><noinclude> {{documentation}}")
 
m
Line 1: Line 1:
<includeonly>{{abbr|[[{{{1}}}]]|{{#ifeq:{{{1}}}|XRT|XR GT Turbo|???}}}}</includeonly><noinclude>
+
<includeonly>{{abbr|[[{{#ifeq:{{{1}}}|XRT|XR GT Turbo|???}}|{{{1}}}]]|{{#ifeq:{{{1}}}|XRT|XR GT Turbo|???}}}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}

Revision as of 15:24, 3 December 2023

Template Info-Icon.png

Template documentation

View - Edit

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.