Template:Infobox/doc
From CruisersWiki
(Difference between revisions)
m |
(legay coordinates format) |
||
Line 1: | Line 1: | ||
- | {{infobox | + | {{infobox |
+ | |41|14.74|N|09|11.93|E | ||
| image=SantaTeresa.jpg | | image=SantaTeresa.jpg | ||
| imagetext=The port of Santa Teresa | | imagetext=The port of Santa Teresa | ||
Line 6: | Line 7: | ||
This template was designed to be used to place a table with some standard data (an "information box") at the beginning of an article. Such a table is described at the [[Pagetemplates#CO-ORDINATES_INFO_TEMPLATE | Pagetemplates]] article. This template allows creating such a table a more simple way: | This template was designed to be used to place a table with some standard data (an "information box") at the beginning of an article. Such a table is described at the [[Pagetemplates#CO-ORDINATES_INFO_TEMPLATE | Pagetemplates]] article. This template allows creating such a table a more simple way: | ||
- | <pre><nowiki>{{infobox |||N|||E | + | <pre><nowiki>{{infobox |
+ | |||N|||E | ||
| name= | | name= | ||
| lat= | | lat= | ||
Line 14: | Line 16: | ||
| imagetext= | | imagetext= | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
- | |||
- | |||
Example 1: | Example 1: | ||
- | <pre><nowiki>{{infobox |41|14.74|N|09|11.93|E | + | <pre><nowiki>{{infobox |
+ | |41|14.74|N|09|11.93|E | ||
| image= SantaTeresa.jpg | | image= SantaTeresa.jpg | ||
| imagetext= The port of Santa Teresa | | imagetext= The port of Santa Teresa | ||
Line 25: | Line 26: | ||
<div style="clear: right;"></div> | <div style="clear: right;"></div> | ||
Example 2 Defaults (Navionics & Panoramio): | Example 2 Defaults (Navionics & Panoramio): | ||
- | {{infobox | + | {{infobox |
+ | |41|14.74|N|09|11.93|E | ||
| image=SantaTeresa.jpg | | image=SantaTeresa.jpg | ||
| imagetext=The port of Santa Teresa | | imagetext=The port of Santa Teresa | ||
}} | }} | ||
- | <pre><nowiki>{{infobox |41|14.74|N|09|11.93|E | + | <pre><nowiki>{{infobox |
+ | |41|14.74|N|09|11.93|E | ||
| image= SantaTeresa.jpg | | image= SantaTeresa.jpg | ||
| imagetext= The port of Santa Teresa | | imagetext= The port of Santa Teresa | ||
Line 38: | Line 41: | ||
Example 3: | Example 3: | ||
- | {{infobox |37|34.7|N|26|28.5|E | + | {{infobox |
+ | |37|34.7|N|26|28.5|E | ||
| name= Fourni | | name= Fourni | ||
| maplat= 37.564 | | maplat= 37.564 | ||
Line 47: | Line 51: | ||
Here we specify chartlet coordinates with ''maplat'' and ''maplon'' (the gallery used the Infobox coordinates). Zooming for both gallery & chartlet is specified with ''map zoom''. | Here we specify chartlet coordinates with ''maplat'' and ''maplon'' (the gallery used the Infobox coordinates). Zooming for both gallery & chartlet is specified with ''map zoom''. | ||
- | <pre><nowiki>{{infobox |37|34.7|N|26|28.5|E | + | <pre><nowiki>{{infobox |
+ | |37|34.7|N|26|28.5|E | ||
| name= Fourni | | name= Fourni | ||
| maplat= 37.564 | | maplat= 37.564 |
Revision as of 12:50, 28 March 2016
Infobox/doc
| |
This template was designed to be used to place a table with some standard data (an "information box") at the beginning of an article. Such a table is described at the Pagetemplates article. This template allows creating such a table a more simple way:
{{infobox |||N|||E | name= | lat= | lon= | zoom= | image= | imagetext= }}
Example 1:
{{infobox |41|14.74|N|09|11.93|E | image= SantaTeresa.jpg | imagetext= The port of Santa Teresa }}
Example 2 Defaults (Navionics & Panoramio):
Infobox/doc
| |
{{infobox |41|14.74|N|09|11.93|E | image= SantaTeresa.jpg | imagetext= The port of Santa Teresa }}
Example 3:
Fourni
|
maplat and maplon parameters could be used to centre a chartlet at some other location than the location of the subject of an article. Here we specify chartlet coordinates with maplat and maplon (the gallery used the Infobox coordinates). Zooming for both gallery & chartlet is specified with map zoom.
{{infobox |37|34.7|N|26|28.5|E | name= Fourni | maplat= 37.564 | maplon= 26.477 | mapzoom= 15 }}
Note: The title of table is automatically created from this page title hence it reads here as "Embeddable templates".