Template:Link/testcases

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

Correct

One anonymous parameter (an internal link)
Wiki code
{{Link|Kernel}}
Main version
Sandbox version


Two anonymous parameters (an internal link and alternate text)
Wiki code
{{Link|Kernel|Gentoo's Kernel information}}
Main version
Sandbox version


Two anonymous parameters (an internal link and alternate text) and section
Wiki code
{{Link|Kernel|section=#Emerge|Gentoo's Kernel information}}
Main version
Sandbox version


One anonymous parameter (an internal link to untranslated page)
Wiki code
{{Link|Flac}}
Main version
Sandbox version


One anonymous parameter (an internal link to a page missing an article description)
Wiki code
{{Link|Template:Link}}
Main version
Sandbox version