Template:Infobox port/doc: Difference between revisions
Jump to navigation
Jump to search
en>QYYZ m (→Usage: fixed spacing) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 15:35, 4 February 2019
This is a documentation subpage for Template:Infobox port. It contains usage information, categories and other content that is not part of the original template page. |
Usage
{{{name}}} | |
---|---|
[[File:{{{image}}}|{{{image_size}}}]] | |
Lua error in Module:Location_map at line 408: Malformed coordinates value. | |
Location | |
Country | {{{country}}} |
Location | {{{location}}} |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. {{{coordinates_footnotes}}} |
UN/LOCODE | {{{locode}}} |
Details | |
Opened | {{{opened}}} |
Operated by | {{{operated}}} |
Owned by | {{{owner}}} |
Type of harbor | {{{type}}} |
Size of harbor | {{{sizewater}}} |
Land area | {{{sizeland}}} |
Size | {{{size}}} |
Available berths | {{{berths}}} |
Wharfs | {{{wharfs}}} |
Piers | {{{piers}}} |
Draft depth | {{{draft_depth}}} |
Air draft | {{{air_draft}}} |
Employees | {{{employees}}} |
{{{leadershiptitle}}} | {{{leader}}} |
{{{blankdetailstitle1}}} | {{{blankdetails1}}} |
{{{blankdetailstitle2}}} | {{{blankdetails2}}} |
{{{blankdetailstitle3}}} | {{{blankdetails3}}} |
Statistics | |
Vessel arrivals | {{{arrivals}}} |
Annual cargo tonnage | {{{cargotonnage}}} |
Annual container volume | {{{containervolume}}} |
Value of cargo | {{{cargovalue}}} |
Passenger traffic | {{{passengertraffic}}} |
Annual revenue | {{{revenue}}} |
Net income | {{{profit}}} |
{{{blankstatstitle1}}} | {{{blankstats1}}} |
{{{blankstatstitle2}}} | {{{blankstats2}}} |
{{{blankstatstitle3}}} | {{{blankstats3}}} |
Website {{{website}}} |
All fields are optional, if left blank they will not appear. Both the "Details" and "Statistics" have three blank spots to cover additional entries and allow for maximum flexibility.
Full version | Short version |
---|---|
{{Infobox port | name = | image = | image_size = | caption = | pushpin_map = | pushpin_map_alt = | pushpin_mapsize = | pushpin_relief = | pushpin_image = | pushpin_label = | pushpin_label_position = | pushpin_map_caption = | country = | location = | coordinates = | locode = | opened = | operated = | owner = | type = | sizewater = | sizeland = | size = | berths = | wharfs = | piers = | draft_depth = | air_draft = | employees = | leadershiptitle = | leader = | blankdetailstitle1 = | blankdetails1 = | blankdetailstitle2 = | blankdetails2 = | blankdetailstitle3 = | blankdetails3 = | arrivals = | cargotonnage = | containervolume = | cargovalue = | passengertraffic = | revenue = | profit = | blankstatstitle1 = | blankstats1 = | blankstatstitle2 = | blankstats2 = | blankstatstitle3 = | blankstats3 = | website = }} |
{{Infobox port | name = | image = | image_size = | caption = | country = | location = | coordinates = | locode = | opened = | operated = | owner = | type = | sizewater = | sizeland = | size = | berths = | wharfs = | piers = | employees = | arrivals = | cargotonnage = | containervolume = | cargovalue = | passengertraffic = | website = }} |
Use as a child template
The embed parameter is used when embedding this infobox into another (see the Template:Infobox documentation which explains embedding and subboxes).
{{Infobox ABC | name = | <!-- etc. --> | embedded = <!-- or module= --> {{Infobox port | embed = yes | <!-- etc. --> }} }}
Embedding other templates
The embedded parameter is used for embedding other templates into this infobox (see Wikipedia:Infobox modules).
{{Infobox port | name = | <!-- etc. --> | embedded = {{Infobox ABC | embed = yes <!-- or child=yes or subbox=yes--> | <!-- etc. --> }} }}
Example
Port of Afghanistan | |
---|---|
Lua error in Module:Location_map at line 408: Malformed coordinates value. | |
Location | |
Country | Utopia |
Location | Big City Political subdivision |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
UN/LOCODE | UNLOC |
Details | |
Opened | 1492 |
Operated by | National Ports, Ltd. |
Owned by | Government of Utopia |
Type of harbor | Natural/Artificial |
Size of harbor | 100 square kilometres (39 sq mi) |
Land area | 50 square miles (130 km2) |
Size | 350 acres (1.4 km2) |
Available berths | 82 |
Wharfs | 122 |
Piers | 8 |
Employees | 45,000 |
President | Michael Jackson |
Cranes | 8 |
Channel depth | 50 metres (160 ft) |
Warehouse space | 450,000 square feet (42,000 m2) |
Statistics | |
Vessel arrivals | 285 |
Annual cargo tonnage | 1,500,000 |
Annual container volume | a lot |
Value of cargo | $4.5 billion |
Passenger traffic | 850,000 |
Annual revenue | $250 million |
Net income | $25 million |
Main exports | Rubber, coal |
Main imports | Beer, oil |
Rail traffic | 400,000 tons |
Website www |
{{Infobox port | name = Port of Afghanistan | image = Porto de Valparaiso - Chile - by Sérgio Schmiegelow.jpg | caption = Ships in a port | pushpin_map = USA Oregon <!-- uses coordinates below --> | country = Utopia | location = Big City<br/>Political subdivision | coordinates = {{coord|45.000|-122.000|display=inline<!--,title-->}} | locode = UNLOC | opened = 1492 | operated = National Ports, Ltd. | owner = Government of Utopia | type = Natural/Artificial | sizewater = {{convert|100|km2|mi2}} | sizeland = {{convert|50|mi2|km2}} | size = {{convert|350|acre|km2}} | berths = 82 | wharfs = 122 | piers = 8 | employees = 45,000 | leadershiptitle = President | leader = Michael Jackson | blankdetailstitle1 = Cranes | blankdetails1 = 8 | blankdetailstitle2 = Channel depth | blankdetails2 = {{convert|50|m|ft}} | blankdetailstitle3 = Warehouse space | blankdetails3 = {{convert|450000|ft2|m2}} | arrivals = 285 | cargotonnage = 1,500,000 | containervolume = a lot | cargovalue = $4.5 billion | passengertraffic = 850,000 | revenue = $250 million | profit = $25 million | blankstatstitle1 = Main exports | blankstats1 = Rubber, coal | blankstatstitle2 = Main imports | blankstats2 = Beer, oil | blankstatstitle3 = Rail traffic | blankstats3 = 400,000 tons | website = {{URL|www.portofports.port}} }}
Tracking category
See also
- {{Infobox body of water}}
- {{Infobox bridge}}