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

Jump to: navigation, search
No edit summary
No edit summary
Line 1: Line 1:
with the bar: {{#if: {{{nocat|}}}| nocat looks non-empty | nocat looks empty }}
4 parameters -- a, b, c, and d
 
*a -- leave out of the call
without the bar: {{#if: {{{nocat}}} | nocat looks non-empty | nocat looks empty }}
*b -- include, but without an =
 
*c -- include, with an = but no value
 
*d -- include, with an = and a value
nocat+ {{{nocat|+}}}
{|
nocat- {{{nocat|-}}}
|-
!name
!#if, no bar
!#if, with bar
!subst
|-
!a
|{{if: {{{a}}}| non-empty | empty}}
|{{if: {{{a|}}}| non-empty | empty}}
|{{{a|+}}}
|-
!b
|{{if: {{{b}}}| non-empty | empty}}
|{{if: {{{b|}}}| non-empty | empty}}
|{{{b|+}}}
|-
!c
|{{if: {{{c}}}| non-empty | empty}}
|{{if: {{{c|}}}| non-empty | empty}}
|{{{c|+}}}
|-
!d
|{{if: {{{d}}}| non-empty | empty}}
|{{if: {{{d|}}}| non-empty | empty}}
|{{{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:29, 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}} Template:If:
b non-empty | empty}} Template:If:
c non-empty | empty}} Template:If:
d non-empty | empty}} Template:If:
User:AngelinaBelle/VS/buttUser:AngelinaBelle/VS/buttUser:AngelinaBelle/VS/buttUser:AngelinaBelle/VS/buttUser:AngelinaBelle/VS/buttUser:AngelinaBelle/VS/butt


Advertisement: