Difference between revisions of "Template:Dominican Republic Labelled Map"

From blackwiki
Jump to navigation Jump to search
imported>Darwinek
m (Reverted edits by 24.190.185.164 (talk) to last version by Jmarcano)
Line 1: Line 1:
 
{{Image label begin|image=Dominican Labelled Map.PNG|width={{{width|705}}}|float={{{float|none}}}}}
 
{{Image label begin|image=Dominican Labelled Map.PNG|width={{{width|705}}}|float={{{float|none}}}}}
{{Image label small|x=0.41|y=0.294|scale={{{width|450}}}|text=[[Santiago de los Caballeros Province|Santiago<br />de los Caballeros]]}}
+
{{Image label small|x=0.95|y=0.15|scale={{{width|450}}}|text=[[Atlantic Ocean]]}}
{{Image label small|x=0.14|y=0.10|scale={{{width|650}}}|text=[[Monte Cristi Province|Monte Cristi]]}}
+
{{Image label small|x=0.48|y=0.68|scale={{{width|450}}}|text=[[Azua Province|Azua]]}}
 +
{{Image label small|x=0.26|y=0.68|scale={{{width|450}}}|text=[[Baoruco Province|Baoruco]]}}
 +
{{Image label small|x=0.29|y=0.82|scale={{{width|450}}}|text=[[Barahona Province|Barahona]]}}
 +
{{Image label small|x=0.85|y=0.95|scale={{{width|450}}}|text=[[Caribbean Sea]]}}
 
{{Image label small|x=0.113|y=0.17|scale={{{width|650}}}|text=[[Dajabón Province|Dajabón]]}}
 
{{Image label small|x=0.113|y=0.17|scale={{{width|650}}}|text=[[Dajabón Province|Dajabón]]}}
{{Image label small|x=0.18|y=0.188|scale={{{width|650}}}|text=[[Santiago Rodríguez Province|Santiago<br />Rodríguez]]}}
+
{{Image label small|x=0.85|y=0.79|scale={{{width|450}}}|text=[[Distrito Nacional]]}}
{{Image label small|x=0.27|y=0.14|scale={{{width|650}}}|text=[[Valverde Province|Valverde]]}}
+
{{Image label small|x=0.81|y=0.37|scale={{{width|450}}}|text=[[Duarte Province|Duarte]]}}
 +
{{Image label small|x=1.23|y=0.53|scale={{{width|450}}}|text=[[El Seibo Province|El Seibo]]}}
 
{{Image label small|x=0.13|y=0.27|scale={{{width|650}}}|text=[[Elías Piña Province|Elías<br />Piña]]}}
 
{{Image label small|x=0.13|y=0.27|scale={{{width|650}}}|text=[[Elías Piña Province|Elías<br />Piña]]}}
 +
{{Image label small|x=0.68|y=0.208|scale={{{width|450}}}|text=[[Espaillat Province|Espaillat]]}}
 
{{Image label small|x=0.03|y=0.38|scale={{{width|650}}}|text=[[Haiti]]}}
 
{{Image label small|x=0.03|y=0.38|scale={{{width|650}}}|text=[[Haiti]]}}
 +
{{Image label small|x=1.06|y=0.47|scale={{{width|450}}}|text=[[Hato Mayor Province|Hato Mayor]]}}
 +
{{Image label small|x=0.699|y=0.27|scale={{{width|450}}}|text=<small>[[Hermanas Mirabal Province|Hms.<br />Mrb.]]</small>}}
 
{{Image label small|x=0.119|y=0.53|scale={{{width|650}}}|text=[[Independencia Province|Independencia]]}}
 
