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

Jump to: navigation, search
No edit summary
No edit summary
Line 12: Line 12:
|-
|-
!a
!a
|{{if: {{{a}}}| non-empty | empty}}
|{{#if: {{{a}}}| non-empty | empty}}
|{{if: {{{a|}}}| non-empty | empty}}
|{{#if: {{{a|}}}| non-empty | empty}}
|{{{a|+}}}
|{{{a|+}}}
|-
|-
!b
!b
|{{if: {{{b}}}| non-empty | empty}}
|{{#if: {{{b}}}| non-empty | empty}}
|{{if: {{{b|}}}| non-empty | empty}}
|{{#if: {{{b|}}}| non-empty | empty}}
|{{{b|+}}}
|{{{b|+}}}
|-
|-
!c
!c
|{{if: {{{c}}}| non-empty | empty}}
|{{#if: {{{c}}}| non-empty | empty}}
|{{if: {{{c|}}}| non-empty | empty}}
|{{#if: {{{c|}}}| non-empty | empty}}
|{{{c|+}}}
|{{{c|+}}}
|-
|-
!d
!d
|{{if: {{{d}}}| non-empty | empty}}
|{{#if: {{{d}}}| non-empty | empty}}
|{{if: {{{d|}}}| non-empty | empty}}
|{{#if: {{{d|}}}| non-empty | empty}}
|{{{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]]}}
{{#switch:{{{style|butt}}}|mainpage=|#default=<table style="width: 100%">}}
{{#switch:{{{style|butt}}}|mainpage=|#default=<table style="width: 100%">}}

Revision as of 16:30, 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
b non-empty empty
c non-empty empty
d non-empty empty
User:AngelinaBelle/VS/buttUser:AngelinaBelle/VS/buttUser:AngelinaBelle/VS/buttUser:AngelinaBelle/VS/buttUser:AngelinaBelle/VS/buttUser:AngelinaBelle/VS/butt


Advertisement: