Difference between revisions of "Template:LFSW stats link"

From LFS Manual
Jump to navigationJump to search
(fix for usernames with spaces)
 
Line 1: Line 1:
<includeonly>{{plain link|url=https://www.lfsworld.net/?win=stats&racer={{{1}}}|name={{{1}}}}}</includeonly><noinclude>
+
<includeonly>{{plain link|url=https://www.lfsworld.net/?win=stats&racer={{urlencode:{{{1}}}|PATH}}|name={{{1}}}}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 14:21, 17 September 2024

Template Info-Icon.png

Template documentation

View - Edit

Converts a LFSW username to an external LFSWorld link to show general online racer stats. Uses {{plain link}} internally.

Markup Renders as
{{LFSW stats link|Scawen}}
Markup Renders as
{{LFSW stats link|Rudy van Buren}}