{{Image label small|x=0.119|y=0.53|scale={{{width|650}}}|text=[[Independencia Province|Independencia]]}}
 +
{{Image label small|x=0.10|y=1.105|scale={{{width|450}}}|text=[[Beata Island|Isla Beata]]}}
 +
{{Image label small|x=1.22|y=0.785|scale={{{width|450}}}|text=[[Catalina Island, Dominican Republic|Isla Catalina]]}}
 +
{{Image label small|x=1.399|y=0.88|scale={{{width|450}}}|text=[[Saona Island|Isla Saona]]}}
 +
{{Image label small|x=1.37|y=0.68|scale={{{width|450}}}|text=[[La Altagracia Province|La Altagracia]]}}
 +
{{Image label small|x=1.249|y=0.69|scale={{{width|450}}}|text=[[La Romana Province|La<br />Romana]]}}
 +
{{Image label small|x=0.54|y=0.47|scale={{{width|450}}}|text=[[La Vega Province|La Vega]]}}
 +
{{Image label small|x=0.838|y=0.239|scale={{{width|450}}}|text=[[María Trinidad Sánchez Province|María<br />Trinidad<br />Sánchez]]}}
 +
{{Image label small|x=0.654|y=0.52|scale={{{width|450}}}|text=[[Monseñor Nouel Province|Monseñor<br />Nouel]]}}
 +
{{Image label small|x=0.14|y=0.10|scale={{{width|650}}}|text=[[Monte Cristi Province|Monte Cristi]]}}
 +
{{Image label small|x=0.89|y=0.55|scale={{{width|450}}}|text=[[Monte Plata Province|Monte Plata]]}}
 
{{Image label small|x=0.1|y=0.6|scale={{{width|650}}}|text=[[Pedernales Province|Pedernales]]}}
 
{{Image label small|x=0.1|y=0.6|scale={{{width|650}}}|text=[[Pedernales Province|Pedernales]]}}
 +
{{Image label small|x=0.669|y=0.77|scale={{{width|450}}}|text=[[Peravia Province|Peravia]]}}
 +
{{Image label small|x=0.45|y=0.14|scale={{{width|450}}}|text=[[Puerto Plata Province|Puerto Plata]]}}
 +
{{Image label small|x=1.1|y=0.37|scale={{{width|450}}}|text=[[Samaná Province|Samaná]]}}
 
{{Image label small|x=0.719|y=0.65|scale={{{width|450}}}|text=[[San Cristóbal Province|San<br />Cristóbal]]}}
 
{{Image label small|x=0.719|y=0.65|scale={{{width|450}}}|text=[[San Cristóbal Province|San<br />Cristóbal]]}}
{{Image label small|x=0.85|y=0.95|scale={{{width|450}}}|text=[[Caribbean Sea]]}}
 
{{Image label small|x=1.37|y=0.68|scale={{{width|450}}}|text=[[La Altagracia Province|La Altagracia]]}}
 
{{Image label small|x=1.399|y=0.88|scale={{{width|450}}}|text=[[Saona Island|Isla Saona]]}}
 
{{Image label small|x=0.81|y=0.37|scale={{{width|450}}}|text=[[Duarte Province|Duarte]]}}
 
{{Image label small|x=0.95|y=0.15|scale={{{width|450}}}|text=[[Atlantic Ocean]]}}
 
{{Image label small|x=0.45|y=0.14|scale={{{width|450}}}|text=[[Puerto Plata Province|Puerto Plata]]}}
 
{{Image label small|x=0.68|y=0.208|scale={{{width|450}}}|text=[[Espaillat Province|Espaillat]]}}
 
{{Image label small|x=0.699|y=0.27|scale={{{width|450}}}|text=<small>[[Hermanas Mirabal Province|Hms.<br />Mrb.]]</small>}}
 
{{Image label small|x=0.83|y=0.645|scale={{{width|450}}}|text=[[Santo Domingo Province|Santo<br />Domingo]]}}
 
{{Image label small|x=0.89|y=0.55|scale={{{width|450}}}|text=[[Monte Plata Province|Monte Plata]]}}
 
{{Image label small|x=0.85|y=0.79|scale={{{width|450}}}|text=[[Distrito Nacional]]}}
 
