Template:AnyOf: Difference between revisions

From NOWA-CL
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:
==Usage==
==Usage==
  '''{{'''AnyOf{{!}}{{{foo{{!}}}}}|{{{bar{{!}}}}}|{{{baz{{!}}}}}'''}}'''
  '''{{'''AnyOf{{!}}{{{foo{{!}}}}}|{{{bar{{!}}}}}|{{{baz{{!}}}}}'''}}'''
</noinclude><includeonly>
</noinclude><includeonly>{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}}</includeonly>
 
 
XXX:{{{1|{{{2|{{{3|}}}}}}}}}:YYY
XXX:{{{2|{{{3|{{{4|}}}}}}}}}:YYY
 
 
</includeonly>

Latest revision as of 08:18, 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|}}}}}