Template:Wp/testcases

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

Correct

One anonymous parameter:
Wiki code
{{Wp|DEC Alpha}}
Main version
Sandbox version


anonymous parameters
Wiki code
{{Wp|DEC Alpha|Alpha architecture}}
Main version
Sandbox version


Incorrect

No parameter (error message)
Wiki code
{{Wp}}
Main version
{{Package template error}}
Parameter 1 not defined. For correct usage see Package template's documentation on the 1 parameter.
Sandbox version
{{Package template error}}
Parameter 1 not defined. For correct usage see Package template's documentation on the 1 parameter.