Template:Infobox marina

From CruisersWiki

(Difference between revisions)
Jump to: navigation, search
(back Undo revision 188400 by Vadim (talk))
 
(19 intermediate revisions not shown)
Line 1: Line 1:
-
<includeonly>{{infobox top test|name={{{name|}}}|url={{{web|}}}{{{url|}}}}}
+
<includeonly>{{infobox top|name={{{name|}}}|url={{{web|}}}{{{url|}}}|portofentry={{{portofentry|}}}}}
-
{{infobox coordblock test|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|
+
{{infobox coordblock
-
| lat={{{lat|}}}| lon={{{lon|}}}| type=marina
+
| lat={{{lat|}}}{{{1|}}} {{{2|}}} {{{3|}}}  
 +
| lon={{{lon|}}}{{{4|}}} {{{5|}}} {{{6|}}}
 +
| type=berth
| maplat={{{maplat|}}}| maplon={{{maplon|}}}
| maplat={{{maplat|}}}| maplon={{{maplon|}}}
-
| mapzoom={{?|test={{{mapzoom|}}}|{{{mapzoom}}}|17}}
+
| zoom={{?|test={{{zoom|}}}{{{mapzoom|}}}|{{{zoom|}}}{{{mapzoom|}}}|15}}
| gallery={{{gallery|}}}
| gallery={{{gallery|}}}
| chartlet={{{chartlet|}}}
| chartlet={{{chartlet|}}}
}}
}}
{{?| test={{{image|}}}
{{?| test={{{image|}}}
-
   |{{infobox image |{{{image}}}|{{{imagetext}}}|{{{imagewidth|}}}|commons={{{imagecommons|}}}}}
+
   |{{infobox image |{{{image|}}}|{{{imagetext}}}|{{{imagewidth|}}}}}
-
}}{{infobox row|Radio| VHF channel {{{vhf|{{magenta|?}}}}} }}
+
}}{{infobox row|Radio| VHF channel {{?|test={{{vhf|}}}|{{{vhf}}}|{{magenta|?}}}} }}
-
{{infobox row|Phone| {{{phone|}}} }}
+
{{infobox row|Phone| {{Tel link|{{{phone|}}} }} }}
{{?| test={{{mobile|}}}
{{?| test={{{mobile|}}}
-
   |{{infobox row|Mobile| {{{mobile|}}} }}
+
   |{{infobox row|Mobile| {{Tel link|{{{mobile|}}} }} }}
}}{{?| test={{{fax|}}}
}}{{?| test={{{fax|}}}
-
   |{{infobox row|Fax| {{{fax|}}} }}
+
   |{{infobox row|Fax| {{Tel link|{{{fax|}}} }} }}
-
}}{{infobox row|E-mail| {{?|test={{{email|}}}|[mailto:{{{email}}} {{{email}}}]}}}}
+
}}{{?| test={{{email|}}}
-
{{infobox row|Berths| {{{berths|}}} }}
+
  |{{infobox row|E-mail| {{?|test={{{email|}}}|[mailto:{{{email}}} {{{email}}}]}}}}
 +
}}{{infobox row|Berths| {{{berths|}}} }}
{{infobox row|Max.&nbsp;length| {{{maxlength|}}} }}
{{infobox row|Max.&nbsp;length| {{{maxlength|}}} }}
{{infobox row|Max.&nbsp;draft| {{{maxdraft|}}} }}
{{infobox row|Max.&nbsp;draft| {{{maxdraft|}}} }}
-
{{infobox row|Fuel| {{{fuel|}}} }}
+
{{?| test={{{maxbeam|}}}
 +
  |{{infobox row|Max.&nbsp;beam| {{{maxbeam|}}} }}
 +
}}{{infobox row|Fuel| {{{fuel|}}} }}
{{infobox row|Water| {{{water|}}} }}
{{infobox row|Water| {{{water|}}} }}
{{infobox row|Electricity| {{{elect|}}} }}
{{infobox row|Electricity| {{{elect|}}} }}
Line 33: Line 38:
{{?| test={{{address|}}}
{{?| test={{{address|}}}
   |{{infobox row|Address| {{{address|}}} }}
   |{{infobox row|Address| {{{address|}}} }}
-
}}{{infobox bottom test
+
}}{{infobox bottom
| notes={{if|test={{{notes|}}}|then={{{notes}}}|else={{magenta|More notes  about the marina}}}}
| notes={{if|test={{{notes|}}}|then={{{notes}}}|else={{magenta|More notes  about the marina}}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>

Latest revision as of 10:45, 11 November 2018

41°14.159′N, 9°11.671′E Chart icon.png
SantaTeresa.jpg
Magnify-clip.png
The port of Santa Teresa
Radio VHF channel 12
Phone +39 (789) 751936
Fax +39 (789) 751936
E-mail [email protected]
Berths 400
Max. length 35
Max. draft ?
Fuel Fuel station
Water Yes, on berth
Electricity Yes, 240v
Toilets Yes
Showers Yes
Cable TV No
Hours ?
some notes

This template was designed to create an infobox that is specific to an article about a marina:

{{infobox marina 
|||N|||E
| name=
| lat=
| lon=
| zoom=
| vhf=
| phone=
| mobile=
| fax=
| email=
| web=
| berths=
| maxlength=
| maxbeam=
| maxdraft=
| elect=
| water=
| fuel=
| toilets=
| showers=
| laundry=
| internet=
| cabletv=
| hours=
| image=
| imagetext=
| imagewidth=
| address=
| notes=
}}

Example:

{{infobox marina 
|41|14.159|N|9|11.671|E
| gallery= 
| chartlet= 
| vhf= 12
| berths= 400
| maxlength= 35
| maxdraft=
| fuel=	Fuel station
| water= Yes, on berth
| elect= Yes, 240v 
| toilets= Yes
| showers= Yes
| laundry=
| internet=
| wifi=
| cabletv= No
| phone= {{phone|39|789|751936}} 
| email= [email protected]
| web= http://www.portosantateresa.com
| hours=
| image= SantaTeresa.jpg
| imagetext= The port of Santa Teresa
| notes=some notes
}}

It is recommended to use a Phone template (see below) to fill in a phone parameter here, especially if such a number is in international format (which is also recommended).

Personal tools
advertisement
Friends of Cruisers Wiki