Difference between revisions of "Delink"

From Sega Retro

(Created page with "{{#replace:{{#replace:{{{1|}}}|]|}}|[|}}<noinclude> Quick template to get rid of Mediawiki links (<nowiki>[[ ]]</nowiki>). ==Example== <pre>{{Delink|Sonic the Hedgehog}}<...")
 
(supports links with "|"; not sure if the link or the text is wanted though)
Line 1: Line 1:
{{#replace:{{#replace:{{{1|}}}|]|}}|[|}}<noinclude>
+
{{#explode:{{#replace:{{#replace:{{{1|}}}|]|}}|[|}}|{{!}}|0}}<noinclude>
 
Quick template to get rid of Mediawiki links (<nowiki>[[ ]]</nowiki>).
 
Quick template to get rid of Mediawiki links (<nowiki>[[ ]]</nowiki>).
  

Revision as of 12:33, 21 July 2018

Quick template to get rid of Mediawiki links ([[ ]]).

Example

{{Delink|[[Sonic the Hedgehog]]}}

Sonic the Hedgehog -> Sonic the Hedgehog