Difference between revisions of "Qtable00"

From arguably.io
Jump to navigation Jump to search
Line 14: Line 14:
             ! row three, column one
             ! row three, column one
             | row three, column two
             | row three, column two
|}
{|class="wikitable"
|+style="color:green"| Table caption {{#if:1|<nowiki/>
  {{!}}-                        <!-- (unconditional) header row -->
  !scope="col"{{!}} 1
  !scope="col"{{!}} 2
}}{{ #if:1|<nowiki/>
  {{!}}-                    <!-- Row one will be shown because the non-empty '1' evaulates to TRUE -->
  !scope="row"{{!}} row one, column one
  {{!}} row one, column two <!-- {{!}}'s get evaluated to the pipe character '|', i.e. template:! just contains '|' -->
}}{{ #if: |<nowiki/>
  {{!}}-                    <!-- Row two NOT shown because the space between the ':' and the '|' evaluates to FALSE  -->
  !scope="row"{{!}} row two, column one
  {{!}} row two, column two
}}{{ #if: |<nowiki/>
  {{!}}-                    <!-- Row two NOT shown because the space between the ':' and the '|' evaluates to FALSE  -->
  !scope="row"{{!}} row three, column one
  {{!}} row three, column two
}}{{ #if:1|<nowiki/>
  {{!}}-                    <!-- Row four will be shown because the non-empty '1' evaluates to TRUE -->
  !scope="row"{{!}} row four, column one
  {{!}} row four, column two <!-- {{!}}'s get evaluated to the pipe character '|', i.e. template:! just contains '|' -->
}}
|}
|}

Revision as of 03:42, 14 July 2023

ScratchPad Page.

Table definitions.

  • 2023.07.13
  • table 00
{{ #if:1||-
row one, column one row one, column two
 {{ #if: ||-                     
row two, column one row two, column two}}
row three, column one row three, column two
Table caption {{#if:1|
1 2

}}{{ #if:1|

row one, column one row one, column two

}}{{ #if: |

row two, column one row two, column two

}}{{ #if: |

row three, column one row three, column two

}}{{ #if:1|

row four, column one row four, column two

}}