User:Mifield/:sandbox/tests/YesNo tests
Appearance
This is not a Wikipedia article: It is an individual user's work-in-progress page, and may be incomplete and/or unreliable. |
positional parameter
"{{{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
"{{{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"