Difference between revisions of "Template:Infobox fault"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(or here?)
imported>Frietjes
(auto headers)
Line 9: Line 9:
  
 
| headerstyle    = background:#FF91A4
 
| headerstyle    = background:#FF91A4
 +
| autoheaders    = yes
  
 
| image          = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imagesize|}}}}}}|sizedefault=frameless|alt={{{image_alt|{{{alt|}}}}}}}}
 
| image          = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imagesize|}}}}}}|sizedefault=frameless|alt={{{image_alt|{{{alt|}}}}}}}}
Line 42: Line 43:
 
| data4      = {{{location|}}}
 
| data4      = {{{location|}}}
  
| label5     = Country
+
| label6     = Country
| data5       = {{{country|}}}
+
| data6       = {{{country|}}}
  
| label6     = Region
+
| label7     = Region
| data6       = {{{region|}}}
+
| data7       = {{{region|}}}
  
| label7     = State
+
| label8     = State
| data7       = {{{state|}}}
+
| data8       = {{{state|}}}
  
| label8     = Cities
+
| label9     = Cities
| data8       = {{{cities|}}}
+
| data9       = {{{cities|}}}
  
| header9    = {{#if:{{{elevation|}}}{{{elevation_m|}}}{{{elevation_ft|}}}{{{topdepth|}}}{{{topdepth_m|}}}{{{topdepth_ft|}}}{{{range|}}}{{{part_of|}}}{{{segments|}}}{{{length|}}}{{{width|}}}{{{depth|}}}{{{strike|}}}{{{dip|}}}{{{dip_angle|}}}{{{displacement|}}}|Characteristics}}
+
| header10    = Characteristics
  
| label10     = Elevation
+
| label11     = Elevation
| data10     = {{#if:{{{elevation|}}} | {{{elevation|}}}
+
| data11     = {{#if:{{{elevation|}}} | {{{elevation|}}}
 
               | {{#if:{{{elevation_m|}}} | {{convert|{{{elevation_m|}}}|m|0}}
 
               | {{#if:{{{elevation_m|}}} | {{convert|{{{elevation_m|}}}|m|0}}
 
               |  {{#if:{{{elevation_ft|}}} | {{convert|{{{elevation_ft|}}}|ft|0}}}}}}}}<!--
 
               |  {{#if:{{{elevation_ft|}}} | {{convert|{{{elevation_ft|}}}|ft|0}}}}}}}}<!--
 
             -->{{{elevation_ref|}}}
 
             -->{{{elevation_ref|}}}
  
| label11     = Top depth
+
| label12     = Top depth
| data11     = {{#if:{{{topdepth|}}} | {{{topdepth|}}}
+
| data12     = {{#if:{{{topdepth|}}} | {{{topdepth|}}}
 
               | {{#if:{{{topdepth_m|}}} | {{convert|{{{topdepth_m|}}}|m|0}}
 
               | {{#if:{{{topdepth_m|}}} | {{convert|{{{topdepth_m|}}}|m|0}}
 
               |  {{#if:{{{topdepth_ft|}}} | {{convert|{{{topdepth_ft|}}}|ft|0}}}}}}}}<!--
 
               |  {{#if:{{{topdepth_ft|}}} | {{convert|{{{topdepth_ft|}}}|ft|0}}}}}}}}<!--
 
             -->{{{topdepth_ref|}}}
 
             -->{{{topdepth_ref|}}}
  
| label12     = Range
+
| label13     = Range
| data12     = {{{range|}}}
+
| data13     = {{{range|}}}
  
| label13     = Part of
+
| label14     = Part of
| data13     = {{{part_of|}}}
+
| data14     = {{{part_of|}}}
  
| label14     = Segments
+
| label15     = Segments
| data14     = {{{segments|}}}
+
| data15     = {{{segments|}}}
  
| label15     = Length
+
| label16     = Length
| data15     = {{{length|}}}
+
| data16     = {{{length|}}}
  
| label16     = Width
+
| label17     = Width
| data16     = {{{width|}}}
+
| data17     = {{{width|}}}
  
| label17     = Depth
+
| label18     = Depth
| data17     = {{{depth|}}}
+
| data18     = {{{depth|}}}
  
| label18     = [[Strike (geology)|Strike]]
+
| label19     = [[Strike (geology)|Strike]]
| data18     = {{{strike|}}}
+
| data19     = {{{strike|}}}
  
| label19     = [[Dip (geology)|Dip]]
+
| label20     = [[Dip (geology)|Dip]]
| data19     = {{{dip|}}}
+
| data20     = {{{dip|}}}
  
| label20     = [[Dip (geology)|Dip angle]]
+
| label21     = [[Dip (geology)|Dip angle]]
| data20     = {{{dip_angle|}}}
+
| data21     = {{{dip_angle|}}}
  
| label21     = [[Fault (geology)|Displacement]]
+
| label22     = [[Fault (geology)|Displacement]]
| data21     = {{{displacement|}}}
+
| data22     = {{{displacement|}}}
  
| header22   = {{#if:{{{plate|}}}{{{status|}}}{{{earthquakes|}}}{{{type|}}}{{{movement|}}}{{{rockunit|}}}{{{age|}}}{{{orogeny|}}}{{{volcanic_arc/belt|}}}{{{volcanic_arc|}}}{{{volcanic_belt|}}}{{{volcanic_field|}}}|Tectonics}}
+
| header23   = Tectonics
  
| label23     = [[List of tectonic plates|Plate]]
+
| label24     = [[List of tectonic plates|Plate]]
| data23     = {{{plate|}}}
+
| data24     = {{{plate|}}}
  
| label24     = Status
+
| label25     = Status
| data24     = {{{status|}}}
+
| data25     = {{{status|}}}
  
| label25     = [[List of earthquakes|Earthquakes]]
+
| label26     = [[List of earthquakes|Earthquakes]]
| data25     = {{{earthquakes|}}}
+
| data26     = {{{earthquakes|}}}
  
| label26     = [[Fault (geology)#Fault types|Type]]
+
| label27     = [[Fault (geology)#Fault types|Type]]
| data26     = {{{type|}}}
+
| data27     = {{{type|}}}
  
| label27     = [[Tectonic movement|Movement]]
+
| label28     = [[Tectonic movement|Movement]]
| data27     = {{{movement|}}}
+
| data28     = {{{movement|}}}
  
| label28     = [[Geologic formation|Rock units]]
+
| label29     = [[Geologic formation|Rock units]]
| data28     = {{{rockunit|}}}
+
| data29     = {{{rockunit|}}}
  
| label29     = [[Geologic timescale|Age]]
+
| label30     = [[Geologic timescale|Age]]
| data29     = {{{age|}}}
+
| data30     = {{{age|}}}
  
| label30     = [[Orogeny]]
+
| label31     = [[Orogeny]]
| data30     = {{{orogeny|}}}
+
| data31     = {{{orogeny|}}}
  
| label31     = {{#if:{{{volcanic_arc/belt|}}}
+
| label32     = {{#if:{{{volcanic_arc/belt|}}}
 
                 | Volcanic [[Volcanic arc|arc]]/[[Volcanic belt|belt]]
 
                 | Volcanic [[Volcanic arc|arc]]/[[Volcanic belt|belt]]
 
                 | {{#if:{{{volcanic_arc|}}}
 
                 | {{#if:{{{volcanic_arc|}}}
Line 132: Line 133:
 
                     | {{#if:{{{volcanic_field|}}}
 
                     | {{#if:{{{volcanic_field|}}}
 
                       | Volcanic field }}}}}}}}
 
                       | Volcanic field }}}}}}}}
| data31     = {{#if:{{{volcanic_arc/belt|}}}
+
| data32     = {{#if:{{{volcanic_arc/belt|}}}
 
                 | {{{volcanic_arc/belt|}}}
 
                 | {{{volcanic_arc/belt|}}}
 
                 | {{#if:{{{volcanic_arc|}}}
 
                 | {{#if:{{{volcanic_arc|}}}
Line 141: Line 142:
 
                       | {{{volcanic_field}}} }}}}}}}}
 
                       | {{{volcanic_field}}} }}}}}}}}
  
| data32     = {{{embed|}}}{{{embedded|}}}
+
| data33     = {{{embed|}}}{{{embedded|}}}
  
 
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox fault with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox fault]] with unknown parameter "_VALUE_"| age | alt | alt_name | caption | cities | coordinates | coords | country | depth | dip | dip_angle | displacement | earthquakes | elevation | elevation_ft | elevation_m | elevation_ref | embed | embedded | image | image_alt | image_caption | image_map | imagesize | image_size | italic title | length | location | map_alt | map_caption | map_image | map_size | movement | name | Name | named_by | named_for | namedby | namedfor | orogeny | other_name | part_of | plate | pushpin_label_position | pushpin_map | pushpin_map_alt | pushpin_map_caption | pushpin_map_label | pushpin_map_width | pushpin_mark | pushpin_mark_size | pushpin_relief | range | region | relief | rockunit | segments | state | status | strike | topdepth | topdepth_ft | topdepth_m | topdepth_ref | type | volcanic_arc | volcanic_arc/belt | volcanic_belt | volcanic_field | width | year_def | yeardef }}<noinclude>
 
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox fault with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox fault]] with unknown parameter "_VALUE_"| age | alt | alt_name | caption | cities | coordinates | coords | country | depth | dip | dip_angle | displacement | earthquakes | elevation | elevation_ft | elevation_m | elevation_ref | embed | embedded | image | image_alt | image_caption | image_map | imagesize | image_size | italic title | length | location | map_alt | map_caption | map_image | map_size | movement | name | Name | named_by | named_for | namedby | namedfor | orogeny | other_name | part_of | plate | pushpin_label_position | pushpin_map | pushpin_map_alt | pushpin_map_caption | pushpin_map_label | pushpin_map_width | pushpin_mark | pushpin_mark_size | pushpin_relief | range | region | relief | rockunit | segments | state | status | strike | topdepth | topdepth_ft | topdepth_m | topdepth_ref | type | volcanic_arc | volcanic_arc/belt | volcanic_belt | volcanic_field | width | year_def | yeardef }}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 16:28, 9 December 2020

Script error: No such module "If empty".
Script error: No such module "If empty".

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

This template formats a right-side infobox to be used in articles about faults and fault zones.

Usage

  1. redirect Template:Parameter names example
{{Infobox fault
| name              = <!-- name of the fault (system) or fault zone -->
| other_name        = <!-- alternative or local name -->
| namedfor          = <!-- etymology of the fault (zone) name -->
| namedby           = <!-- author of defining paper -->
| yeardef           = <!-- year of definition -->
| image             = <!-- image/photo of the fault (zone) -->
| image_size        = <!-- width in px, default 250 -->
| image_alt         = 
| image_caption     = <!-- caption for the image -->
| pushpin_map       = <!-- pusphpin map, using {{Location map}} -->
| pushpin_map_width = <!-- width in px, default 250 -->
| pushpin_map_caption = <!-- caption for the location map -->
| pushpin_map_alt   = 
| pushpin_relief    = 
| pushpin_map_label = 
| pushpin_label_position = 
| pushpin_mark      = 
| pushpin_mark_size = 
<!----Location---->
| location          =
| country           = <!-- or |countries = -->
| region            = <!-- geographical region;  -->
| state             = <!-- lower level geographical area; province, county, etc. -->
| cities            = <!-- nearby cities/towns --> 
| coordinates       = <!-- {{coord|d|mm|ss|N/S|d|mm|ss|W/E|display=inline,title}}. Supply approx coords of the fault trace midpoint -->
<!----Properties---->
| elevation_m       = <!-- for surface faults, elevation of outcrop/main location in metres -->
| elevation_ft      = <!-- for surface faults, elevation of outcrop/main location in feet -->
| elevation_ref     = 
| topdepth_m        = <!-- for sea or subsurface faults, depth of outcrop/main location in metres -->
| topdepth_ft       = <!-- for sea or subsurface faults, depth of outcrop/main location in feet -->
| topdepth_ref      = 
| range             = <!-- for faults and fault zones in mountain ranges, be as specific as possible, e.g. [[Cordillera Oriental (Colombia)|Eastern Ranges]], instead of [[Andes]] -->
| part_of           = <!-- when part of a larger system, e.g. faults part of a fault zone -->
| segments          = <!-- for segments of a fault or fault system -->
| length            = <!-- (max/average) length of the fault or fault zone, use {{convert|x|km|mi|abbr=on}} -->
| width             = <!-- (max/average) width of the fault or fault zone, use {{convert|x|km|mi|abbr=on}} -->
| depth             = <!-- (max/average) depth of the fault or fault zone, use {{convert|x|km|mi|abbr=on}} -->
| strike            = <!-- (max/average) strike orientation, e.g. NE-SW or 045 -->
| dip               = <!-- (max/average) dip direction, e.g. NW or 315 -->
| dip_angle         = <!-- (max/average) angle of dip in degrees (0-90) -->
| displacement      = <!-- (max/average) displacement of the fault -->
| plate             = <!-- tectonic plate(s) where the fault is active, use | plate1 = ; | plate2 = ; | plate3 = for more plates -->
| status            = <!-- active or inactive -->
| earthquakes       = <!-- notable earthquakes related to the fault -->
| type              = <!-- 1) normal fault, 2) reverse/thrust fault, 3) oblique fault, 4) strike slip fault -->
| movement          = <!-- dextral/sinistral for strike slip faults, extensional/compressional for 1/3 or 2/3 respectively -->
| rockunit          = <!-- rock unit(s) surrounding the fault, use | rockunit1 = ; | rockunit2 = ; | rockunit3 = ; | rockunit4 = for more rock units -->
| age               = <!-- age span of fault formation/activity -->
| orogeny           = <!-- orogeny the fault movement belongs to, e.g. [[Andean orogeny]] or [[Alpine orogeny]] -->
| volcanic_arc/belt = <!-- volcanic activity related to the fault -->
| map_image         = <!-- for maps or other extra images of the fault (system) -->
| map_caption       = <!-- the caption for this image -->
| embed             = <!-- for other infoboxes to embed (earthquakes, rock units, oilfields, surface features, etc.) -->
}}

Empty full infobox

{{Infobox fault
| name              = 
| other_name        = 
| namedfor          = 
| namedby           = 
| yeardef           = 
| image             = 
| image_size        = 
| image_alt         = 
| image_caption     = 
| pushpin_map       = 
| pushpin_map_width = 
| pushpin_map_caption = 
| pushpin_map_alt   = 
| pushpin_relief    = 
| pushpin_map_label = 
| pushpin_label_position = 
| pushpin_mark      = 
| pushpin_mark_size = 
| location          =
| country           = 
| region            = 
| state             = 
| cities            = 
| coordinates       = 
| elevation         = 
| elevation_m       = 
| elevation_ft      = 
| elevation_ref     = 
| topdepth_m        = 
| topdepth_ft       = 
| topdepth_ref      = 
| range             = 
| part_of           = 
| segments          = 
| length            = 
| width             = 
| depth             = 
| strike            = 
| dip               = 
| dip_angle         = 
| displacement      = 
| plate             = 
| status            = 
| earthquakes       = 
| type              = 
| movement          = 
| rockunit          = 
| age               = 
| orogeny           = 
| volcanic_arc/belt = 
| map_image         = 
| map_caption       = 
| embed             = 
}}

Example

Script error: No such module "If empty".
Script error: No such module "If empty".
Bucaramanga, Colombia from space.JPG
View of the Bucaramanga Fault along Bucaramanga
Lua error in Module:Location_map at line 399: Malformed coordinates value.
Topographic Map of the Cesar-Ranchería Basin - Colombia.jpg
Topographic map of northern Colombia showing the fault
EtymologyBucaramanga, Santa Marta
Country Colombia
RegionCaribbean, Andean
StateMagdalena, Cesar, Norte de Santander, Santander
CitiesSanta Marta, El Paso, Bucaramanga, Floridablanca, Piedecuesta
Characteristics
Elevation1–1,500 m (3.3–4,921.3 ft)
RangeSierra Nevada de Santa Marta
Eastern Ranges
 Andes
Part ofAndean faults
SegmentsSanta Marta, Algarrobo, Bucaramanga Faults
Length674 km (419 mi)
Strike341 ± 23 (NNW-SSE)
Displacement110 km (68 mi)
Tectonics
PlateSouth American Plate
StatusActive
EarthquakesPre-Columbian era (~1020 AD)
TypeStrike-slip fault
MovementSinistral
Rock unitsGaira Schist, Bucaramanga Gneiss
AgeNeogene-Holocene
OrogenyAndean
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox fault
| name              = Bucaramanga-Santa Marta Fault
| other_name        = Bucaramanga-Santa Marta Fault System<br>''(Sistema de) Falla(s) de Bucaramanga-Santa Marta''
| named_for         = [[Bucaramanga]], [[Santa Marta]]
| named_by          = 
| year_def          = 
| image             = Bucaramanga, Colombia from space.JPG
| image_alt         = 
| caption           = View of the Bucaramanga Fault along Bucaramanga
| map_image         = Topographic Map of the Cesar-Ranchería Basin - Colombia.jpg
| map_caption       = Topographic map of northern Colombia showing the fault
| map_alt           = 
| pushpin_map       = Colombia
| pushpin_map_width = 
| pushpin_map_caption = Location of the fault in Colombia
| pushpin_map_alt   = 
| pushpin_relief    = 1
| country           = {{COL}}
| region            = [[Caribbean natural region|Caribbean]], [[Andean natural region|Andean]]
| state             = [[Magdalena Department|Magdalena]], [[Cesar Department|Cesar]], [[Norte de Santander]], [[Santander Department|Santander]]
| cities            = [[Santa Marta]], [[El Paso, Cesar|El Paso]], [[Bucaramanga]], [[Floridablanca, Santander|Floridablanca]], [[Piedecuesta]]
| coordinates       = {{coord|7|08|N|73|00|W|type:landmark|display=inline,title}}
| elevation         = {{convert|1|-|1500|m|ft|abbr=on}}
| elevation_ft      = 
| elevation_ref     = 
| topdepth_m        = 
| topdepth_ft       = 
| topdepth_ref      = 
| range             = [[Sierra Nevada de Santa Marta]]<br>[[Cordillera Oriental (Colombia)|Eastern Ranges]]<br> [[Andes]]
| part_of           = Andean faults
| segments          = Santa Marta, Algarrobo, Bucaramanga Faults
| length            = {{convert|674|km|mi|abbr=on}}
| width             = 
| depth             = 
| strike            = 341 ± 23 (NNW-SSE)
| dip               = 
| dip_angle         = 
| displacement      = {{convert|110|km|mi|abbr=on}}
| plate             = [[South American Plate]]
| status            = [[Active fault|Active]]
| earthquakes       = [[Pre-Columbian era]]<!--NO TYPO; pre-Columbian refers to "before ColUmbus", not "before ColOmbia"!!! Don't edit this; it's not a mistake.--> (~1020 AD)
| type              = [[Strike-slip fault]]
| movement          = Sinistral
| rockunit          = [[Gaira Schist]], [[Bucaramanga Gneiss]]
| age               = [[Neogene]]-[[Holocene]]
| orogeny           = [[Andean orogeny|Andean]]
| volcanic_arc/belt = 
| embed             = 
}}

Tracking category

See also