Template:OptRowSec: Difference between revisions

From NOWA-CL
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
{{
OR|{{{3|}}}|{{{2|}}}}}{{
OR|{{{5|}}}|{{{4|}}}}}{{
OR|{{{7|}}}|{{{6|}}}}}{{
OR|{{{9|}}}|{{{8|}}}}}{{
OR|{{{11|}}}|{{{10|}}}}}{{
OR|{{{13|}}}|{{{12|}}}}}{{
OR|{{{15|}}}|{{{14|}}}}}{{
OR|{{{17|}}}|{{{16|}}}}}
This macro adds a section header and the relevant rows if any of the values are set.
This macro adds a section header and the relevant rows if any of the values are set.
==Usage==
==Usage==
Line 10: Line 19:
#if: {{AnyOf|{{{3|}}}|{{{5|}}}|{{{7|}}}|{{{9|}}}|{{{11|}}}|{{{13|}}}|{{{15|}}}|{{{17|}}}}}|{{CR}}
#if: {{AnyOf|{{{3|}}}|{{{5|}}}|{{{7|}}}|{{{9|}}}|{{{11|}}}|{{{13|}}}|{{{15|}}}|{{{17|}}}}}|{{CR}}
{{!}}-
{{!}}-
!colspan=1 align=left{{!}}{{{1}}}{{CR}}{{
!colspan=1 align=left{{!}}{{{1}}}{{CR}}
OR|{{{3|}}}|{{{2|}}}}}{{
OR|{{{5|}}}|{{{4|}}}}}{{
OR|{{{7|}}}|{{{6|}}}}}{{
OR|{{{9|}}}|{{{8|}}}}}{{
OR|{{{11|}}}|{{{10|}}}}}{{
OR|{{{13|}}}|{{{12|}}}}}{{
OR|{{{15|}}}|{{{14|}}}}}{{
OR|{{{17|}}}|{{{16|}}}}}
}}</includeonly>
}}</includeonly>

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