Template:Contains: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:contains|value|haystack={{{1|needle in a haystack}}}|needle={{{2|needle}}}}}</includeonly><noinclude> | <includeonly>{{#invoke:contains|value|haystack={{{1|needle in a haystack}}}|needle={{{2|needle}}}}}</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
<nowiki>{{#ifeq:{{contains|chocolate|choco}}|1|print if true|print if false}}</nowiki> | <nowiki>{{#ifeq:{{contains|chocolate|choco}}|1|print if true|print if false}}</nowiki> |