Difference between revisions of "Template:Infobox fault/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
 
imported>Frietjes
(sync)
Line 1: Line 1:
#REDIRECT [[Template:Infobox fault]]
+
{{Infobox
 +
| abovestyle    = background:#FF0000;color:white;
 +
| above          = {{if empty|{{{name|}}}|{{{Name|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}
 +
| italic title  = {{{italic title|no}}}
 +
| bodystyle      =
  
{{R from move}}
+
| subheader      = {{ifempty|{{{other_name|}}}|{{{alt_name|}}}}}
 +
| suheaderclass  = othername
 +
 
 +
| headerstyle    = background:#FF91A4
 +
 
 +
| image          = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|}}}|sizedefault=frameless|alt={{{alt|}}}}}
 +
| caption        = {{{caption|}}}
 +
 
 +
| image2        = {{#if:{{{pushpin_map|}}}|{{location map|{{{pushpin_map|}}}
 +
                | border = infobox | float = center
 +
                | map_width      = {{min|{{if empty|{{{pushpin_map_width|}}}|250}}|270}}
 +
                | default_width  = 250
 +
                | relief        = {{{pushpin_relief|{{{relief|}}}}}}
 +
                | label          = {{ifempty|{{{pushpin_map_label|}}}|{{{name|}}} }}
 +
                | position      = {{ifempty|{{{pushpin_label_position|}}}|none}} <!-- change default to none -->
 +
                | caption        = {{{pushpin_map_caption|}}}
 +
                | alt            = {{ifempty|{{{pushpin_map_alt|}}}|Map showing the location of {{{name|}}} }}
 +
                | mark          = {{{pushpin_mark|}}}
 +
                | mark_size      = {{{pushpin_mark_size|}}}
 +
                | coordinates    = {{ifempty|{{{coordinates|}}}|{{{coords|}}}}} }}
 +
                }}
 +
 
 +
