Template:AnyOf: Difference between revisions

From NOWA-CL
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
==Usage==
==Usage==
  '''{{'''AnyOf{{!}}{{{foo{{!}}}}}|{{{bar{{!}}}}}|{{{baz{{!}}}}}'''}}'''
  '''{{'''AnyOf{{!}}{{{foo{{!}}}}}|{{{bar{{!}}}}}|{{{baz{{!}}}}}'''}}'''
</noinclude><includeonly>{{{1}}}{{{2}}}{{{3}}}{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}</includeonly>
</noinclude><includeonly>{{{1}}}</includeonly>

Revision as of 07:12, 21 December 2019

Semantic Sugar.

Returns a non-empty string if any of the first 3 arguments is a non-empty string

Usage

{{AnyOf|{{{foo|}}}|{{{bar|}}}|{{{baz|}}}}}