Jump to content

User:Mifield/:sandbox/tests/YesNo tests/test

From Wikipedia, the free encyclopedia

positional parameter

[edit]

empty positional parameter

[edit]
  • "{{{1}}}" → "{{{1}}}"
  • "{{{1|}}}" → ""
  • "{{YesNo|{{{1|}}}}}" → ""
  • "{{YesNo-Yes|{{{1|}}}}}" → "yes"
  • "{{YesNo-No|{{{1|}}}}}" → "no"
  • "{{YesNo|{{{1|}}}}}" → ""
  • "{{{1}}}{{{1|}}}" → "{{{1}}}"
  • "{{YesNo|{{{1}}}{{{1|}}}}}" → "yes"
  • "{{YesNo-Yes|{{{1}}}{{{1|}}}}}" → "yes"
  • "{{YesNo-No|{{{1}}}{{{1|}}}}}" → "no"


positional parameter is "true"

[edit]
  • "{{{1}}}" → "{{{1}}}"
  • "{{{1|}}}" → ""
  • "{{YesNo|{{{1|}}}}}" → ""
  • "{{YesNo-Yes|{{{1|}}}}}" → "yes"
  • "{{YesNo-No|{{{1|}}}}}" → "no"
  • "{{YesNo|{{{1|}}}}}" → ""
  • "{{{1}}}{{{1|}}}" → "{{{1}}}"
  • "{{YesNo|{{{1}}}{{{1|}}}}}" → "yes"
  • "{{YesNo-Yes|{{{1}}}{{{1|}}}}}" → "yes"
  • "{{YesNo-No|{{{1}}}{{{1|}}}}}" → "no"


positional parameter is "false"

[edit]
  • "{{{1}}}" → "{{{1}}}"
  • "{{{1|}}}" → ""
  • "{{YesNo|{{{1|}}}}}" → ""
  • "{{YesNo-Yes|{{{1|}}}}}" → "yes"
  • "{{YesNo-No|{{{1|}}}}}" → "no"
  • "{{YesNo|{{{1|}}}}}" → ""
  • "{{{1}}}{{{1|}}}" → "{{{1}}}"
  • "{{YesNo|{{{1}}}{{{1|}}}}}" → "yes"
  • "{{YesNo-Yes|{{{1}}}{{{1|}}}}}" → "yes"
  • "{{YesNo-No|{{{1}}}{{{1|}}}}}" → "no"


named parameter

[edit]

empty named parameter

[edit]
  • "{{{debug}}}" → "{{{debug}}}"
  • "{{{debug|}}}" → ""
  • "{{YesNo|{{{debug|}}}}}" → ""
  • "{{YesNo-Yes|{{{debug|}}}}}" → "yes"
  • "{{YesNo-No|{{{debug|}}}}}" → "no"
  • "{{YesNo|{{{debug|}}}}}" → ""
  • "{{{debug}}}{{{debug|}}}" → "{{{debug}}}"
  • "{{YesNo|{{{debug}}}{{{debug|}}}}}" → "yes"
  • "{{YesNo-Yes|{{{debug}}}{{{debug|}}}}}" → "yes"
  • "{{YesNo-No|{{{debug}}}{{{debug|}}}}}" → "no"

named parameter is "true"

[edit]
  • "{{{debug}}}" → "{{{debug}}}"
  • "{{{debug|}}}" → ""
  • "{{YesNo|{{{debug|}}}}}" → ""
  • "{{YesNo-Yes|{{{debug|}}}}}" → "yes"
  • "{{YesNo-No|{{{debug|}}}}}" → "no"
  • "{{YesNo|{{{debug|}}}}}" → ""
  • "{{{debug}}}{{{debug|}}}" → "{{{debug}}}"
  • "{{YesNo|{{{debug}}}{{{debug|}}}}}" → "yes"
  • "{{YesNo-Yes|{{{debug}}}{{{debug|}}}}}" → "yes"
  • "{{YesNo-No|{{{debug}}}{{{debug|}}}}}" → "no"

named parameter is "false"

[edit]
  • "{{{debug}}}" → "{{{debug}}}"
  • "{{{debug|}}}" → ""
  • "{{YesNo|{{{debug|}}}}}" → ""
  • "{{YesNo-Yes|{{{debug|}}}}}" → "yes"
  • "{{YesNo-No|{{{debug|}}}}}" → "no"
  • "{{YesNo|{{{debug|}}}}}" → ""
  • "{{{debug}}}{{{debug|}}}" → "{{{debug}}}"
  • "{{YesNo|{{{debug}}}{{{debug|}}}}}" → "yes"
  • "{{YesNo-Yes|{{{debug}}}{{{debug|}}}}}" → "yes"
  • "{{YesNo-No|{{{debug}}}{{{debug|}}}}}" → "no"