Benjamin/Template001: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{| style="width:300px; text-align:center; border:1px solid black;background-color:#E5EECC;" | Greetings {{ #if:{{{P1|}}}|{{!}}- {{{P1}}} }} |- | B |- | B |}") |
mNo edit summary |
||
Line 1: | Line 1: | ||
{| | {| class="wikitable" border="1" | ||
<!-- | |||
{{ #if:{{{ | Row one will be shown because the '1' evaluates | ||
{{{ | to TRUE. | ||
}} | --> | ||
{{ #if:1|{{!}}- | |||
! scope="row" {{!}} row one, column one | |||
|- | <!-- | ||
| | Any {{!}}'s will get evaluated to the pipe | ||
character '|' since the template '!' just | |||
contains '|'. | |||
--> | |||
{{!}}row one, column two}} | |||
<!-- | |||
Row two will NOT be shown because the space | |||
between the ':' and the '|' evaluates to FALSE. | |||
--> | |||
{{ #if: |{{!}}- | |||
! scope="row" {{!}} row two, column one | |||
{{!}}row two, column two}} | |||
<!-- | |||
Row three will be shown. | |||
--> | |||
|- | |||
! scope="row" {{!}} row three, column one | |||
| row three, column two | |||
|} | |} |
Revision as of 23:34, 6 October 2012
row one, column one | row one, column two |
---|---|
row three, column one | row three, column two |