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

Jump to: navigation, search
No edit summary
No edit summary
Line 10: Line 10:
!#if, with bar
!#if, with bar
!subst
!subst
! +, -, =
|-
|-
!a
!a
Line 15: Line 16:
|{{#if: {{{a|}}}| non-empty | empty}}
|{{#if: {{{a|}}}| non-empty | empty}}
|{{{a|subst}}}
|{{{a|subst}}}
|{{#ifeq: {{{a|+}}}|{{{a|-}}}|=|!=}}}
|-
|-
!b
!b
Line 20: Line 22:
|{{#if: {{{b|}}}| non-empty | empty}}
|{{#if: {{{b|}}}| non-empty | empty}}
|{{{b|subst}}}
|{{{b|subst}}}
|{{#ifeq: {{{b|+}}}|{{{b|-}}}|=|!=}}}
|-
|-
!c
!c
Line 25: Line 28:
|{{#if: {{{c|}}}| non-empty | empty}}
|{{#if: {{{c|}}}| non-empty | empty}}
|{{{c|subst}}}
|{{{c|subst}}}
|{{#ifeq: {{{c|+}}}|{{{c|-}}}|=|!=}}}
|-
|-
!d
!d
Line 30: Line 34:
|{{#if: {{{d|}}}| non-empty | empty}}
|{{#if: {{{d|}}}| non-empty | empty}}
|{{{d|subst}}}
|{{{d|subst}}}
|{{#ifeq: {{{d|+}}}|{{{d|-}}}|=|!=}}}
|}
|}
{{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:36, 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: