Template:Clean URL: Difference between revisions

From Looney Pyramid Games Wiki
Content added Content deleted
imported>Umjahwa
(Alternative template for cleaning URLs until the Lua module is fixed)
 
(Removing white space to see if that fixes the errors showing up for the BGG links in the info box.)
Tag: Reverted
Line 1: Line 1:
{{#replace: {{#explode: {{{1}}} | | 0}} | [ |}}
{{#replace:{{#explode:{{{1}}}| |0}}|[|}}
<noinclude>
<noinclude>
This is a helper template for the new infobox. It takes an input url formatted as <nowiki>[www.websitename.org link_text]</nowiki> and strips it down to just the URL so it can be saved in a semantic URL property.
This is a helper template for the new infobox. It takes an input url formatted as <nowiki>[www.websitename.org link_text]</nowiki> and strips it down to just the URL so it can be saved in a semantic URL property.

Revision as of 20:38, 24 May 2023

{{{1}}}

This is a helper template for the new infobox. It takes an input url formatted as [www.websitename.org link_text] and strips it down to just the URL so it can be saved in a semantic URL property.