Template:Yes: Difference between revisions

Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
No edit summary
mNo edit summary
Line 3: Line 3:


Just type <nowiki>{{#if:{{yes|{{{parameter|}}}}}|...}}</nowiki> and you can be sure
Just type <nowiki>{{#if:{{yes|{{{parameter|}}}}}|...}}</nowiki> and you can be sure
* that the parameter not empty
* that the parameter is not empty
* that it contains Y, y, YES, yes or Yes.
* that it contains Y, y, YES, yes or Yes.



Revision as of 06:38, 24 May 2008

This template helps to eliminate all the {{#switch:{{{1}}}|Y|y|YES|yes|Yes=...}} terms in biobox templates making them easier to read.

Just type {{#if:{{yes|{{{parameter|}}}}}|...}} and you can be sure

  • that the parameter is not empty
  • that it contains Y, y, YES, yes or Yes.

The template gives back nothing if the parameter is not Y, y, YES, yes or Yes.

This helps to cope with entries like "anal = no" for the new biobox. Otherwise, as there is something entered for "anal", it would have appeared in the biobox as if "anal" was "yes".