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

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
(→‎Usage: other_name)
imported>Pigsonthewing
(update)
Line 7: Line 7:
 
|bridge_name = {{{bridge_name}}}
 
|bridge_name = {{{bridge_name}}}
 
|native_name = {{{native_name}}}
 
|native_name = {{{native_name}}}
 +
|native_name_lang = {{{native_name_lang}}}
 
|image = {{{image}}}
 
|image = {{{image}}}
 
|image_size = {{{image_size}}}
 
|image_size = {{{image_size}}}
Line 56: Line 57:
 
<pre>
 
<pre>
 
{{Infobox bridge
 
{{Infobox bridge
|bridge_name   =  
+
|bridge_name     =  
|native_name   =  
+
|native_name     =
|image         =  
+
|native_name_lang =  
|image_size   =  
+
|image           =  
|alt           =  
+
|image_size       =  
|caption       =  
+
|alt             =  
|official_name =  
+
|caption         =  
|other_name   =
+
|official_name   =  
|carries       =  
+
|other_name       =
|crosses       =  
+
|carries         =  
|locale       =  
+
|crosses         =  
|maint         =  
+
|locale           =  
|id           =  
+
|maint           =  
|designer     =  
+
|id               =  
|design       =  
+
|designer         =  
|material     =  
+
|design           =  
|spans         =  
+
|material         =  
|pierswater   =  
+
|spans           =  
|mainspan     =  
+
|pierswater       =  
|length       =  
+
|mainspan         =  
|width         =  
+
|length           =  
|height       =  
+
|width           =  
|load         =  
+
|height           =  
|clearance     =  
+
|load             =  
|below         =  
+
|clearance       =  
|traffic       =  
+
|below           =  
|builder       =
+
|traffic         =  
|begin         =  
+
|builder         =
|complete     =  
+
|begin           =  
|open         =  
+
|complete         =  
|preceded     =  
+
|open             =  
|followed     =  
+
|preceded         =  
|heritage     =  
+
|followed         =  
|collapsed     =  
+
|heritage         =  
|closed       =  
+
|collapsed       =  
|toll         =  
+
|closed           =  
|map_cue       =  
+
|toll             =  
|map_image     =  
+
|map_cue         =  
|map_alt       =  
+
|map_image       =  
|map_text     =  
+
|map_alt         =  
|map_width     =  
+
|map_text         =  
|coordinates   =  
+
|map_width       =  
|lat           =  
+
|coordinates     =  
|long         =  
+
|lat             =  
|extra         =  
+
|long             =  
 +
|extra           =  
 
}}
 
}}
 
</pre>
 
</pre>
Line 107: Line 109:
 
==Parameter descriptions==
 
==Parameter descriptions==
 
* bridge_name= Name of bridge
 
* 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 {{Tlc|Lang}} instead.
 
* image= Filename of image of the bridge
 
* image= Filename of image of the bridge
 
* alt= Alt text for bridge image (see [[WP:ALT]])
 
* alt= Alt text for bridge image (see [[WP:ALT]])
Line 131: Line 135:
 
* builder= Construction company or bridge builder
 
* builder= Construction company or bridge builder
 
* begin= Beginning date of Construction
 
* begin= Beginning date of Construction
* complete= Completion date
+
* complete= Completion date  
* open= Opening date
+
* open= Opening date Use {{Tlc|Start date}}
 
* heritage = Heritage status e.g UK listed building
 
* heritage = Heritage status e.g UK listed building
 
* closed= Closing date
 
* closed= Closing date
Line 145: Line 149:
 
* 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=inline,title}}</nowiki>
+
** i.e. <nowiki>{{coord|50|01|01|N|90|01|01|W|region:US_type:landmark|display=inline,title}}</nowiki>
* lat= Latitude
+
* <s>lat= Latitude; long= Longitude</s> Deprecated
* long= Longitude
+
** (using {{tl|coord}} emits a [[geo microformat]])
: (use either coordinates= or both lat= and long=; using {{tl|coord}} emits a [[geo microformat]])
 
 
* extra = Spare field for additional information
 
* extra = Spare field for additional information
  

Revision as of 10:28, 11 September 2009


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}}}
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}}}
History
Designer{{{designer}}}
Constructed by{{{builder}}}
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           = 
|maint            = 
|id               = 
|designer         = 
|design           = 
|material         = 
|spans            = 
|pierswater       = 
|mainspan         = 
|length           = 
|width            = 
|height           = 
|load             = 
|clearance        = 
|below            = 
|traffic          = 
|builder          =
|begin            = 
|complete         = 
|open             = 
|preceded         = 
|followed         = 
|heritage         = 
|collapsed        = 
|closed           = 
|toll             = 
|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
  • 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)
  • 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)
  • spans = Number of spans or arches
  • pierswater = Number of piers standing in a river or other water in normal conditions
  • mainspan= Length of main span, w/ conversions
  • length= Length of bridge, w/ conversions
  • width= Width of bridge, w/ conversions
  • height= Height of bridge, w/ conversions
  • load= Load limit of the bridge, w/ conversions
  • clearance= Clearance on top of the bridge, if proper
  • below= Clearance beneath the bridge
  • traffic= Average Daily Traffic value
  • builder= Construction company or bridge builder
  • begin= Beginning date of Construction
  • complete= Completion date
  • open= Opening date Use {{Start date}}
  • heritage = Heritage status e.g UK listed building
  • closed= Closing date
  • collapsed=
  • preceded=
  • followed=
  • toll= Price of the toll (if a toll bridge)
  • map_cue=
  • 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=inline,title}}
  • lat= Latitude; long= Longitude Deprecated
  • extra = Spare field for additional information

Microformat

Template:UF-hcard-geo