Template:Tp/sandbox

From Gentoo Wiki
Jump to: navigation, search


Correct

Marking up a template parameter (named parameter, or value of an anonymous parameter)
Wiki code
{{Tp|link}}
Main version
link
Sandbox version


Showing a parameter being assigned a value
Wiki code
{{Tp|link{{=}}y}}
Main version
link=y
Sandbox version


Another way to show a parameter being assigned a value
Wiki code
{{Tp|1=link=y}}
Main version
link=y
Sandbox version


Incorrect

No parameter (lack of input results in an empty <code> element)
Wiki code
{{Tp}}
Main version
Sandbox version
Note
This is the template sandbox page for Template:Tp (diff).
See also the companion subpage for test cases.