You'll need to create your own function for that if you want to do it in the pipeline:
function format-conditional
{
param ([bool]$condition)
if ($condition) {$input | format-wide }
else {$input}
}
$test = $true
gci | format-conditional $test