Jump to content

Template:Killbrackets

From Wikinews, the free news source you can write!


Refresh The purpose of this template is to return nothing (or second parameter if it exists) if first parameter is "[ ]". If the first parameter is not [ ] then it will return the first argument. You may want to make that the end of the template is not touching whitespace or at the very least is touching an &32; to prevent a newline.


For {{Killbrackets|[ ]|<nothing>}} {{Killbrackets|[ ]}} {{Killbrackets|foo|bar}} {{Killbrackets|baz}}

<nothing>


foo
baz