Veidne:Ostas infokaste

Vikipēdijas lapa
Ostas infokaste
Dokumentācijas ikona Veidnes dokumentācija[skatīt] [labot] [hronoloģija] [pārlādēt]

Tukšs paraugs[labot pirmkodu]

{{Ostas infokaste
|               name = 
|        native_name = 
|              image = 
|          imagesize = 
|            caption = 
|            country = 
|           location = 
|            address = 
| latd  =  | latm  =  | lats  =  | latNS  = 
| longd =  | longm =  | longs =  | longEW = 
|        pushpin_map = 
|        map_caption = 
|            map_alt = 
|      pushpin_image = 
|     pushpin_relief = 
|    pushpin_mapsize = 
|          map_label = 
|     label_position = 
|               mark = 
|         mark_width = 
|             opened = 
|           operated = 
|              owner = 
|               type = 
|          sizewater = 
|           sizeland = 
|               size = 
|             berths = 
|             wharfs = 
|              piers = 
|          employees = 
|    leadershiptitle = 
|             leader = 
| blankdetailstitle1 = 
|      blankdetails1 = 
| blankdetailstitle2 = 
|      blankdetails2 = 
| blankdetailstitle3 = 
|      blankdetails3 = 
| blankdetailstitle4 = 
|      blankdetails4 = 
| blankdetailstitle5 = 
|      blankdetails5 = 
| blankdetailstitle6 = 
|      blankdetails6 = 
|           arrivals = 
|       cargotonnage = 
|    containervolume = 
|         cargovalue = 
|   passengertraffic = 
|            revenue = 
|             profit = 
|   blankstatstitle1 = 
|        blankstats1 = 
|   blankstatstitle2 = 
|        blankstats2 = 
|   blankstatstitle3 = 
|        blankstats3 = 
|            website = 
}}

Usage[labot pirmkodu]

{{{name}}}
{{{native_name}}}
[[Attēls:{{{image}}}|{{{image_size}}}]]
Atrašanās vieta
Valsts {{{country}}}
Atrašanās vieta {{{location}}}
Koordinātas {{{coordinates}}}
Informācija
Atvērta {{{opened}}}
Pārvaldnieks {{{operated}}}
Īpašnieks {{{owner}}}
Ostas tips {{{type}}}
Ostas teritorija {{{sizewater}}}
Sauszemes teritorija {{{sizeland}}}
Izmērs {{{size}}}
Piestātnes {{{berths}}}
Piestātnes {{{wharfs}}}
Piestātnes {{{piers}}}
Darbinieki {{{employees}}}
{{{leadershiptitle}}} {{{leader}}}
{{{blankdetailstitle1}}} {{{blankdetails1}}}
{{{blankdetailstitle2}}} {{{blankdetails2}}}
{{{blankdetailstitle3}}} {{{blankdetails3}}}
Statistika
Kuģu iebraukšana {{{arrivals}}}
Ikgadējā kravas tonnāža {{{cargotonnage}}}
Ikgadējais konteineru tilpums {{{containervolume}}}
Kravas vērtība {{{cargovalue}}}
Pasažieru satiksme {{{passengertraffic}}}
Gada ieņēmumi {{{revenue}}}
Tīrie ienākumi {{{profit}}}
{{{blankstatstitle1}}} {{{blankstats1}}}
{{{blankstatstitle2}}} {{{blankstats2}}}
{{{blankstatstitle3}}} {{{blankstats3}}}
Mājaslapa
{{{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
| embed                  = 
| name                   = 
| image                  = 
| image_alt              = 
| image_size             = 
| image_caption          = 
| logo                   = 
| logo_alt               = 
| logo_size              = 
| logo_caption           = 
| pushpin_map            = 
| pushpin_map_geomask    = 
| pushpin_map_zoom       = 
| pushpin_map_caption    = 
| native_name            = 
| native_name_lang       = 
| country                = 
| location               = 
| coordinates            = 
| coordinates_footnotes  = 
| grid_name              = 
| grid_position          = 
| locode                 = 
| opened                 = 
| closed                 = 
| operated               = 
| owner                  = 
| type                   = 
| sizewater              = 
| sizeland               = 
| size                   = 
| berths                 = 
| ships                  = 
| wharfs                 = 
| piers                  = 
| draft_depth            = 
| air_draft              = 
| platforms              = 
| lines                  = 
| gauge                  = 
| streets                = 
| trucks                 = 
| employees              = 
| leadershiptitle        = 
| leader                 = 
| blankdetailstitle1     = 
| blankdetails1          = 
| blankdetailstitle2     = 
| blankdetails2          = 
| blankdetailstitle3     = 
| blankdetails3          = 
| arrivals               = 
| cargotonnage           = 
| containervolume        = 
| cargovalue             = 
| teu                    = 
| passengertraffic       = 
| revenue                = 
| profit                 = 
| blankstatstitle1       = 
| blankstats1            = 
| blankstatstitle2       = 
| blankstats2            = 
| blankstatstitle3       = 
| blankstats3            = 
| website                = 
| embedded               = 
}}
{{Infobox port
| name             = 
| image            = 
| image_size       = 
| image_caption    = 
| pushpin_map      = 
| country          = 
| native_name      = 
| native_name_lang = 
| location         = 
| coordinates      = 
| locode           =
| opened           = 
| operated         = 
| owner            = 
| type             = 
| sizewater        = 
| sizeland         = 
| size             = 
| berths           = 
| wharfs           = 
| piers            = 
| draft_depth      = 
| employees        = 
| arrivals         = 
| cargotonnage     = 
| containervolume  = 
| cargovalue       = 
| passengertraffic = 
| website          = 
}}

Usage as a child template[labot pirmkodu]

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[labot pirmkodu]

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
  | <!-- etc. -->
  }}
}}