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. The page may need to be refreshed to update the examples (click "Refresh" from the "More" menu).

Correct

Collapse
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.


Collapse
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.


Collapse
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.


Collapse
Parameter date
Wiki code
{{Talk|date={{subst:Date}}}}
Main version
Talk status
This discussion is still ongoing as of 2025-04-15.
Sandbox version
Talk status
This discussion is still ongoing as of 2025-04-15.


Collapse
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 2025-04-15,
  • that proposal has not remained unchanged and uncontested for 30 days.
Sandbox version


Collapse
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 2025-04-15.
Sandbox version
Talk status
This is a good first discussion for new contributors as of 2025-04-15.


Incorrect

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