Template:Wl/testcases

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

Correct

No parameter
Wiki code
{{Wl}}
Main version
[[]]
Sandbox version


One unnamed parameter
Wiki code
{{Wl|Page title}}
Main version
[[Page title]]
Sandbox version


Two unnamed parameters
Wiki code
{{Wl|Page title|link text}}
Main version
[[Page title|link text]]
Sandbox version


Incorrect

Three unnamed parameters (not supported)
Wiki code
{{Wl|Page title|link text|something else?}}
Main version
[[Page title|link text]]
Sandbox version