User:This, that and the other/subst and safesubst/subst


Start of template

  • Parameter 1: {{{1}}}.
  • Parameter 1 or nothing: .
  • "YEAH" if parameter 1 set, "AWWW" if parameter 1 not set ({{#if:{{{1|}}}|YEAH|AWWW}}): AWWW
  • The same #if switch, but with <includeonly>subst:</includeonly> code: AWWW
  • The same #if switch, but with sub<includeonly></includeonly>st: code: {{subst:#if:|YEAH|AWWW}}
  • The same #if switch, but with <includeonly>safesubst:</includeonly> code: AWWW

End of template