Template:Infobox/doc
From CruisersWiki
(Difference between revisions)
(legay coordinates format) |
Istioploos (Talk | contribs) (Update) |
||
Line 1: | Line 1: | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
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 | <pre><nowiki>{{infobox | ||
|||N|||E | |||N|||E | ||
- | | name= | + | | name= |
- | | lat= | + | | lat= |
- | | lon= | + | | lon= |
- | | zoom= | + | | zoom= |
- | | image= | + | | portofentry= |
- | | imagetext= | + | | image= |
+ | | imagetext= | ||
+ | | notes= | ||
+ | | news= | ||
+ | | summary= | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
Line 22: | Line 20: | ||
| image= SantaTeresa.jpg | | image= SantaTeresa.jpg | ||
| imagetext= The port of Santa Teresa | | imagetext= The port of Santa Teresa | ||
+ | | notes = Notes on Santa Teresa | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
+ | |||
+ | {{infobox | ||
+ | |41|14.74|N|09|11.93|E | ||
+ | | image=SantaTeresa.jpg | ||
+ | | imagetext=The port of Santa Teresa | ||
+ | | notes = Notes on Santa Teresa | ||
+ | }} | ||
<div style="clear: right;"></div> | <div style="clear: right;"></div> | ||
Example 2 Defaults (Navionics & Panoramio): | Example 2 Defaults (Navionics & Panoramio): | ||
{{infobox | {{infobox | ||
- | |41 | + | | lat= 41.245667 |
+ | | lon= 9.198833 | ||
+ | | portofentry= y | ||
| image=SantaTeresa.jpg | | image=SantaTeresa.jpg | ||
| imagetext=The port of Santa Teresa | | imagetext=The port of Santa Teresa | ||
+ | | news=The latest on Santa Teresa | ||
}} | }} | ||
<pre><nowiki>{{infobox | <pre><nowiki>{{infobox | ||
- | |41 | + | | lat= 41.245667 |
+ | | lon= 9.198833 | ||
+ | | portofentry= y | ||
| image= SantaTeresa.jpg | | image= SantaTeresa.jpg | ||
| imagetext= The port of Santa Teresa | | imagetext= The port of Santa Teresa | ||
+ | | news=The latest on Santa Teresa | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
Revision as of 17:46, 29 April 2016
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= | portofentry= | image= | imagetext= | notes= | news= | summary= }}
Example 1:
{{infobox |41|14.74|N|09|11.93|E | image= SantaTeresa.jpg | imagetext= The port of Santa Teresa | notes = Notes on Santa Teresa }}
Infobox/doc
| |
Notes on Santa Teresa |
Example 2 Defaults (Navionics & Panoramio):
Infobox/doc Port of Entry
| |
Latest News | |
The latest on Santa Teresa |
{{infobox | lat= 41.245667 | lon= 9.198833 | portofentry= y | image= SantaTeresa.jpg | imagetext= The port of Santa Teresa | news=The latest on 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".