Template:Ifincl

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:32, 17 October 2024 (Created page with "<onlyinclude>{{#ifeq:{{#rpos:{{{2}}}|{{{1}}}}}|-1|{{{4|}}}|{{{3}}}}}</onlyinclude><noinclude>{{/doc}}{{PAGENAME}}</noinclude>"). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation
This documentation is transcluded from Template:Ifincl/doc. [edit] [history] [purge]

This template detects if a given string literal exists in another. For example, detecting if 'ex' is in 'example': {{Ifincl|ex|example|1|0}} results in 1.

To use this template, add this: {{Ifincl|text to be checked if it is included|text in which to search|if text is present|if text is not present}}

The maximum of number of characters is 100.