Benjamin/Template001: Difference between revisions

From Tripwire Interactive Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(57 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable" border="1"
{{#ifeq: {{{param1|}}} | Mag | Hooray...! | Darn...! }}
<!--
  Row one will be shown because the '1' evaluates
  to TRUE.
-->
{{ #if:{{{P1|}}}|{{!}}-
  ! 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
|}

Latest revision as of 04:29, 17 October 2012

Darn...!