{{Image label small|x=0.77|y=0.45|scale={{{width|450}}}|text=[[Sánchez Ramírez Province|Sánchez<br />Ramírez]]}}
 
{{Image label small|x=0.654|y=0.52|scale={{{width|450}}}|text=[[Monseñor Nouel Province|Monseñor<br />Nouel]]}}
 
{{Image label small|x=0.54|y=0.47|scale={{{width|450}}}|text=[[La Vega Province|La Vega]]}}
 
{{Image label small|x=0.48|y=0.68|scale={{{width|450}}}|text=[[Azua Province|Azua]]}}
 
 
{{Image label small|x=0.61|y=0.629|scale={{{width|450}}}|text=[[San José de Ocoa Province|San José<br />de Ocoa]]}}
 
{{Image label small|x=0.61|y=0.629|scale={{{width|450}}}|text=[[San José de Ocoa Province|San José<br />de Ocoa]]}}
{{Image label small|x=0.669|y=0.77|scale={{{width|450}}}|text=[[Peravia Province|Peravia]]}}
 
{{Image label small|x=0.26|y=0.68|scale={{{width|450}}}|text=[[Baoruco Province|Baoruco]]}}
 
 
{{Image label small|x=0.25|y=0.52|scale={{{width|450}}}|text=[[San Juan Province (Dominican Republic)|San Juan]]}}
 
{{Image label small|x=0.25|y=0.52|scale={{{width|450}}}|text=[[San Juan Province (Dominican Republic)|San Juan]]}}
{{Image label small|x=0.29|y=0.82|scale={{{width|450}}}|text=[[Barahona Province|Barahona]]}}
 
{{Image label small|x=0.10|y=1.105|scale={{{width|450}}}|text=[[Beata Island|Isla Beata]]}}
 
{{Image label small|x=0.838|y=0.239|scale={{{width|450}}}|text=[[María Trinidad Sánchez Province|María<br />Trinidad<br />Sánchez]]}}
 
{{Image label small|x=1.1|y=0.37|scale={{{width|450}}}|text=[[Samaná Province|Samaná]]}}
 
{{Image label small|x=1.06|y=0.47|scale={{{width|450}}}|text=[[Hato Mayor Province|Hato Mayor]]}}
 
 
{{Image label small|x=1.09|y=0.689|scale={{{width|450}}}|text=[[San Pedro de Macorís Province|San Pedro<br />de Macorís]]}}
 
{{Image label small|x=1.09|y=0.689|scale={{{width|450}}}|text=[[San Pedro de Macorís Province|San Pedro<br />de Macorís]]}}
{{Image label small|x=1.249|y=0.69|scale={{{width|450}}}|text=[[La Romana Province|La<br />Romana]]}}
+
{{Image label small|x=0.77|y=0.45|scale={{{width|450}}}|text=[[Sánchez Ramírez Province|Sánchez<br />Ramírez]]}}
{{Image label small|x=1.22|y=0.785|scale={{{width|450}}}|text=[[Catalina Island, Dominican Republic|Isla Catalina]]}}
+
{{Image label small|x=0.41|y=0.294|scale={{{width|450}}}|text=[[Santiago Province (Dominican Republic)|Santiago<br />de los Caballeros]]}}
{{Image label small|x=1.23|y=0.53|scale={{{width|450}}}|text=[[El Seibo Province|El Seibo]]}}
+
{{Image label small|x=0.18|y=0.188|scale={{{width|650}}}|text=[[Santiago Rodríguez Province|Santiago<br />Rodríguez]]}}
 +
{{Image label small|x=0.83|y=0.645|scale={{{width|450}}}|text=[[Santo Domingo Province|Santo<br />Domingo]]}}
 +
{{Image label small|x=0.27|y=0.14|scale={{{width|650}}}|text=[[Valverde Province|Valverde]]}}
 
{{Image label end}}
 
{{Image label end}}
  

Revision as of 15:10, 16 May 2010


Template documentation[view] [edit] [history] [purge]

