Шаблон:attention/док

Примери[уреди]

Adds entry to Category:Requests for attention concerning French:

{{attention|fr|is this example sentence missing a word?}}

Adds page to Category:Requests for attention concerning English and Category:Entries needing topical attention:

{{attention|en|clarify difference between this sense and next|topic=biology}}

Same as above:

{{attention|en|topic=biology}}

Usage[уреди]

{{attention}} places an entry in [[Category:Requests for attention concerning Language]].

This template is normally invisible (see #Visibility).

Parameters:

|1=
The language code (see Викиречник:Језици).
|2=
(optional) A comment explaining why this entry needs attention.
|topic=
(optional) Can be used 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.
|key=
(optional) A sortkey for the tagged entry.
|ud=
(optional) A value that refers unambiguously to the calling template, to be used when {{attention}} is called by another template.

Категорије[уреди]

Categories populated using the template {{attention}} (see Категорија:Захтеви за пажњу по језику for more):

Visibility[уреди]

Users can make the {{attention}} tag visible by adding CSS rules.

The following code will cause browsers to display "Text goes here" where {{attention}} is.

.attentionseeking:before {
	content: "Text goes here";
}

When the tag is visible,

can also be viewed by hovering over the tag with your mouse.

It is easily customizable; the following code will cause browsers to display a bold, red "!!" where {{attention}} is.

.attentionseeking:before {
	content: "!!";
	color: red;
	font-size: larger;
	font-weight: bolder;
}

{{attention}} tags for certain languages can be specifically targeted:

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