Template:Talk

From Gentoo Wiki
Jump to:navigation Jump to:search
[edit

Documentation

Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages. As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.

This is a template intended to simplify the marking and categorizing of talk-page discussions by removing the need to wrap {{InfoBox stack}} around templates in Category:InfoBox talk templates.

It should not be necessary to display more than one infobox template in a stack on a (non-userspace) talk page, but if that is desired you will have to use {{InfoBox stack}} instead of this template.

Parameters

To simplify the marking or categorization of talk-page discussions

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Discussion status1

status of the discussion (see templates in Category:InfoBox talk templates) (spaces should be replaced with underscores)

Default
open
Example
discussion_needed
Stringsuggested
Datedate

free-form date to be displayed in the message (after the phrase 'as of')

Example
{{subst:Date}}
Dateoptional

Usage

See the template's testcases:

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-06-17.
Sandbox version
Talk status
This discussion is still ongoing as of 2024-06-17.


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-06-17,
  • 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-06-17.
Sandbox version
Talk status
This is a good first discussion for new contributors as of 2024-06-17.


Incorrect

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


See also

Note
The above documentation is transcluded from Template:Talk/doc. (edit | history)
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.
Please add categories and interwikis to the /doc subpage. (See the subpages of this template.)