Difference between revisions of "Hasref"

From Sega Retro

(Created page with "<includeonly>{{#switch:{{{1|}}}|{{stripref|{{{1|}}}}}=|true}}</includeonly><noinclude> Returns "true" if the input string contains a ref. ==Example== <nowiki>{{hasref|test}}<...")
 
 
Line 7: Line 7:
 
<nowiki>{{hasref|test{{ref|https://segaretro.org}}}}</nowiki> -> {{hasref|test{{ref|https://segaretro.org}}}}
 
<nowiki>{{hasref|test{{ref|https://segaretro.org}}}}</nowiki> -> {{hasref|test{{ref|https://segaretro.org}}}}
  
[[Category:Sega Retro templates]]
+
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:06, 1 January 2022

Returns "true" if the input string contains a ref.

Example

{{hasref|test}} ->

{{hasref|test{{ref|https://segaretro.org}}}} -> true