Template:Talkarchive

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Archive This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page.
Documentation icon Documentationviewedithistorypurge

This documentation is transcluded from Template:Talkarchive/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
1
main talk pageTarget of the main talk pageroot page nameoptional
period
periodThe period from which archived discussions are.emptyoptional
style
CSS-styleUser-specific settings of the template referred CSS standard.emptyoptional
category
categoryWith 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_section
edit 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

ParameterDescriptionTypeStatus
main talk page1

Target of the main talk page

Default
root page name
Example
empty
Auto value
empty
Pageoptional
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}}]]
Example
empty
Auto value
empty
Stringoptional
edit section linkedit_section

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

Default
empty
Example
empty
Auto value
empty
Unknownoptional
periodperiod

The period from which archived discussions are.

Default
empty
Example
empty
Auto value
empty
Stringoptional
CSS-stylestyle

User-specific settings of the template referred CSS standard.

Default
empty
Example
empty
Auto value
empty
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

العربية | Boarisch | Català | Deutsch | Deutsch (Sie-Form)‎ | English | Suomi | Français | Magyar | Italiano | 日本語 | Македонски | Português | Русский | Slovenčina | Slovenščina | Svenska | 中文(简体)‎ | 中文(台灣)‎ |

This template makes use of {{Autotranslate}} and the translate extension.