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>
</noinclude><includeonly>{{{1}}}{{{2}}}{{[3}}}{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}</includeonly>
 
 
XXX:{{{1|{{{2|{{{3|}}}}}}}}}:YYY
XXX:{{{2|{{{3|{{{4|}}}}}}}}}:YYY
 
 
</includeonly>

Revision as of 06:49, 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|}}}}}