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

From blackwiki
Jump to navigation Jump to search
imported>Stuffed cat
(→‎Usage: + | Successful competition design & | Contracted lead designer)
imported>Stuffed cat
(+ | Successful competition design & | Contracted lead designer)
Line 1: Line 1:
{{Documentation subpage}}
+
{{infobox
<includeonly>{{intricate template}}</includeonly>
+
| bodyclass  = vcard
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
  
== Usage ==
+
| above      = <includeonly><span class="fn org">{{{name|{{{bridge_name|{{PAGENAME}}}}}}}}</span></includeonly><!--
 +
  -->{{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}| lang="{{{native_name_lang}}}" xml:lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}
  
{{Infobox bridge
+
| image     = {{#if: {{{image|}}}|[[File:{{{image}}}|{{px|{{{image_size|}}}|250px}}|alt={{{alt|}}}|{{{name|{{{bridge_name|{{PAGENAME}}}}}}}}]]}}
|bridge_name     = {{{bridge_name}}}
+
| caption    = {{{caption|}}}
|native_name      = {{{native_name}}}
 
|native_name_lang = {{{native_name_lang}}}
 
|image            = {{{image}}}
 
|image_size      = {{{image_size}}}
 
|alt              = {{{alt}}}
 
|caption          = {{{caption}}}
 
|official_name    = {{{official_name}}}
 
|other_name      = {{{other_name}}}
 
|carries          = {{{carries}}}
 
|crosses          = {{{crosses}}}
 
|locale          = {{{locale}}}
 
|owner            = {{{owner}}}
 
|maint            = {{{maint}}}
 
|id              = {{{id}}}
 
|architect        = {{{architect}}}
 
|designer        = {{{designer}}}
 
|engineering      = {{{engineering}}}
 
|winner          = {{{winner}}}
 
|contracted_designer = {{{contracted_designer}}}
 
|design          = {{{design}}}
 
|material        = {{{material}}}
 
|length          = {{{length}}}
 
|width            = {{{width}}}
 
|height          = {{{height}}}
 
|mainspan        = {{{mainspan}}}
 
|spans            = {{{spans}}}
 
|pierswater      = {{{pierswater}}}
 
|load            = {{{load}}}
 
|clearance        = {{{clearance}}}
 
|below            = {{{below}}}
 
|life            = {{{life}}}
 
|builder          = {{{builder}}}
 
|fabricator      = {{{fabricator}}}
 
|begin            = {{{begin}}}
 
|complete        = {{{complete}}}
 
|cost            = {{{cost}}}
 
|open            = {{{open}}}
 
|inaugurated      = {{{inaugurated}}}
 
|toll            = {{{toll}}}
 
|traffic          = {{{traffic}}}
 
|preceded        = {{{preceded}}}
 
|followed        = {{{followed}}}
 
|heritage        = {{{heritage}}}
 
|collapsed        = {{{collapsed}}}
 
|closed          = {{{closed}}}
 
|replaces        = {{{replaces}}}
 
|map_cue          = {{{map_cue}}}
 
|map_image        = {{{map_image}}}
 
|map_alt          = {{{map_alt}}}
 
|map_text        = {{{map_text}}}
 
|map_width        = {{{map_width}}}
 
|coordinates      = {{{coordinates}}}
 
|lat              = {{{lat|}}}
 
|long            = {{{long|}}}
 
|references      = {{{references|}}}
 
|extra            = {{{extra}}}
 
}}
 
Copy and paste the template below:
 
{| style="background: transparent;"
 
|
 
<pre>
 
{{Infobox bridge
 
| bridge_name      =
 
| native_name      =
 
| native_name_lang =
 
| image            =
 
| image_size      =
 
| alt              =
 
| caption         =
 
| official_name    =
 
| other_name      =
 
| carries          =
 
| crosses          =
 
| locale          =
 
| owner            =
 
| maint            =
 
| id              =
 
| architect        =
 
| designer        =
 
| engineering      =
 
| design          =
 
| winner          =
 
| contracted_designer =
 
| material        =
 
| length          =
 
| width            =
 
| height          =
 
| mainspan        =
 
| spans            =
 
| pierswater      =
 
| load            =
 
| clearance        =
 
| below            =
 
| life            =
 
| builder          =
 
| fabricator      =
 
| begin            =
 
| complete        =
 
| cost            =
 
| open            =
 
| inaugurated      =
 
| toll            =
 
| traffic          =
 
| preceded        =
 
| followed        =
 
| heritage        =
 
| collapsed        =
 
| closed          =
 
| replaces        =
 
| map_cue          =
 
| map_image        =
 
| map_alt          =
 
| map_text        =
 
| map_width        =
 
| coordinates      =
 
| lat              =
 
| long            =
 
| references      =
 
| extra            =
 
}}
 
</pre>
 
|}
 
  
== Parameter descriptions ==
+
| label1    = Official name
{| class="wikitable" border="1"
+
| class1    = nickname
! Field !! Description
+
| data1      = {{{official_name|}}}
|-
 
| 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 {{Tl|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 || Persons or body that owns the bridge
 
|-
 
| maint || Maintaining entity (e.g. California Department of Transportation)
 
|-
 
| id || United States National Bridge ID#, if available
 
|-
 
| architect || Those responsible for the conceptual design of the bridge - to be used when engineering/construction design was done by another party
 
|-
 
| designer || Bridge designer/architect  (e.g. Isambard Kingdom Brunel)
 
|-
 
| engineering || The person or organization that did the engineering/construction design, where that differs from 'designer' above
 
|-
 
| 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 [[pier (architecture)|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 || Construction begin
 
|-
 
| complete || Construction end
 
|-
 
| cost || Total project cost
 
|-
 
| open || Opening date, use {{Tl|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 <code>closed</code> - closure is assumed
 
|-
 
| closed || Closing date
 
|-
 
| replaces || The bridge or ferry services that this bridge made redundant
 
|-
 
| 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. <nowiki>{{Coord|50|01|01|N|90|01|01|W|region:US_type:landmark|display=it}}</nowiki>
 
|-
 
| lat || Latitude
 
|-
 
| long || Longitude** (use ''either'' <code>lat</code> + <code>long</code> ''or'' {{Tlc|Coord}})
 
|-
 
| references || References to de-clutter infobox
 
|-
 
| extra || Spare field for additional information
 
|}
 
== Microformat ==
 
  
{{UF-hcard-geo}}
+
| label2    = Other name(s)
 +
| class2    = nickname
 +
| data2      = {{{other_name|{{{also_known_as|}}}}}}
  
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
| label3    = Carries
[[Category:Bridge templates]]
+
| data3      = {{{carries|}}}
[[Category:Buildings and structures infobox templates|Bridge]]
 
[[Category:Transport infobox templates|Bridge]]
 
[[Category:Templates generating hCards]]
 
[[Category:Coordinates templates]]
 
  
[[es:Plantilla:Ficha de puente]]
+
| label4    = Crosses
[[fi:Malline:Silta]]
+
| data4      = {{{crosses|}}}
[[fr:Modèle:Infobox Pont]]
+
 
[[hy:Կաղապար:Տեղեկաքարտ Կամուրջ]]
+
| label5    = Locale
[[id:Templat:Infobox Bridge]]
+
| class5    = label
[[it:Template:Ponte]]
+
| data5      = {{{locale|}}}
[[ja:Template:Infobox Bridge]]
+
 
[[ko:틀:다리 정보]]
+
| label6    = Owner
[[lv:Veidne:Infokaste Tilts]]
+
| data6      = {{{owner|}}}
[[mk:Шаблон:Infobox Bridge]]
+
 
[[nl:Sjabloon:Infobox brug]]
+
| label7    = Maintained by
[[no:Mal:Infoboks bro]]
+
| data7      = {{{maint|}}}
[[nn:Mal:Infoboks bru]]
+
 
[[ro:Format:Casetă Pod]]
+
| label8    = [[National Bridge Inventory#ID numbers|ID number]]
[[ru:Шаблон:Мост]]
+
| data8      = {{{id|}}}
[[sv:Mall:Bro]]
+
 
[[tr:Şablon:Bilgikutusu köprü]]
+
| label9    = Architect
[[vi:Tiêu bản:Thông tin cầu]]
+
| data9      = {{{architect|}}}
[[zh:Template:Infobox Bridge]]
+
 
</includeonly>
+
| label10    = Designer
 +
| data10      = {{{designer|}}}
 +
 
 +
| label11    = Engineering design
 +
| data11    = {{{engineering|}}}
 +
 
 +
| label12    = Successful competition design
 +
| data12    = {{{winner|}}}
 +
 
 +
| label13    = Contracted lead designer
 +
| data13    = {{{contracted_designer|}}}
 +
 
 +
| label14    = Design
 +
| class14    = category
 +
| data14    = {{{design|}}}
 +
 
 +
| label15    = Material
 +
| class15    = category
 +
| data15    = {{{material|}}}
 +
 
 +
| label16    = Total length
 +
| data16    = {{{length|}}}
 +
 
 +
| label17    = Width
 +
| data17    = {{{width|}}}
 +
 
 +
| label18    = Height
 +
| data18    = {{{height|}}}
 +
 
 +
| label19    = Longest span
 +
| data19    = {{{mainspan|}}}
 +
 
 +
| label20    = Number of spans
 +
| data20    = {{{spans|}}}
 +
 
 +
| label21    = Piers in water
 +
| data21    = {{{pierswater|}}}
 +
 
 +
| label22    = Load limit
 +
| data22    = {{{load|}}}
 +
 
 +
| label23    = Vertical clearance
 +
| data23    = {{{clearance|}}}
 +
 
 +
| label24    = Clearance below
 +
| data24    = {{{below|}}}
 +
 
 +
| label25    = Design life
 +
| data25    = {{{life|}}}
 +
 
 +
| label26    = Constructed by
 +
| data26    = {{{builder|}}}
 +
 
 +
| label27    = Fabrication by
 +
| data27    = {{{fabricator|}}}
 +
 
 +
| label28    = Construction begin
 +
| data28    = {{{begin|}}}
 +
 
 +
| label29    = Construction end
 +
| data29    = {{{complete|}}}
 +
 
 +
| label30    = Construction cost
 +
| data30    = {{{cost|}}}
 +
 
 +
| label31    = Opened
 +
| data31    = {{{open|}}}
 +
 
 +
| label32    = Inaugurated
 +
| data32    = {{{inaugurated|}}}
 +
 
 +
| label33    = Toll
 +
| data33    = {{{toll|}}}
 +
 
 +
| label34    = [[Average daily traffic|Daily traffic]]
 +
| data34    = {{{traffic|}}}
 +
 
 +
| label35    = Preceded by
 +
| data35    = {{{preceded|}}}
 +
 
 +
| label36    = Followed by
 +
| data36    = {{{followed|}}}
 +
 
 +
| label37    = Heritage status
 +
| class37    = category
 +
| data37    = {{{heritage|}}}
 +
 
 +
| label38    = Collapsed
 +
| data38    = {{{collapsed|}}}
 +
 
 +
| label39    = Closed
 +
| data39    = {{{closed|}}}
 +
 
 +
| label40    = Replaces
 +
| data40    = {{{replaces|}}}
 +
 
 +
| label41    = {{br separated entries|{{{map_cue|}}}|{{{map_text|}}}}}
 +
| data41    = {{#if:{{{map_image|}}}|[[Image:{{{map_image}}}|{{px|{{{map_width|}}}|180px}}|alt={{{map_alt|}}}| ]]}}
 +
 
 +
| label42    = [[Geographic coordinate system|Coordinates]]
 +
| data42    = {{#if:{{both|{{{lat|}}}|{{{long|}}}}}|{{coord|{{{lat|0}}}|{{{long|0}}}|{{#if:{{{coordinates_type|}}}|{{{coordinates_type}}}|{{#if:{{{coordinates_region|}}}|region:ed_designeer{{{coordinates_region}}}_}}type:landmark}}|display=inline,title}}|{{{coordinates|}}} }}
 +
 
 +
| data43    = {{{extra|}}}
 +
 
 +
| belowstyle = background-color: #efefef
 +
| below      = {{#if:{{{references|}}}|'''References:''' {{{references}}}}}
 +
 
 +
}}<noinclude>{{Documentation}}<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude>

Revision as of 23:24, 7 February 2011

Template documentation[create]