User:AngelinaBelle/VS: Difference between revisions From Online Manual

Jump to: navigation, search
No edit summary
No edit summary
Line 14: Line 14:
|{{#if: {{{a}}}| non-empty | empty}}
|{{#if: {{{a}}}| non-empty | empty}}
|{{#if: {{{a|}}}| non-empty | empty}}
|{{#if: {{{a|}}}| non-empty | empty}}
|{{{a|+}}}
|{{{a|subst}}}
|-
|-
!b
!b
|{{#if: {{{b}}}| non-empty | empty}}
|{{#if: {{{b}}}| non-empty | empty}}
|{{#if: {{{b|}}}| non-empty | empty}}
|{{#if: {{{b|}}}| non-empty | empty}}
|{{{b|+}}}
|{{{b|subst}}}
|-
|-
!c
!c
|{{#if: {{{c}}}| non-empty | empty}}
|{{#if: {{{c}}}| non-empty | empty}}
|{{#if: {{{c|}}}| non-empty | empty}}
|{{#if: {{{c|}}}| non-empty | empty}}
|{{{c|+}}}
|{{{c|subst}}}
|-
|-
!d
!d
|{{#if: {{{d}}}| non-empty | empty}}
|{{#if: {{{d}}}| non-empty | empty}}
|{{#if: {{{d|}}}| non-empty | empty}}
|{{#if: {{{d|}}}| non-empty | empty}}
|{{{d|+}}}
|{{{d|subst}}}
|}
|}
{{Main parts header|heading={{#switch:{{{style|butt}}}|mainpage=5|#default=centered}}|category=[[:Category:As an administrator|As an administrator]]}}
{{Main parts header|heading={{#switch:{{{style|butt}}}|mainpage=5|#default=centered}}|category=[[:Category:As an administrator|As an administrator]]}}

Revision as of 16:32, 8 March 2011

4 parameters -- a, b, c, and d

  • a -- leave out of the call
  • b -- include, but without an =
  • c -- include, with an = but no value
  • d -- include, with an = and a value
name #if, no bar #if, with bar subst
a non-empty empty subst
b non-empty empty subst
c non-empty empty subst
d non-empty empty subst
User:AngelinaBelle/VS/buttUser:AngelinaBelle/VS/buttUser:AngelinaBelle/VS/buttUser:AngelinaBelle/VS/buttUser:AngelinaBelle/VS/buttUser:AngelinaBelle/VS/butt


Advertisement: