Template:Infobox/doc
From CruisersWiki
m |
(lat/lon new style) |
||
Line 2: | Line 2: | ||
<pre><nowiki>{{infobox | <pre><nowiki>{{infobox | ||
- | |||
- | |||
| lat= | | lat= | ||
| lon= | | lon= | ||
Line 16: | Line 14: | ||
Example 1: | Example 1: | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
{{infobox | {{infobox | ||
| lat= 41.245667 | | lat= 41.245667 | ||
Line 51: | Line 31: | ||
| news=The latest on Santa Teresa | | news=The latest on Santa Teresa | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
+ | |||
+ | <div style="clear: right;"></div> | ||
+ | |||
+ | Example 2: ''compound'' coordinates and the optional ''name'' parameter | ||
+ | <pre><nowiki>{{infobox | ||
+ | | name= Santa Teresa | ||
+ | | lat= 41 14.74 N | lon= 09 11.93 E | ||
+ | | zoom=13 | ||
+ | | image= SantaTeresa.jpg | ||
+ | | imagetext= The port of Santa Teresa | ||
+ | | notes = Notes on Santa Teresa | ||
+ | }}</nowiki></pre> | ||
+ | |||
+ | {{infobox | ||
+ | | name= Santa Teresa | ||
+ | | lat= 41 14.74 N | lon= 09 11.93 E | ||
+ | | zoom=13 | ||
+ | | image=SantaTeresa.jpg | ||
+ | | imagetext=The port of Santa Teresa | ||
+ | | notes = Notes on Santa Teresa | ||
+ | }} | ||
<div style="clear: right;"></div> | <div style="clear: right;"></div> | ||
Line 56: | Line 57: | ||
{{infobox | {{infobox | ||
- | |37 | + | | lat= 37 34.7 N | lon= 26 28.5 E |
| name= Fourni | | name= Fourni | ||
| maplat= 37.564 | | maplat= 37.564 | ||
Line 67: | Line 68: | ||
<pre><nowiki>{{infobox | <pre><nowiki>{{infobox | ||
- | |37 | + | | lat= 37 34.7 N | lon= 26 28.5 E |
| name= Fourni | | name= Fourni | ||
| maplat= 37.564 | | maplat= 37.564 | ||
Line 77: | Line 78: | ||
<div style="clear: right;"></div> | <div style="clear: right;"></div> | ||
{{Note}}The title of table is automatically created from this page title hence it reads here as "Embeddable templates". | {{Note}}The title of table is automatically created from this page title hence it reads here as "Embeddable templates". | ||
- | |||
[[Category:Templates|Infobox/doc]] | [[Category:Templates|Infobox/doc]] |
Revision as of 11:59, 17 January 2017
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 | lat= | lon= | zoom= | portofentry= | image= | imagetext= | notes= | news= | summary= }}
Example 1:
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 2: compound coordinates and the optional name parameter
{{infobox | name= Santa Teresa | lat= 41 14.74 N | lon= 09 11.93 E | zoom=13 | image= SantaTeresa.jpg | imagetext= The port of Santa Teresa | notes = Notes on Santa Teresa }}
Santa Teresa
| |
Notes 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 | lat= 37 34.7 N | lon= 26 28.5 E | name= Fourni | maplat= 37.564 | maplon= 26.477 | mapzoom= 15 | chartlet=yes }}
Note: The title of table is automatically created from this page title hence it reads here as "Embeddable templates".