Template:Among: Difference between revisions

From FasciPedia
Jump to navigation Jump to search
m (1 revision imported)
No edit summary
Line 1: Line 1:
<includeonly>{{#switch:{{{1|}}}|{{{2}}}|{{{3}}}|{{{4}}}|{{{5}}}|{{{6}}}|{{{7}}}=1|}}</includeonly><noinclude>{{pp-template|small=yes}}''Usage:'' <nowiki>{{among|key|string1|...|stringn}}</nowiki>
<includeonly>{{#switch:{{{1|}}}|{{{2}}}|{{{3}}}|{{{4}}}|{{{5}}}|{{{6}}}|{{{7}}}=1|}}</includeonly><noinclude>{{pp-template|small=yes}}''Usage:'' <nowiki>{{among|key|string1|...|stringn}}</nowiki>
Produces '''1''' (equivalent to a true condition) if ''key'' is equal to any of the subsequent parameters; otherwise produces the empty string (false condition). Maximum number of parameters (excluding ''key''): 6.</noinclude>

Revision as of 13:12, 3 February 2024

Usage: {{among|key|string1|...|stringn}}