| image3      = {{#invoke:InfoboxImage|InfoboxImage|image={{{map_image|{{{image_map|}}}}}}|size={{{map_size|}}}|sizedefault=frameless|alt={{{map_alt|}}}}}
 +
| caption3    = {{{map_caption|}}}
 +
 
 +
| label1      = Etymology
 +
| data1      = {{{namedfor|}}}
 +
 
 +
| label2      = Named by
 +
| data2      = {{{namedby|}}}
 +
 
 +
| label3      = Year defined
 +
| data3      = {{{yeardef|}}}
 +
 
 +
| label4      = Location
 +
| data4      = {{{location|}}}
 +
 
 +
| label5      = Country
 +
| data5      = {{{country|}}}
 +
 
 +
| label6      = Region
 +
| data6      = {{{region|}}}
 +
 
 +
| label7      = State
 +
| data7      = {{{state|}}}
 +
 
 +
| label8      = Cities
 +
| data8      = {{{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}}
 +
 
 +
| label10    = Elevation
 +
| data10      = {{#if:{{{elevation|}}} | {{{elevation|}}}
 +
              | {{#if:{{{elevation_m|}}} | {{convert|{{{elevation_m|}}}|m|0}}
 +
              |  {{#if:{{{elevation_ft|}}} | {{convert|{{{elevation_ft|}}}|ft|0}}}}}}}}<!--
 +
            -->{{{elevation_ref|}}}
 +
 
 +
| label11    = Top depth
 +
| data11      = {{#if:{{{topdepth|}}} | {{{topdepth|}}}
 +
              | {{#if:{{{topdepth_m|}}} | {{convert|{{{topdepth_m|}}}|m|0}}
 +
              |  {{#if:{{{topdepth_ft|}}} | {{convert|{{{topdepth_ft|}}}|ft|0}}}}}}}}<!--
 +
            -->{{{topdepth_ref|}}}
 +
 
 +
| label12    = Range
 +
| data12      = {{{range|}}}
 +
 
 +
| label13    = Part of
 +
| data13      = {{{part_of|}}}
 +
 
 +
| label14    = Segments
 +
| data14      = {{{segments|}}}
 +
 
 +
| label15    = Length
 +
| data15      = {{{length|}}}
 +
 
 +
| label16    = Width
 +
| data16      = {{{width|}}}
 +
 
 +
| label17    = Depth
 +
| data17      = {{{depth|}}}
 +
 
 +
| label18    = [[Strike (geology)|Strike]]
 +
| data18      = {{{strike|}}}
 +
 
 +
| label19    = [[Dip (geology)|Dip]]
 +
| data19      = {{{dip|}}}
 +
 
 +
| label20    = [[Dip (geology)|Dip angle]]
 +
| data20      = {{{dip_angle|}}}
 +
 
 +
| label21    = [[Fault (geology)|Displacement]]
 +
| data21      = {{{displacement|}}}
 +
 
 +
| header22    = {{#if:{{{plate|}}}{{{status|}}}{{{earthquakes|}}}{{{type|}}}{{{movement|}}}{{{rockunit|}}}{{{age|}}}{{{orogeny|}}}{{{volcanic_arc/belt|}}}{{{volcanic_arc|}}}{{{volcanic_belt|}}}{{{volcanic_field|}}}|Tectonics}}
 +
 
 +
| label23    = [[List of tectonic plates|Plate]]
 +
| data23      = {{{plate|}}}
 +
 
 +
| label24    = Status
 +
| data24      = {{{status|}}}
 +
 
 +
| label25    = [[List of earthquakes|Earthquakes]]
 +
| data25      = {{{earthquakes|}}}
 +
 
 +
| label26    = [[Fault (geology)#Fault types|Type]]
 +
| data26      = {{{type|}}}
 +
 
 +
| label27    = [[Tectonic movement|Movement]]
 +
| data27      = {{{movement|}}}
 +
 
 +
| label28    = [[Geologic formation|Rock units]]
 +
| data28      = {{{rockunit|}}}
 +
 
 +
| label29    = [[Geologic timescale|Age]]
 +
| data29      = {{{age|}}}
 +
 
 +
| label30    = [[Orogeny]]
 +
| data30      = {{{orogeny|}}}
 +
 
 +
| label31    = {{#if:{{{volcanic_arc/belt|}}}
 +
                | Volcanic [[Volcanic arc|arc]]/[[Volcanic belt|belt]]
 +
                | {{#if:{{{volcanic_arc|}}}
 +
                  | [[Volcanic arc]]
 +
                  | {{#if:{{{volcanic_belt|}}}
 +
                    | [[Volcanic belt]]
 +
                    | {{#if:{{{volcanic_field|}}}
 +
                      | Volcanic field }}}}}}}}
 +
| data31      = {{#if:{{{volcanic_arc/belt|}}}
 +
                | {{{volcanic_arc/belt|}}}
 +
                | {{#if:{{{volcanic_arc|}}}
 +
                  | {{{volcanic_arc|}}}
 +
                  | {{#if:{{{volcanic_belt|}}}
 +
                    | {{{volcanic_belt|}}}
 +
                    | {{#if:{{{volcanic_field|}}}
 +
                      | {{{volcanic_field}}} }}}}}}}}
 +
 
 +
| data32      = {{{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_"|ignoreblank=y| 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_map | imagesize | italic title | length | location | map_alt | map_caption | map_image | map_size | movement | name | Name | 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 | yeardef }}<noinclude>
 +
{{documentation}}
 +
</noinclude>

Revision as of 13:48, 21 June 2017

Script error: No such module "If empty".
Script error: No such module "If empty".
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".
Script error: No such module "If empty".
Script error: No such module "If empty".
Lua error in Module:Location_map at line 399: Malformed coordinates value.
Script error: No such module "If empty".
Topographic map of northern Colombia showing the fault
EtymologyScript error: No such module "If empty".
Named byScript error: No such module "If empty".
Year definedScript error: No such module "If empty".
CoordinatesScript error: No such module "If empty".
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
{{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