Template:France Regions Labelled Map/doc

From Wikibooks, open books for an open world
Jump to navigation Jump to search
Don't worry...
the second image will not show when placed in main or any other namespace which does not directly include this /doc page.
This /doc page is used by other templates as illustration of technique and effect, so the help has been written to be multipurpose.

Usage of France Regions Labelled Map[edit source]

This {{France Regions Labelled Map}} template is placed on a page, and it shows up!

This template incorporates extensive calls to the {{image label small}} template with X-Y co-ordinates, and typing parameters and wraps these labels around the image, which may have co-ordinates be defined and synchronized with the X-Y labeling co-ords. The {{image label begin}} and {{Image label end}} templates nest the whole sandwich, establishing the image, frame, co-ordinates, and X-Y offsets for Image label small to display. As can be seen by the actual code shown below, the setup is both straight forward and can be quite involved. (the Commented-out Section titles in the actual template are restored in the below:

For technical reasons
and simplicity, only a smattering of the code below is shown as a template (blue). Among other things, note the use of embedded HTML <br/> break-line occurrences.

 

{{Image label begin}}  

FRENCH REGIONS[edit source]

{{Image label small|x=0.4875|y=0.07|scale={{{width|400}}}| text = [[w:Nord-Pas-de-Calais|Nord-Pas <br>de Calais]]}}

{{Image label small|x=0.5225|y=0.165|scale={{{width|400}}}| text = [[w:Picardy (region)|Picardy]]}}

{{Image label small|x=0.395|y=0.16|scale={{{width|400}}}| text = [[w:Upper Normandy|Upper <br>Normandy]]}}

{{Image label small|x=0.52|y=0.2375|scale={{{width|400}}}| text = [[w:Île-de-France (region)|Ile-de-<br>France]]}}

{{Image label small|x=0.605|y=0.25|scale={{{width|400}}}| text = [[w:Champagne-Ardenne|Champagne-<br>Ardenne]]}}

{{Image label small}}

{{Image label small}}

{{Image label small|x=0.74|y=0.3825|scale={{{width|400}}}| text = [[w:Franche-Comté|Franche-<br>Comté]]}}

{{Image label small}}

{{Image label small}}

{{Image label small|x=0.24|y=0.385|scale={{{width|400}}}| text = [[w:Pays de la Loire|Pays-de-la-<br>Loire]]}}

{{Image label small|x=0.2|y=0.315|scale={{{width|400}}}| text = [[w:Brittany (administrative region)|Brittany]]}}

{{Image label small|x=0.3|y=0.222|scale={{{width|400}}}| text = [[w:Lower Normandy|Lower <br>Normandy]]}}

{{Image label small|x=0.3|y=0.49|scale={{{width|400}}}| text = [[w:Poitou-Charentes|Poitou-<br>Charentes]]}}

{{Image label small|x=0.45|y=0.5275|scale={{{width|400}}}| text = [[w:Limousin (region)|Limousin]]}}

{{Image label small|x=0.532|y=0.5|scale={{{width|400}}}| text = [[w:Auvergne (region)|Auvergne]]}}

{{Image label small|x=0.69|y=0.55|scale={{{width|400}}}| text = [[w:Rhône-Alpes|Rhône-<br>Alpes]]}}

{{Image label small|x=0.3075|y=0.66|scale={{{width|400}}}| text = [[w:Aquitaine|Aquitaine]]}}

{{Image label small|x=0.4025|y=0.7325|scale={{{width|400}}}| text = [[w:Midi-Pyrénées|Midi-Pyrénées]]}}

{{Image label small|x=0.55|y=0.67|scale={{{width|400}}}| text = [[w:Languedoc-Roussillon|Languedoc-<br>Roussillon]]}}

{{Image label small|x=0.735|y=0.7|scale={{{width|400}}}| text = [[w:Provence-Alpes-Côte d'Azur|{{h:title|Provence-Alpes-Côte d'Azur|PACA}}]]}}

{{Image label small|x=0.9| y=0.83| scale={{{width|400}}}| text = [[w:Corsica|Corsica]]}}

 

DOM/TOM[edit source]

{{Image label small|x=0.07|y=0.65|scale={{{width|400}}}| text = [[w:French Guiana|French Guiana]]}}

{{Image label small}}

{{Image label small|x=0.02|y=0.43|scale={{{width|400}}}| text = [[w:Martinique|Martinique]]}}

{{Image label small|x=0.65|y=0.85|scale={{{width|400}}}| text = [[w:Mayotte|Mayotte]]}}

{{Image label small}}  

OTHER COUNTRIES[edit source]

{{Image label small|x=0.63| y=0.07|scale={{{width|400}}}| text = [[w:Belgium|<i style= "color: #48A3B5">Belgium</i>]] }}

{{Image label small}}

{{Image label small|x=0.89|y=0.2| scale={{{width|400}}}| text = [[w:Germany|<i style= "color: #48A3B5">Germany</i>]] }}

{{Image label small|x=0.8175|y=0.43|scale={{{width|400}}}| text = [[w:Switzerland|<i style= "color: #48A3B5">Switzerland</i>]] }}

{{Image label small|x=0.88|y=0.59|scale={{{width|400}}}| text = [[w:Italy|<i style= "color: #48A3B5">Italy</i>]] }}

{{Image label small|x=0.25|y=0.035|scale={{{width|400}}}| text = [[w:United Kingdom|<i style= "color: #48A3B5">United Kingdom</i>]] }}

{{Image label small|x=0.45| y=0.82|scale={{{width|400}}}| text = [[w:Andorra|<i style= "color: #48A3B5;">Andorra</i>]] }}

{{Image label small|x=0.21| y=0.78|scale={{{width|400}}}| text = [[w:Brazil|<i style= "color: #48A3B5;">Brazil</i>]] }}

{{Image label small|x=0.00| y=0.715|scale={{{width|400}}}| text = [[w:Suriname|<i style= "color: #48A3B5;">Suriname</i>]] }}

{{Image label small|x=0.36|y=0.855|scale={{{width|400}}}| text = [[w:Spain|<i style= "color: #48A3B5">Spain</i>]] }}  

SEAS - OCEANS - ETC[edit source]

{{Image label small|x=0.25|y=0.12|scale={{{width|400}}}| text = [[w:English Channel|<i style= "color: #48A3B5">Channel</i>]] }}

{{Image label small|x=0.15|y=0.45|scale={{{width|400}}}| text = [[w:Bay of Biscay|<i style= "color: #48A3B5">Bay of<br/>Biscay</i>]] }}

{{Image label small|x=0.9|y=0.7|scale={{{width|400}}}| text = [[w:Ligurian Sea|<i style= "color: #48A3B5">Ligurian<br/>Sea</i>]] }}

{{Image label small|x=0.66|y=0.77|scale={{{width|400}}}| text = [[w:Mediterranean Sea|<i style= "color: #48A3B5">Mediterranean<br/>Sea</i>]] }}

{{Image label end}}  

 

See also[edit source]