Template:OptRowSec: Difference between revisions

From NOWA-CL
Jump to navigation Jump to search
(Created page with "<noinclude> This macro adds a section header and the relevant rows if any of the values are set. ==Usage== '''{{OptRowSec {{!}}Segment Header {{!}}Lable1 {{!}}Value1...")
 
No edit summary
 
(47 intermediate revisions by the same user not shown)
Line 7: Line 7:
  {{!}}Label2 {{!}}Value2
  {{!}}Label2 {{!}}Value2
  ...
  ...
  }}</noinclude><includeonly>{{
  }}
#if: {{{3|{{{5|{{{7|{{{9|{{{11|{{{13|{{{15|{{{17}}}}}}}}}}}}}}}}}}}}}}}}|!colspan=2 align=left{{!}}{{{1}}}!colspan=2 align=left|{{{2|}}}
</noinclude><includeonly>{{
#if: {{AnyOf|{{{3|}}}|{{{5|}}}|{{{7|}}}|{{{9|}}}|{{{11|}}}|{{{13|}}}|{{{15|}}}|{{{17|}}}|{{{19|}}}}}|{{CR}}
{{!}}-{{CR}}
!colspan=2 align=left{{!}}'''{{{1|}}}'''
{{!}}-{{CR}}
{{
{{
OR|{{{4}}}|{{{3}}}{{
OR|{{{3|}}}|{{{2|}}}}}{{
OR|{{{6}}}|{{{5}}}{{
OR|{{{5|}}}|{{{4|}}}}}{{
OR|{{{8}}}|{{{7}}}{{
OR|{{{7|}}}|{{{6|}}}}}{{
OR|{{{10}}}|{{{9}}}{{
OR|{{{9|}}}|{{{8|}}}}}{{
OR|{{{12}}}|{{{11}}}{{
OR|{{{11|}}}|{{{10|}}}}}{{
OR|{{{14}}}|{{{13}}}{{
OR|{{{13|}}}|{{{12|}}}}}{{
OR|{{{16}}}|{{{15}}}{{
OR|{{{15|}}}|{{{14|}}}}}{{
OR|{{{18}}}|{{{17}}}
OR|{{{17|}}}|{{{16|}}}}}{{
OR|{{{19|}}}|{{{18|}}}}}
}}</includeonly>
}}</includeonly>

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