Actions

Template

Stripref

From Sonic Retro

Revision as of 17:33, 16 August 2018 by Hivebrain (talk | contribs) (Created page with "<includeonly>{{clearvar|striprefresult}}{{#loop: subchar | 0 | {{#len:{{{1}}}}} | {{#if: {{#pos:abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-1234567890,._/()'"|{{#sub:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Segaretro-round.svg This template has been manually copied from Sega Retro, specifically Template:Stripref
Technical restrictions prevent this template from being shared across multiple wikis. In the medium term, any changes should be made to the Sega Retro variant first, before manually copying the contents back here. As this is not an automatic process, this version of the template might also be out of date.

This template removes references from a string.

Usage

{{stripref|123{{ref|http://segaretro.org}}}}

returns:

123Category

Badexternalreference


Warning: Don't repeatedly use for the same string, because each usage is listed in the references section. Instead, store the string to a variable and use that.