Template:OptRowSec: Difference between revisions

From NOWA-CL
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{!}}}
==Values==
* "{{{2|}}}" = "{{{3|}}}"
* "{{{4|}}}" = "{{{5|}}}"
* "{{{6|}}}" = "{{{7|}}}"
* "{{{8|}}}" = "{{{9|}}}"
* "{{{10|}}}" = "{{{11|}}}"
* "{{{12|}}}" = "{{{13|}}}"
* "{{{14|}}}" = "{{{15|}}}"
* "{{{16|}}}" = "{{{17|}}}"
* "{{{18|}}}" = "{{{19|}}}"
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 20: Line 7:
  {{!}}Label2 {{!}}Value2
  {{!}}Label2 {{!}}Value2
  ...
  ...
  }}</noinclude><includeonly>
  }}
{{!}}}
</noinclude><includeonly>{{
==AnyOf===
#if: {{AnyOf|{{{3|}}}|{{{5|}}}|{{{7|}}}|{{{9|}}}|{{{11|}}}|{{{13|}}}|{{{15|}}}|{{{17|}}}|{{{19|}}}}}|{{CR}}
* "{{AnyOf|{{{3|}}}|{{{5|}}}|{{{7|}}}|{{{9|}}}|{{{11|}}}|{{{13|}}}|{{{15|}}}|{{{17|}}}|{{{19}}}}}|{{CR}}"
{{
#if: {{AnyOf|{{{3|}}}|{{{5|}}}|{{{7|}}}|{{{9|}}}|{{{11|}}}|{{{13|}}}|{{{15|}}}|{{{17|}}}|{{{19}}}}}|{{CR}}
{{!}}-{{CR}}
{{!}}-{{CR}}
!colspan=2 align=left{{!}}'''{{{1|}}}'''
!colspan=2 align=left{{!}}'''{{{1|}}}'''

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
...
}}