Template:Infobox/doc
From CruisersWiki
(Difference between revisions)
Istioploos (Talk | contribs) m (Cosmetic) |
Istioploos (Talk | contribs) (Updated) |
||
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: | ||
Line 14: | Line 8: | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
- | {{red|NB}}: Mind a vertical bar "|" at the end of coordinate parameters | + | {{red|NB}}: Mind a vertical bar "|" at the end of coordinate parameters. Also, if you omit the line <code><nowiki>|chartlet= </nowiki></code>it automatically places a [http://www.navionics.com/en Navionics] chartlet. See Example 2 below. |
+ | |||
+ | Example1: | ||
+ | <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 | ||
+ | | chartlet= http://wikimapia.org/#lang=en&lat=41.247612&lon=9.196157&z=14&m=w | ||
+ | | image= SantaTeresa.jpg | ||
+ | | imagetext= The port of Santa Teresa | ||
+ | }}</nowiki></pre> | ||
+ | |||
+ | {{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 | ||
+ | | chartlet=http://wikimapia.org/#lang=en&lat=41.247612&lon=9.196157&z=14&m=w | ||
+ | | image=SantaTeresa.jpg | ||
+ | | imagetext=The port of Santa Teresa | ||
+ | }} | ||
+ | |||
<div style="clear: right;"></div> | <div style="clear: right;"></div> | ||
- | + | Example2 (Navionics): | |
<pre><nowiki>{{infobox |41|14.74|N|09|11.93|E| | <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 | ||
- | |||
| image= SantaTeresa.jpg | | image= SantaTeresa.jpg | ||
| imagetext= The port of Santa Teresa | | imagetext= The port of Santa Teresa | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
- | + | {{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 | ||
+ | | image=SantaTeresa.jpg | ||
+ | | imagetext=The port of Santa Teresa | ||
+ | }} | ||
- | + | <div style="clear: right;"></div> | |
+ | {{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 12:20, 10 April 2015
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. Also, if you omit the line |chartlet=
it automatically places a Navionics chartlet. See Example 2 below.
Example1:
{{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://wikimapia.org/#lang=en&lat=41.247612&lon=9.196157&z=14&m=w | image= SantaTeresa.jpg | imagetext= The port of Santa Teresa }}
Infobox/doc
| |
| |
Example2 (Navionics):
{{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 | image= SantaTeresa.jpg | imagetext= The port of Santa Teresa }}
Infobox/doc
| |
Note: The title of table is automatically created from this page title hence it reads here as "Embeddable templates".