Template:Both: Difference between revisions

Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
(New page: {{#if:{{{1|}}}|{{#if:{{{2|}}}|1|}}|}}<noinclude>{{high-use}}''Usage:'' <nowiki>{{both|string1|string2}}</nowiki> Produces '''1''' (equivalent to a true condition) if both ''string1'' and ...)
 
m (Changed protection level for "Template:Both" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
(5 intermediate revisions by 3 users not shown)
Line 3: Line 3:
Produces '''1''' (equivalent to a true condition) if both ''string1'' and ''string2'' are non-empty; otherwise produces the empty string (false condition).
Produces '''1''' (equivalent to a true condition) if both ''string1'' and ''string2'' are non-empty; otherwise produces the empty string (false condition).


[[Category:{{SITENAME}} metatemplates]]</noinclude>
[[Category:{{SITENAME}} metatemplates|{{PAGENAME}}]]</noinclude>

Latest revision as of 23:14, 14 October 2013

This template is used on many pages.
To avoid any disruptions and to save server load, any changes should first be tested in this template's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this template. As a courtesy to other users, please discuss any changes at the talk page before implementing them.

Usage: {{both|string1|string2}}

Produces 1 (equivalent to a true condition) if both string1 and string2 are non-empty; otherwise produces the empty string (false condition).