Template:=/testcases

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

Correct

Used alone
Wiki code
{{=}}
Main version
=
Sandbox version


Used in a template parameter to display an equals sign
Wiki code
{{Cmd|ls --color{{=}}never}}
Main version
user $ls --color=never
Sandbox version
user $ls --colornever


Incorrect

Any parameters (not supported)
Wiki code
{{=|anything}}
Main version
=
Sandbox version