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 of talk-page discussions as "open" or "done" by removing the need to wrap {{InfoBox stack}} around a {{InfoBox talk open}} or {{InfoBox talk done}} template.

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 of talk-page discussions as "open" or "done"

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Discussion status1

status of the discussion, either 'open' or 'done'

Default
open
Example
open
Stringsuggested
Datedate

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

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=2017-01-11}}
Main version
Talk status
This discussion is still ongoing as of 2017-01-11.
Sandbox version
Talk status
This discussion is still ongoing as of 2017-01-11.


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
Talk status
This discussion is still ongoing as of 2017-01-11.


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
Talk status
This discussion is done as of 11 January 2017.


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