Template:Nowrap/testcases

From Gentoo Wiki
Jump to: navigation, search
Note
This is the template test case page for Template:Nowrap and its sandbox version. You may have to purge this page to update the examples.

Correct

One anonymous parameter
Wiki code
{{Nowrap|We like to stick together.}}
Main version
We like to stick together.
Sandbox version


One anonymous parameter containing problematic characters
Wiki code
{{Nowrap|emerge -uDNvp --with-bdeps{{=}}y @world {{!}} sort}}
Main version
emerge -uDNvp --with-bdeps=y @world | sort
Sandbox version


Incorrect

No parameter (no error, but useless)
Wiki code
{{Nowrap}}
Main version
Sandbox version