Template:OptRowSec: Difference between revisions
Jump to navigation
Jump to search
JeffEvarts (talk | contribs) No edit summary |
JeffEvarts (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{!}}} | {{!}}} | ||
==Values== | ==Values== | ||
Line 18: | Line 10: | ||
* "{{{14|}}}" = "{{{15|}}}" | * "{{{14|}}}" = "{{{15|}}}" | ||
* "{{{16|}}}" = "{{{17|}}}" | * "{{{16|}}}" = "{{{17|}}}" | ||
* "{{{18|}}}" = "{{{ | * "{{{18|}}}" = "{{{19|}}}" | ||
{{ | This macro adds a section header and the relevant rows if any of the values are set. | ||
#if: {{AnyOf|{{{3|}}}|{{{5|}}}|{{{7|}}}|{{{9|}}}|{{{11|}}}|{{{13|}}}|{{{15|}}}|{{{17|}}}}}|{{CR}} | ==Usage== | ||
'''{{OptRowSec | |||
{{!}}Segment Header | |||
{{!}}Lable1 {{!}}Value1 | |||
{{!}}Label2 {{!}}Value2 | |||
... | |||
}}</noinclude><includeonly>{{ | |||
#if: {{AnyOf|{{{3|}}}|{{{5|}}}|{{{7|}}}|{{{9|}}}|{{{11|}}}|{{{13|}}}|{{{15|}}}|{{{17|}}}|{{{19}}}}}|{{CR}} | |||
{{!}}-{{CR}} | {{!}}-{{CR}} | ||
!colspan=2 align=left{{!}}'''{{{1|}}}''' | !colspan=2 align=left{{!}}'''{{{1|}}}''' | ||
{{!}}- | {{!}}-{{CR}} | ||
{{ | {{ | ||
OR|{{{3|}}}|{{{2|}}}}}{{ | OR|{{{3|}}}|{{{2|}}}}}{{ | ||
Line 33: | Line 33: | ||
OR|{{{13|}}}|{{{12|}}}}}{{ | OR|{{{13|}}}|{{{12|}}}}}{{ | ||
OR|{{{15|}}}|{{{14|}}}}}{{ | OR|{{{15|}}}|{{{14|}}}}}{{ | ||
OR|{{{17|}}}|{{{16|}}}}} | OR|{{{17|}}}|{{{16|}}}}}{{ | ||
OR|{{{19|}}}|{{{18|}}}}} | |||
}}</includeonly> | }}</includeonly> |
Revision as of 08:13, 21 December 2019
|}
Values
- "" = ""
- "" = ""
- "" = ""
- "" = ""
- "" = ""
- "" = ""
- "" = ""
- "" = ""
- "" = ""
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 ... }}