Template:attention/documentation

Definition from Wiktionary, the free dictionary
Jump to: navigation, search
Edit-copy green.svg Documentation for Template:attention. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

Examples[edit]

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[edit]

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

This template is normally invisible (see #Visibility).

Parameters:

|1=
The language code (see Wiktionary:Languages).
|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[edit]

Categories populated using the template {{attention}} (see Category:Requests for attention by language for more):

Visibility[edit]

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, {{{2}}} 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;
}