Actions

Template

Difference between revisions of "Stripref"

From Sonic Retro

 
Line 17: Line 17:
 
''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.
 
''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.
  
[[Category:Sonic Retro templates]]</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 19:19, 1 January 2022

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://sega.jp}}}}

returns:

123


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.