Template:attention

Definition from Wiktionary, the free dictionary
Jump to: navigation, search



The following documentation is located at Template:attention/documentation. [edit]
Useful links: subpage listtransclusionsredirects

Synopsis

{{attention|fr}} <!-- adds page to Category:French terms needing attention -->
{{attention|fr|is this example sentence missing a word?}} <!-- same as previous -->
{{attention|en|clarify difference between this sense and next|topic=biology}} <!--
                                    adds page to Category:English terms needing attention
                                    and to Category:Entries needing topical attention-->
{{attention|en|topic=biology}} <!-- same as previous -->

Usage

This template is invisible and can be added at the very top of the section you tag it with.

This template takes one parameter, the iso code of the language of the word. It places the entry in the Category: "Language terms needing attention". Please bear in mind that the category may not yet exist. If it doesn't, please create it using wikitext of the form {{attentioncat|fr}}, which adds appropriate parent categories so that editors in that language can find it. Additionally, it is often helpful to add comments in parameter {{{2}}} (a null parameter), saying specifically what needs work.

A named parameter {{{topic}}} can be added if the page needs to be looked at by someone versed in a specific topic. This will add the page to Category:Entries needing topical attention, and (hopefully soon, but not immediately) to a topically-sorted list at Wiktionary:Entries needing topical attention.

Even if {{{topic}}} is used, the first parameter specifying the language must be set.

To add a category key, use key=. For example on London, putting {{attention|en|key=london}} will categorize the page under 'l' not 'L'.

When this template is called by another, add the parameter id with a value that refers unambiguously to the calling template; for example, when {{rfd}} calls this template, it uses id=rfd.

Categories

Categories populated using the template {{attention}}:

Visibility

Users with most modern browsers can set their CSS stylesheets to display where in the page this tag has been added by using .attentionseeking:before{content:"any content"}. This can be language-specific; for example,

.attentionseeking:before{content:"!!";color:red;font-size:larger;font-weight:bolder}
[lang|=he].attentionseeking:before{content:"!!";color:red;font-size:larger;font-weight:bolder;background:yellow}

will cause some browsers to display a bold, red "!!" where the {{attention}} is, and the tooltip over those exclamation points will be the comment (second unnamed parameter) in the attention tag.