Wikipedia:Talk page templates

From Wikipedia, the free encyclopedia

This page is part of the Manual of Style, and is considered a guideline for Wikipedia. The consensus of many editors formed the conventions described here. Wikipedia articles should heed these guidelines. Feel free to update this page as needed, but please use the discussion page to propose major changes.
Shortcut:
WP:TS
WP:TPT

To try to ensure some level of design consistency throughout Wikipedia, the talk page templates page explains how general talk page templates should appear.

A list of such templates can be found at Category:Talk header templates

Contents

[edit] Talk page templates

Talk page templates contain information intended for editors, not readers. Which templates on Wikipedia are actually Talk page templates is a matter for some debate. For example, the cleanup template was originally created to be a talk page template, but is currently being used primarily as an article page template. Apparently, the notion in this case is that readers deserve to know that the article they are reading is still somewhat of a mess.

[edit] Chosen scheme

This scheme is to be used for all talk page templates. This scheme was accepted based on a vote. While this is not a firm policy, it is advised that any new talk page templates should be based on the standard design.

The following standards of design have been chosen:

  • Background colour of #F8EABA   and border colour (1px solid) is #C0C090  
  • Use of a table, not divs, and using two columns: one for an image, one for the text
  • Size is 85% width and the whole template is centered
  • Cell spacing is 3px
  • The margin separating the templates is 3px
  • The text is usually centered
  • A picture, if one is used, is left aligned and approximately 50 pixels in width.

The style can be implemented using class="messagebox standard-talk". Template tables can be created as follows:


{| class="messagebox standard-talk"
|-
| [[Image:icon.png|none|50px| ]]
| '''Header text''' <br /> Supporting text
|}

[edit] Examples

Featured content
Template:FAC (links, talk)
This article is a current featured article candidate. A featured article should exemplify Wikipedia's very best work, and is therefore expected to meet several criteria. Please feel free to leave comments.
Template:Featured (links, talk)
Featured article star Talk page templates is a featured article, which means it has been identified as one of the best articles produced by the Wikipedia community. If you see a way this page can be updated or improved without compromising previous work, please feel free to contribute.
WikiProjects
Template:Chemistry (links, talk)
WikiProject on Chemistry This article is supported by the WikiProject on Chemistry, which gives a central approach to Chemistry and related subjects on Wikipedia. Please participate by editing the article Talk page templates, or visit the project page for more details on the projects.
Template:Talk Spoken Wikipedia (links, talk)
WikiProject Spoken Wikipedia The [[:Image:{{{1}}}|spoken word version]] of this article is part of WikiProject Spoken Wikipedia, an attempt to produce recordings of Wikipedia articles being read aloud. If you would like to participate, visit the project page, where you can join the project and find out how to contribute.

[edit] Small option

A small option should be provided for talk page templates. This is accomplished by replacing two segments of the template. First, replace the message box class definition with

class="messagebox {{#ifeq:{{{small|}}}|yes|small|standard}}-talk"

Then, replace the image size with

{{#ifeq:{{{small|}}}|yes|30px|50px}}

This enables the template to be called with small=yes as in {{FailedGA|small=yes}}, generating a smaller, right-aligned message box.

The small option is intended for controversial or highly public articles with numerous peer review, WikiProject, featured article, good article, to-do, and other message boxes. With this many boxes, individual notices no longer stand out, and all that remains is a massive block of templates (as in this revision of Talk:Pope Benedict XVI) that a reader has to scroll through in order to reach the body of the page. Because the small message boxes float on the right, the contents of the talk page start at the top. This feature is not intended to replace standard message boxes.

[edit] Example

Standard message boxes

Talk page templates is a former good article candidate. There are suggestions below for which areas need improvement to satisfy the good article criteria. Once the objections are addressed, the article can be renominated as a good article. If you disagree with the objections, you can seek a review.

Date of review: No date specified. Please edit template call function as follows: {{FailedGA|insert date in any format here}}

Peer review A request has been made for this article to be peer reviewed to receive a broader perspective on how it may be improved. Please make any edits you see fit to improve the quality of this article.
This article is a current featured article candidate. A featured article should exemplify Wikipedia's very best work, and is therefore expected to meet several criteria. Please feel free to leave comments.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris. Integer in mauris eu nibh euismod gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis risus a elit. Etiam tempor. Ut ullamcorper, ligula eu tempor congue, eros est euismod turpis, id tincidunt sapien risus a quam. Maecenas fermentum consequat mi. Donec fermentum. Pellentesque malesuada nulla a mi. Duis sapien sem, aliquet nec, commodo eget, consequat quis, neque. Aliquam faucibus, elit ut dictum aliquet, felis nisl adipiscing sapien, sed malesuada diam lacus eget erat. Cras mollis scelerisque nunc. Nullam arcu. Aliquam consequat. Curabitur augue lorem, dapibus quis, laoreet et, pretium ac, nisi. Aenean magna nisl, mollis quis, molestie eu, feugiat in, orci. In hac habitasse platea dictumst.

Small message boxes

Talk page templates is a former good article candidate. There are suggestions below for which areas need improvement to satisfy the good article criteria. Once the objections are addressed, the article can be renominated as a good article. If you disagree with the objections, you can seek a review.

Date of review: No date specified. Please edit template call function as follows: {{FailedGA|insert date in any format here}}

Peer review A request has been made for this article to be peer reviewed to receive a broader perspective on how it may be improved. Please make any edits you see fit to improve the quality of this article.
This article is a current featured article candidate. A featured article should exemplify Wikipedia's very best work, and is therefore expected to meet several criteria. Please feel free to leave comments.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris. Integer in mauris eu nibh euismod gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis risus a elit. Etiam tempor. Ut ullamcorper, ligula eu tempor congue, eros est euismod turpis, id tincidunt sapien risus a quam. Maecenas fermentum consequat mi. Donec fermentum. Pellentesque malesuada nulla a mi. Duis sapien sem, aliquet nec, commodo eget, consequat quis, neque. Aliquam faucibus, elit ut dictum aliquet, felis nisl adipiscing sapien, sed malesuada diam lacus eget erat. Cras mollis scelerisque nunc. Nullam arcu. Aliquam consequat. Curabitur augue lorem, dapibus quis, laoreet et, pretium ac, nisi. Aenean magna nisl, mollis quis, molestie eu, feugiat in, orci. In hac habitasse platea dictumst.

Fusce convallis, mauris imperdiet gravida bibendum, nisl turpis suscipit mauris, sed placerat ipsum urna sed risus. In convallis tellus a mauris. Curabitur non elit ut libero tristique sodales. Mauris a lacus. Donec mattis semper leo. In hac habitasse platea dictumst. Vivamus facilisis diam at odio. Mauris dictum, nisi eget consequat elementum, lacus ligula molestie metus, non feugiat orci magna ac sem. Donec turpis. Donec vitae metus. Morbi tristique neque eu mauris. Quisque gravida ipsum non sapien. Proin turpis lacus, scelerisque vitae, elementum at, lobortis ac, quam. Aliquam dictum eleifend risus. In hac habitasse platea dictumst. Etiam sit amet diam. Suspendisse odio. Suspendisse nunc. In semper bibendum libero.

[edit] Further use

Long text may also be shortened to reduce the height of the narrower message boxes. For example, consider reducing

This article has been rated as A-Class on the quality scale.

to

Quality: A-Class

when small=yes is enabled.

[edit] Examples in action

[edit] See also

In other languages