Template:OptRowSec: Difference between revisions

From NOWA-CL
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
  ...
  ...
  }}</noinclude><includeonly>{{
  }}</noinclude><includeonly>{{
#if: {{AnyOf|{{{1|{{{3|}}}|{{{5|}}}|{{{7|}}}|{{{9|}}}|{{{11|}}}|{{{13|}}}|{{{15|}}}|{{{17|}}}}}|
#if: {{AnyOf|{{{1|{{{3|}}}|{{{5|}}}|{{{7|}}}|{{{9|}}}|{{{11|}}}|{{{13|}}}|{{{15|}}}|{{{17|}}}}}|xyz
{{
{{
OR|{{{1|}}}|{{{2|}}}}}{{
OR|{{{1|}}}|{{{2|}}}}}{{

Revision as of 06:28, 21 December 2019

This macro adds a section header and the relevant rows if any of the values are set.

Usage

{{OptRowSec
|Segment Header
|Lable1 |Value1
|Label2 |Value2
...
}}