Template:Among: Difference between revisions

From FasciPedia
Jump to navigation Jump to search
en>DasGewisseEtwas
mNo edit summary
 
m (Text replacement - "{{Documentation}}" to "{{Doc}}")
 
(5 intermediate revisions by the same user not shown)
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}}</noinclude>


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>
{{Doc}}

Latest revision as of 02:25, 29 February 2024


[create] Documentation