Difference between revisions of "Template:Infobox bridge/doc"

From blackwiki
Jump to navigation Jump to search
imported>117Avenue
imported>Stuffed cat
(documentation updated)
Line 4: Line 4:
  
 
== Usage ==
 
== Usage ==
 +
 
{{Infobox bridge
 
{{Infobox bridge
 
|bridge_name = {{{bridge_name}}}
 
|bridge_name = {{{bridge_name}}}
Line 17: Line 18:
 
|crosses = {{{crosses}}}
 
|crosses = {{{crosses}}}
 
|locale = {{{locale}}}
 
|locale = {{{locale}}}
 +
|owner = {{{owner}}}
 
|maint = {{{maint}}}
 
|maint = {{{maint}}}
 
|id = {{{id}}}
 
|id = {{{id}}}
Line 22: Line 24:
 
|design = {{{design}}}
 
|design = {{{design}}}
 
|material = {{{material}}}
 
|material = {{{material}}}
|pierswater = {{{pierswater}}}
 
 
|length = {{{length}}}
 
|length = {{{length}}}
 
|width = {{{width}}}
 
|width = {{{width}}}
Line 28: Line 29:
 
|mainspan = {{{mainspan}}}
 
|mainspan = {{{mainspan}}}
 
|spans = {{{spans}}}
 
|spans = {{{spans}}}
 +
|pierswater = {{{pierswater}}}
 
|load = {{{load}}}
 
|load = {{{load}}}
 
|clearance = {{{clearance}}}
 
|clearance = {{{clearance}}}
 
|below = {{{below}}}
 
|below = {{{below}}}
|traffic = {{{traffic}}}
+
|life = {{{life}}}
 
|builder = {{{builder}}}
 
|builder = {{{builder}}}
 
|fabricator = {{{fabricator}}}
 
|fabricator = {{{fabricator}}}
Line 37: Line 39:
 
|complete = {{{complete}}}
 
|complete = {{{complete}}}
 
|open = {{{open}}}
 
|open = {{{open}}}
|life = {{{life}}}
+
|inaugurated = {{{inaugurated}}}
 +
|toll = {{{toll}}}
 +
|traffic = {{{traffic}}}
 
|preceded = {{{preceded}}}
 
|preceded = {{{preceded}}}
 
|followed = {{{followed}}}
 
|followed = {{{followed}}}
Line 43: Line 47:
 
|collapsed = {{{collapsed}}}
 
|collapsed = {{{collapsed}}}
 
|closed = {{{closed}}}
 
|closed = {{{closed}}}
|toll = {{{toll}}}
 
 
|map_cue = {{{map_cue}}}
 
|map_cue = {{{map_cue}}}
 
|map_image = {{{map_image}}}
 
|map_image = {{{map_image}}}
Line 71: Line 74:
 
|crosses =  
 
|crosses =  
 
|locale =  
 
|locale =  
 +
|owner =
 
|maint =  
 
|maint =  
 
|id =  
 
|id =  
Line 76: Line 80:
 
|design =  
 
|design =  
 
|material =  
 
|material =  
|pierswater =
 
 
|length =  
 
|length =  
 
|width =  
 
|width =  
Line 82: Line 85:
 
|mainspan =  
 
|mainspan =  
 
|spans =  
 
|spans =  
 +
|pierswater =
 
|load =  
 
|load =  
 
|clearance =  
 
|clearance =  
 
|below =  
 
|below =  
|traffic =  
+
|life =  
 
|builder =  
 
|builder =  
 
|fabricator =  
 
|fabricator =  
Line 91: Line 95:
 
|complete =  
 
|complete =  
 
|open =  
 
|open =  
|life =  
+
|inaugurated =
 +
|toll =
 +
|traffic =  
 
|preceded =  
 
|preceded =  
 
|followed =  
 
|followed =  
Line 97: Line 103:
 
|collapsed =  
 
|collapsed =  
 
|closed =  
 
|closed =  
|toll =
 
 
|map_cue =  
 
|map_cue =  
 
|map_image =  
 
|map_image =  
Line 111: Line 116:
 
|}
 
|}
  
==Parameter descriptions==
+
== Parameter descriptions ==
* bridge_name= Name of bridge
+
 
* native_name= Name of the bridge in the local language, if different
+
* bridge_name = Name of bridge
* native_name_lang= ISO code for the local language (e.g. "fr" for French). If more than one, enter the native names using {{Tlc|Lang}} instead.
+
* native_name = Name of the bridge in the local language, if different
* image= Filename of image of the bridge
+
* native_name_lang = ISO code for the local language (e.g. "fr" for French). If more than one, enter the native names using {{Tlc|Lang}} instead.
* alt= Alt text for bridge image (see [[WP:ALT]])
+
* image = Filename of image of the bridge
* caption= Text for caption beneath image
+
* alt = Alt text for bridge image (see [[WP:ALT]])
* official_name= Official name
+
* caption = Text for caption beneath image
* other_name= Also known as name
+
* official_name = Official name
* carries= Type of vehicles bridge carries
+
* other_name = Also known as name
* crosses= Body of water or geographic feature that is being crossed
+
* carries = Type of vehicles bridge carries
* locale= General area where located (e.g. San Francisco, Indiana-Kentucky State Line)
+
* crosses = Body of water or geographic feature that is being crossed
* maint= Maintaining entity (e.g. California Department of Transportation)
+
* locale = General area where located (e.g. San Francisco, Indiana-Kentucky State Line)
* id= United States National Bridge ID#, if available
+
* owner = the person or body that owns the bridge
 +
* maint = Maintaining entity (e.g. California Department of Transportation)
 +
* id = United States National Bridge ID#, if available
 
* designer = Bridge designer (e.g. Isambard Kingdom Brunel)
 
* designer = Bridge designer (e.g. Isambard Kingdom Brunel)
* design= Type of bridge (cantilever, truss, suspension)
+
* design = Type of bridge (cantilever, truss, suspension)
 
* material = Construction material (concrete, steel, iron, stone, brick, wood)
 
* material = Construction material (concrete, steel, iron, stone, brick, wood)
 +
* length = Length of bridge, w/ conversions
 +
* width = Width of bridge, w/ conversions
 +
* height = Height of bridge, w/ conversions
 +
* mainspan = Length of main span, w/ conversions
 +
* spans = Number of spans or arches
 
* pierswater = Number of [[pier (architecture)|piers]] standing in a river or other water in normal conditions
 
* pierswater = Number of [[pier (architecture)|piers]] standing in a river or other water in normal conditions
* length= Length of bridge, w/ conversions
+
* load = Load limit of the bridge, w/ conversions
* width= Width of bridge, w/ conversions
+
* clearance = Clearance on top of the bridge, if proper
* height= Height of bridge, w/ conversions
+
* below = Clearance ''beneath'' the bridge
* mainspan= Length of main span, w/ conversions
+
* life = Design life of the bridge in years
* spans = Number of spans or arches
+
* builder = Construction company or bridge builder
* load= Load limit of the bridge, w/ conversions
+
* fabricator = Steel fabricator
* clearance= Clearance on top of the bridge, if proper
+
* begin = Beginning date of construction
* below= Clearance ''beneath'' the bridge
+
* complete = Completion date  
* traffic= Average Daily Traffic value
+
* open = Opening date, use {{Tlc|Start date}}
* builder= Construction company or bridge builder
+
* inaugurated = the date the bridge is ceremonially opened
* fabricator= Steel fabricator
+
* toll = Price of the toll (if a toll bridge)
* begin= Beginning date of construction
+
* traffic = Average Daily Traffic value
* complete= Completion date  
+
* preceded = Name of bridge upstream
* open= Opening date, use {{Tlc|Start date}}
+
* followed = Name of bridge downstream
* life= Design life
 
* preceded= Name of bridge upstream
 
* followed= Name of bridge downstream
 
 
* heritage = Heritage status (e.g. UK listed building)
 
* heritage = Heritage status (e.g. UK listed building)
* collapsed= If collapsed, then date of collapse, don't use <code>closed</code>
+
* collapsed = If collapsed, then date of collapse, don't use <code>closed</code> - closure is assumed
* closed= Closing date
+
* closed = Closing date
* toll= Price of the toll (if a toll bridge)
+
* map_cue = Map title
* map_cue= Map title
+
* map_image = Filename of map image of bridge
* map_image= Filename of map image of bridge
+
* map_alt = Alt text for map image (see [[WP:ALT]])
* map_alt= Alt text for map image (see [[WP:ALT]])
+
* map_text = Caption beneath map image of bridge
* map_text= Caption beneath map image of bridge
+
* map_width = Map width in a standard value (pixels, for example)
* map_width= Map width in a standard value (pixels, for example)
+
* coordinates = Latitude and longitude
* coordinates= Latitude and longitude
 
 
** i.e. <nowiki>{{Coord|50|01|01|N|90|01|01|W|region:US_type:landmark|display=it}}</nowiki>
 
** i.e. <nowiki>{{Coord|50|01|01|N|90|01|01|W|region:US_type:landmark|display=it}}</nowiki>
* lat= Latitude; long= Longitude
+
* lat = Latitude; long= Longitude
 
** (use ''either'' <code>lat</code> + <code>long</code> ''or'' {{Tlc|Coord}})
 
** (use ''either'' <code>lat</code> + <code>long</code> ''or'' {{Tlc|Coord}})
 
* extra = Spare field for additional information
 
* extra = Spare field for additional information
  
==Microformat==
+
== Microformat ==
 +
 
 
{{UF-hcard-geo}}
 
{{UF-hcard-geo}}
  

Revision as of 12:31, 10 June 2010


Usage

Script error: No such module "If empty".

{{{native_name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1|{{{alt}}}]]
{{{caption}}}
Coordinates{{{coordinates}}}
Carries{{{carries}}}
Crosses{{{crosses}}}
Locale{{{locale}}}
Official name{{{official_name}}}
Other name(s){{{other_name}}}
Owner{{{owner}}}
Maintained by{{{maint}}}
Heritage status{{{heritage}}}
ID number{{{id}}}
WebsiteTemplate:URL2
Preceded by{{{preceded}}}
Followed by{{{followed}}}
Characteristics
Design{{{design}}}
Material{{{Material}}}
Total length{{{length}}}
Width{{{width}}}
Height{{{height}}}
Longest span{{{mainspan}}}
No. of spans{{{spans}}}
Piers in water{{{pierswater}}}
Load limit{{{load}}}
Clearance above{{{clearance}}}
Clearance below{{{below}}}
Design life{{{life}}}
History
Designer{{{designer}}}
Constructed by{{{builder}}}
Fabrication by{{{fabricator}}}
Construction start{{{begin}}}
Construction end{{{complete}}}
OpenedScript error: No such module "If empty".
InauguratedScript error: No such module "If empty".
Collapsed{{{collapsed}}}
Closed{{{closed}}}
Statistics
Daily traffic{{{traffic}}}
Toll{{{toll}}}
{{{extra}}}
Location
Lua error in Module:Infobox_mapframe at line 40: attempt to index field 'wikibase' (a nil value).

Copy and paste the template below:

{{Infobox bridge
|bridge_name = 
|native_name = 
|native_name_lang = 
|image = 
|image_size = 
|alt = 
|caption = 
|official_name = 
|other_name = 
|carries = 
|crosses = 
|locale = 
|owner =
|maint = 
|id = 
|designer = 
|design = 
|material = 
|length = 
|width = 
|height = 
|mainspan = 
|spans = 
|pierswater =
|load = 
|clearance = 
|below = 
|life = 
|builder = 
|fabricator = 
|begin = 
|complete = 
|open = 
|inaugurated =
|toll = 
|traffic = 
|preceded = 
|followed = 
|heritage = 
|collapsed = 
|closed = 
|map_cue = 
|map_image = 
|map_alt = 
|map_text = 
|map_width = 
|coordinates = 
|lat = 
|long = 
|extra = 
}}

Parameter descriptions

  • bridge_name = Name of bridge
  • native_name = Name of the bridge in the local language, if different
  • native_name_lang = ISO code for the local language (e.g. "fr" for French). If more than one, enter the native names using {{Lang}} instead.
  • image = Filename of image of the bridge
  • alt = Alt text for bridge image (see WP:ALT)
  • caption = Text for caption beneath image
  • official_name = Official name
  • other_name = Also known as name
  • carries = Type of vehicles bridge carries
  • crosses = Body of water or geographic feature that is being crossed
  • locale = General area where located (e.g. San Francisco, Indiana-Kentucky State Line)
  • owner = the person or body that owns the bridge
  • maint = Maintaining entity (e.g. California Department of Transportation)
  • id = United States National Bridge ID#, if available
  • designer = Bridge designer (e.g. Isambard Kingdom Brunel)
  • design = Type of bridge (cantilever, truss, suspension)
  • material = Construction material (concrete, steel, iron, stone, brick, wood)
  • length = Length of bridge, w/ conversions
  • width = Width of bridge, w/ conversions
  • height = Height of bridge, w/ conversions
  • mainspan = Length of main span, w/ conversions
  • spans = Number of spans or arches
  • pierswater = Number of piers standing in a river or other water in normal conditions
  • load = Load limit of the bridge, w/ conversions
  • clearance = Clearance on top of the bridge, if proper
  • below = Clearance beneath the bridge
  • life = Design life of the bridge in years
  • builder = Construction company or bridge builder
  • fabricator = Steel fabricator
  • begin = Beginning date of construction
  • complete = Completion date
  • open = Opening date, use {{Start date}}
  • inaugurated = the date the bridge is ceremonially opened
  • toll = Price of the toll (if a toll bridge)
  • traffic = Average Daily Traffic value
  • preceded = Name of bridge upstream
  • followed = Name of bridge downstream
  • heritage = Heritage status (e.g. UK listed building)
  • collapsed = If collapsed, then date of collapse, don't use closed - closure is assumed
  • closed = Closing date
  • map_cue = Map title
  • map_image = Filename of map image of bridge
  • map_alt = Alt text for map image (see WP:ALT)
  • map_text = Caption beneath map image of bridge
  • map_width = Map width in a standard value (pixels, for example)
  • coordinates = Latitude and longitude
    • i.e. {{Coord|50|01|01|N|90|01|01|W|region:US_type:landmark|display=it}}
  • lat = Latitude; long= Longitude
    • (use either lat + long or {{Coord}})
  • extra = Spare field for additional information

Microformat

Template:UF-hcard-geo