వికీపీడియా:Talk page templates

To try to ensure some level of design consistency throughout Wikipedia, the talk page templates page explains how general talk page templates should appear. This standardisation is sometimes referred to as the "coffeeroll style", the proposal leading to this look. (See Wikipedia:Template standardisation/vote#"ClockworkSoul's Coffee Roll".) This style can be implemented using the {{tmbox}} template.

A list of such templates can be found at Wikipedia:Template messages/Talk namespace and Category:Talk header 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.

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 . If the message is more important or is related to deletion, a yellow, orange, or red border activated by the "style", "content", "delete", or "speedy" classes can be used.
  • Use of a table, not divs, and using generally two columns: one for an image, one for the text
  • The side margins are (minimally) 10%—the width is what is left (usually 80%).
  • There is no cell spacing.
  • The margin separating the templates is 4px.
  • The text is usually left-aligned. (Short texts can be center-aligned.)
  • A picture, if one is used, is left aligned and about 40-50 pixels in width.

The style can be implemented using {{tmbox}}, although CSS classes can still be used. Template tables can be created as follows:

{{tmbox
| image = [[Image:icon.png|none|40px]]
| text = '''Header text''' <br> <small>Supporting text</small>
}}

While using CSS classes:

{| class="tmbox tmbox-notice"
|-
| class="mbox-image" | [[Image:icon.png|none|40px]]
| class="mbox-text" | <div>
'''Header text''' <br> <small>Supporting text</small>
</div>
|}
Featured content
Template {{FAC}} – The example code here uses the new {{tmbox}}:
WikiProjects
Template {{Chemistry}} – The example code here uses the old "messagebox standard-talk" classes:
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}}
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.

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="tmbox {{#ifeq:{{{small|}}}|yes|mbox-small}}"

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.

Standard message boxes

 
Talk page templates was a good article candidate, but did not meet the good article criteria at the time. Once the objections listed below are addressed, the article can be renominated. You may also seek a review of the decision.

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

  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 adipiscing 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 was a good article candidate, but did not meet the good article criteria at the time. Once the objections listed below are addressed, the article can be renominated. You may also seek a review of the decision.

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

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

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.

Examples in action

మార్చు