Template:Infobox/doc
From CruisersWiki
(Difference between revisions)
Line 1: | Line 1: | ||
- | {{infobox port | + | {{infobox port |41|14.74|N|09|11.93|E| |
- | + | ||
| panoramio=http://www.panoramio.com/map/#lt=41.241287&ln=9.197445&z=2&k=1&a=1&tab=1 | | panoramio=http://www.panoramio.com/map/#lt=41.241287&ln=9.197445&z=2&k=1&a=1&tab=1 | ||
| chartlet=http://mapserver.mytopo.com/homepage/index.cfm?lat=41.245667&lon=9.198833&scale=24000&zoom=50&type=1 | | chartlet=http://mapserver.mytopo.com/homepage/index.cfm?lat=41.245667&lon=9.198833&scale=24000&zoom=50&type=1 | ||
Line 8: | 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 | + | <pre><nowiki>{{infobox |||N|||E| |
- | + | ||
| panoramio= | | panoramio= | ||
| chartlet= | | chartlet= | ||
Line 15: | Line 13: | ||
| imagetext= | | imagetext= | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
+ | |||
+ | {{red|NB}}: Mind a vertical bar "|" at the end of coordinate parameters | ||
Example: | Example: | ||
- | <pre><nowiki>{{infobox | + | <pre><nowiki>{{infobox |41|14.74|N|09|11.93|E| |
- | + | ||
| panoramio= http://www.panoramio.com/map/#lt=41.241287&ln=9.197445&z=2&k=1&a=1&tab=1 | | panoramio= http://www.panoramio.com/map/#lt=41.241287&ln=9.197445&z=2&k=1&a=1&tab=1 | ||
| chartlet= http://mapserver.mytopo.com/homepage/index.cfm?lat=41.245667&lon=9.198833&scale=24000&zoom=50&type=1 | | chartlet= http://mapserver.mytopo.com/homepage/index.cfm?lat=41.245667&lon=9.198833&scale=24000&zoom=50&type=1 | ||
Line 27: | Line 26: | ||
This expands to a table shown at the beginning of this section. | This expands to a table shown at the beginning of this section. | ||
- | + | Note: The title of table is automatically created from this page title hence it reads here as "Embeddable templates". |
Revision as of 16:10, 17 March 2015
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| | panoramio= | chartlet= | image= | imagetext= }}
NB: Mind a vertical bar "|" at the end of coordinate parameters
Example:
{{infobox |41|14.74|N|09|11.93|E| | panoramio= http://www.panoramio.com/map/#lt=41.241287&ln=9.197445&z=2&k=1&a=1&tab=1 | chartlet= http://mapserver.mytopo.com/homepage/index.cfm?lat=41.245667&lon=9.198833&scale=24000&zoom=50&type=1 | image= SantaTeresa.jpg | imagetext= The port of Santa Teresa }}
This expands to a table shown at the beginning of this section.
Note: The title of table is automatically created from this page title hence it reads here as "Embeddable templates".