Template:OptRowSec: Difference between revisions

From NOWA-CL
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
  {{!}}Label2 {{!}}Value2
  {{!}}Label2 {{!}}Value2
  ...
  ...
  }}</noinclude><includeonly>
  }}</noinclude><includeonly>{{#if:test|
{{!}}}
{{!}}}
==values==
==values==
Line 14: Line 14:
* "{{{6|}}}" = "{{{7|}}}"
* "{{{6|}}}" = "{{{7|}}}"
* "{{{8|}}}" = "{{{9|}}}"
* "{{{8|}}}" = "{{{9|}}}"
* "{{{10|}}}" = "{{{11|}}}"
* "{{{10|}}}" = "{{{11|}}}"|
{{
{{
#if: {{AnyOf|{{{3|}}}|{{{5|}}}|{{{7|}}}|{{{9|}}}|{{{11|}}}|{{{13|}}}|{{{15|}}}|{{{17|}}}}}|{{CR}}
#if: {{AnyOf|{{{3|}}}|{{{5|}}}|{{{7|}}}|{{{9|}}}|{{{11|}}}|{{{13|}}}|{{{15|}}}|{{{17|}}}}}|{{CR}}
Line 29: Line 29:
OR|{{{15|}}}|{{{14|}}}}}{{
OR|{{{15|}}}|{{{14|}}}}}{{
OR|{{{17|}}}|{{{16|}}}}}
OR|{{{17|}}}|{{{16|}}}}}
}}</includeonly>
}}}}</includeonly>

Revision as of 07:31, 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
...
}}