Template:Talk/testcases

From Gentoo Wiki
Jump to:navigation Jump to: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
Talk status
This discussion is still ongoing.


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


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


↑ 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={{subst:Date}}}}
Main version
Talk status
This discussion is still ongoing as of 2024-11-05.
Sandbox version
Talk status
This discussion is still ongoing as of 2024-11-05.


Anonymous parameter discussion_needed + named parameter date
Wiki code
{{Talk|discussion_needed|date={{subst:Date}}}}
Main version
Talk status
This discussion:
  • provides a proposal that can be merged as is, but as of 2024-11-05,
  • that proposal has not remained unchanged and uncontested for 30 days.
Sandbox version


Anonymous parameter good_first_discussion + named parameter date
Wiki code
{{Talk|good_first_discussion|date={{subst:Date}}}}
Main version
Talk status
This is a good first discussion for new contributors as of 2024-11-05.
Sandbox version
Talk status
This is a good first discussion for new contributors as of 2024-11-05.


Incorrect

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