Warning: Constant Data already defined in /home/encicl/public_html/w/LocalSettings.php on line 259

Warning: Constant Discuţie Data already defined in /home/encicl/public_html/w/LocalSettings.php on line 260

Warning: session_name(): Session name cannot be changed after headers have already been sent in /home/encicl/public_html/w/includes/Setup.php on line 531

Deprecated: Creation of dynamic property LoadBalancer::$mWriteIndex is deprecated in /home/encicl/public_html/w/includes/db/LoadBalancer.php on line 65

Deprecated: Return type of ResultWrapper::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/encicl/public_html/w/includes/db/DatabaseUtility.php on line 197

Deprecated: Return type of ResultWrapper::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/encicl/public_html/w/includes/db/DatabaseUtility.php on line 215

Deprecated: Return type of ResultWrapper::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/encicl/public_html/w/includes/db/DatabaseUtility.php on line 208

Deprecated: Return type of ResultWrapper::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/encicl/public_html/w/includes/db/DatabaseUtility.php on line 225

Deprecated: Return type of ResultWrapper::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/encicl/public_html/w/includes/db/DatabaseUtility.php on line 186

Deprecated: Return type of ExplodeIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/encicl/public_html/w/includes/utils/StringUtils.php on line 576

Deprecated: Return type of ExplodeIterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/encicl/public_html/w/includes/utils/StringUtils.php on line 590

Deprecated: Return type of ExplodeIterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/encicl/public_html/w/includes/utils/StringUtils.php on line 583

Deprecated: Return type of ExplodeIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/encicl/public_html/w/includes/utils/StringUtils.php on line 609

Deprecated: Return type of ExplodeIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/encicl/public_html/w/includes/utils/StringUtils.php on line 558

Deprecated: Creation of dynamic property Revision::$mTextId is deprecated in /home/encicl/public_html/w/includes/Revision.php on line 536

Deprecated: Creation of dynamic property Revision::$mUnpatrolled is deprecated in /home/encicl/public_html/w/includes/Revision.php on line 696

Deprecated: Creation of dynamic property WikitextContentHandler::$mModelName is deprecated in /home/encicl/public_html/w/includes/content/ContentHandler.php on line 416

Deprecated: Creation of dynamic property RequestContext::$recursion is deprecated in /home/encicl/public_html/w/includes/context/RequestContext.php on line 328

Deprecated: header(): Passing null to parameter #3 ($response_code) of type int is deprecated in /home/encicl/public_html/w/includes/WebResponse.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /home/encicl/public_html/w/LocalSettings.php:259) in /home/encicl/public_html/w/includes/WebResponse.php on line 37

Deprecated: header(): Passing null to parameter #3 ($response_code) of type int is deprecated in /home/encicl/public_html/w/includes/WebResponse.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /home/encicl/public_html/w/LocalSettings.php:259) in /home/encicl/public_html/w/includes/WebResponse.php on line 37

Deprecated: header(): Passing null to parameter #3 ($response_code) of type int is deprecated in /home/encicl/public_html/w/includes/WebResponse.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /home/encicl/public_html/w/LocalSettings.php:259) in /home/encicl/public_html/w/includes/WebResponse.php on line 37

Deprecated: header(): Passing null to parameter #3 ($response_code) of type int is deprecated in /home/encicl/public_html/w/includes/WebResponse.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /home/encicl/public_html/w/LocalSettings.php:259) in /home/encicl/public_html/w/includes/WebResponse.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /home/encicl/public_html/w/LocalSettings.php:259) in /home/encicl/public_html/w/includes/cache/HTMLFileCache.php on line 138

Warning: Cannot modify header information - headers already sent by (output started at /home/encicl/public_html/w/LocalSettings.php:259) in /home/encicl/public_html/w/includes/cache/HTMLFileCache.php on line 139
Utilizator:Alexandru Danes/Proiect 2 - Enciclopedia României - prima enciclopedie online despre România

Utilizator:Alexandru Danes/Proiect 2

de la Enciclopedia României

Salt la: navigare, căutare
Alex:DDiscuţie Membru:Alexandru Danesimagine

Syntax example

<imagemap>
Image:Foo.jpg|200px|picture of a foo
poly 131 45 213 41 210 110 127 109 [[Display]]
poly 104 126 105 171 269 162 267 124 [[Keyboard]]
rect 15 95 94 176   [[Foo type A]]
# A comment, this line is ignored
circle 57 57 20    [[Foo type B]]
desc bottom-left
</imagemap>

Syntax description

The contents of an <imagemap> tag consists of blank lines, comments (starting with #) and logical lines. The first logical line specifies the image to be displayed. This must be in the same format as an ordinary MediaWiki image link, except without the enclosing [[ and ]].

Further lines are split into tokens, separated by whitespace. The function of each line is determined by the first token in the line. All coordinates are according to the full-size image, not the visible image. They should be specified as (distance from left edge, distance from top).

desc 
Specifies the location of the image description link. May be either top-right, bottom-right, bottom-left, top-left or none. This puts a blue "i" icon in the specified corner, linking to the image description page. The default is bottom-right. To hide the description link, set it to none. Possible values: top-right, bottom-right, bottom-left, top-left, none
poly
A polygon. The coordinates of the vertices are given, followed by a link in square brackets.
Polygons must be defined before any other form!
rect 
A rectangle. The parameters are the coordinates of the top-left and bottom-right corners, followed by a title to link to in square brackets.
circle
A circle. The first two parameters are the coordinates of the center, the third is the radius. The coordinates are followed by a link in square brackets.
default
This gives the default link, where no other regions are specified.

All coordinates are specified relative to the source image. The image can be scaled using thumbnail syntax, in which case the image map coordinates will be automatically scaled as well.

All links are given in either the form [[Page title]] or [[Page title|description]]. In the latter case, the part after the pipe "|" becomes the title attribute of the link -- in most browsers, it will pop up as a tooltip when the user hovers over it. If no explicit link description is given, the page title will be used.

Areas which overlap give precedence to the first link listed.