Template:Talk/testcases

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

Correct

No parameter (equivalent to using open)
Wiki code
{{Talk}}
Main version
Talk status
This discussion is still ongoing.
Sandbox version


Anonymous parameter with value open
Wiki code
{{Talk|open}}
Main version
Talk status
This discussion is still ongoing.
Sandbox version


Anonymous parameter with value done
Wiki code
{{Talk|done}}
Main version
Talk status
This discussion is done.
Sandbox version


↑ Note: The value closed can also be used instead of done, since some users of this template may find it more natural to use that word as the opposite of open.


Parameter date
Wiki code
{{Talk|date=2017-01-11}}
Main version
Talk status
This discussion is still ongoing as of 2017-01-11.
Sandbox version


Anonymous parameter open + named parameter date
Wiki code
{{Talk|open|date=2017-01-11}}
Main version
Talk status
This discussion is still ongoing as of 2017-01-11.
Sandbox version


Anonymous parameter done + named parameter date
Wiki code
{{Talk|done|date=11 January 2017}}
Main version
Talk status
This discussion is done as of 11 January 2017.
Sandbox version


Incorrect

Anonymous parameter with arbitrary value (shows redlink)
Wiki code
{{Talk|foo}}
Main version
Sandbox version