Template:Clean URL: Difference between revisions

From Looney Pyramid Games Wiki
Content added Content deleted
(Removing white space to see if that fixes the errors showing up for the BGG links in the info box.)
Tag: Reverted
m (Reverted edits by Dazeysan (talk) to last revision by [[User:imported>Umjahwa|imported>Umjahwa]])
Tag: Rollback
 
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.

Latest revision as of 20:48, 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.