Template:See also/testcases

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

Correct

One anonymous parameter of a valid article name.
Wiki code
{{See also|Main Page}}
Main version
Main Page — Larry the cow beckons you to explore the wiki!
Sandbox version
Main Page — Larry the cow beckons you to explore the wiki!


text parameter to show a text instead of article name.
Wiki code
{{See also|text=The Main Page|Main Page}}
Main version
The Main Page — Larry the cow beckons you to explore the wiki!
Sandbox version
The Main Page — Larry the cow beckons you to explore the wiki!


Nonexistent article name.
Wiki code
{{See also|Does_not_exist}}
Main version
Sandbox version


Incorrect

No parameter passed. (Exposes wikicode.)
Wiki code
{{See also}}
Main version
{{See also template error}}
Parameter Anonymous parameter not defined. For correct usage see See also template's documentation on the Anonymous parameter parameter.
Sandbox version
{{See also template error}}
Parameter Anonymous parameter not defined. For correct usage see See also template's documentation on the Anonymous parameter parameter.