This template is a self-reference and thus is part of the Wikipedia project rather than the encyclopaedic content.

This template will automatically categorise the current template into: Category:Labelled map templates.

How to use

Consider this example, adapted from Template:Australia Labelled Map:

{{Image label begin|image=Australia location map recolored.png
                   |alt=Australia map. Western Australia in the west third with capital Perth, Northern Territory in the north center with capital Darwin, Queensland in the northeast with capital Brisbane, South Australia in the south with capital Adelaide, New South Wales in the northern southeast with capital Sydney, and Victoria in the far southeast with capital Melbourne. Tasmania, with capital Hobart, is off the coast of Victoria, across the Bass Strait. The Indian Ocean is to the west and northwest, the South Pacific Ocean to the east, the Southern Ocean to the south, and the Tasman Sea to the southeast. The Great Australian Bight to the south and the Gulf of Carpentaria to the north are the major bays. The Timor and Arafura Seas are off the north coast, and the Great Barrier Reef guards the northeast coast from the Coral Sea.
                   |width={{{width|}}}
                   |font-size=85%}}
{{Image label|scale={{{width|}}}|x=0.26 |y=0.345 |text=[[Western Australia|Western<br/>Australia]]}}
{{Image label|scale={{{width|}}}|x=0.46 |y=0.20  |text=[[Northern Territory|Northern<br/>Territory]]}}
{{Image label|scale={{{width|}}}|x=0.505|y=0.4025|text=[[South Australia|South<br/>Australia]]}}
...
{{Image label end}}

width/scale

A number of pixels. Default is 400.

If |width= is given for {{image label begin}}, the same value must be given as |scale= for {{image label}}, or the labels will become misaligned if the image is resized. When used in a template, the simplest way to ensure this is by passing through the same parameter, as in the example. For example, {{Australia Labelled Map|width=500}} displays the labelled image as a larger one of 500 pixels in width instead of the default, 400.

For earthly geographic maps, conforming to these specifications can allow easier conversion to for any other purposes such as for the use of {{Location map+}}.

x/y

X values are always between 0 and 1. For square images, Y values are also between 0 and 1. The maximum Y value is higher for tall images, lower for wide images. The X and Y values represent the fraction of the width where the label will be placed. The exact point is the top-left corner of the image label.

x=0  |y=0   will place the top-left corner of the label at the top-left     of a square image
x=0  |y=1   will place the top-left corner of the label at the bottom-left  of a square image
x=1  |y=1   will place the top-left corner of the label at the bottom-right of a square image
x=1  |y=0   will place the top-left corner of the label at the top-right    of a square image
x=0.5|y=0.5 will place the top-left corner of the label at the centre       of a square image

image

The title of the wiki page of the image without the "Image:" prefix.

text

The text label to display as wiki markup.

float

Three options:

float=none  makes the image sit on its own line of the page (default)
float=left  makes the image pushed to the left of the page
float=right makes the image pushed to the right of the page

font-size

Optional. If given, specifies a font size for the labels. For example, |font-size=85% displays labels in a smaller font size. If omitted, font size will inherit from surrounding content.

|font-size= can also be set on each individual {{image label}} to adjust the font size for that label.

text-align

Optional. If given, affects the line-by-line alignment within labels with line breaks. If omitted, the default text alignment is centered.

link

Specifies where the image should link to. If File: (the default), the image links to its file page. If empty, the image does not link to anything; this is appropriate for purely decorative images.

alt

Specifies text to be used in the image's "alt" attribute. If |link= is empty, this should be empty; if |link= is File: or is not given, this should describe the image; if |link= points to some other page this should describe the action that will be taken if you click on the image. See Wikipedia:Manual of Style/Accessibility/Alternative text for images.

caption

Specifies text to be used in the image's "title" attribute. In certain browsers, this text will appear in a tooltip when the mouse pointer is rolled over it.

Template set

Tool

Sample labelled images

list

Tracking categories