Template:Talk archive

(Redirected from Template:Talkarchive)
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Talk archive/doc.

This template displays a tooltip on an archive. For discussions we will refer to the top-level talk page.

The template automatically sets the following categories: In the archive of the category namespace, sorted by the name of the main page (e. g. Category:Template talk archives).

Usage

{{Talkarchive |1= |period= |style= }}

Template parameters

ParameterDescriptionDefaultStatus
1main talk pageTarget of the main talk pageroot page nameoptional
periodperiodThe period from which archived discussions are.emptyoptional
styleCSS-styleUser-specific settings of the template referred CSS standard.emptyoptional
categorycategoryWith this parameter, you can change category manually. If no value specified, there is no categorization. If the parameter is not specified, is the categorization as above.[[Category:{{TALKSPACE}} archives|{{BASEPAGENAME}}]]optional
edit_sectionedit section linkAny value will allow section editing which is suppressed by default by this template.emptyoptional
Template data
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

This template displays a tooltip on an archive. For discussions we will refer to the top-level talk page.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
main talk page1

Target of the main talk page

Default
root page name
Page nameoptional
categorycategory

With this parameter, you can change category manually. If no value specified, there is no categorization. If the parameter is not specified, is the categorization as above.

Default
[[Category:{{TALKSPACE}} archives|{{BASEPAGENAME}}]]
Stringoptional
edit section linkedit_section

Any value will allow section editing which is suppressed by default by this template.

Unknownoptional
periodperiod

The period from which archived discussions are.

Stringoptional
CSS-stylestyle

User-specific settings of the template referred CSS standard.

Stringoptional

Additional information

The template is intended to be used in the following namespaces: all talk namespaces and noticeboards

The template is intended to be used by the following user groups: all users

Placement: At the top of the page

See also

Localization

العربية  català  čeština  Deutsch  English  español  suomi  français  hrvatski  magyar  italiano  日本語  한국어  македонски  മലയാളം  Nederlands  português  русский  slovenčina  slovenščina  svenska  Tiếng Việt  中文  中文(简体)

This template makes use of {{Autotranslate}} and the translate extension. The layout of the template can be found under Template:Talkarchive/layout.