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

From blackwiki
Jump to navigation Jump to search
imported>Zackmann08
(→‎Usage: +| free_label_2 = | free_data_2 =)
imported>Zyxw
m (note Lua modules used, add template category)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[</nowiki>[[Wikipedia:Wikidata]]<nowiki>]]) --><!-- {{bad documentation|Undocumented parameters}} added missing parameters -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[</nowiki>[[Wikipedia:Wikidata]]<nowiki>]]) --><!-- {{bad documentation|Undocumented parameters}} added missing parameters -->
 +
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
 +
 
The '''[[Template:Infobox landform]]''' formats a right-side [[help:infobox|infobox]] to be used in articles about geological features for which no other infobox exists.
 
The '''[[Template:Infobox landform]]''' formats a right-side [[help:infobox|infobox]] to be used in articles about geological features for which no other infobox exists.
  
 
== Usage ==
 
== Usage ==
 
Assigning any value to the parameter {{para|water}} will generate a blue header. Only articles about features that are predominantly water, such as [[maar]]s and [[whirlpool]]s, should use this option. The default is brown.
 
Assigning any value to the parameter {{para|water}} will generate a blue header. Only articles about features that are predominantly water, such as [[maar]]s and [[whirlpool]]s, should use this option. The default is brown.
 +
 
{{Parameter names example|water|name|other_name|alt_name|photo|photo_width|photo_alt
 
{{Parameter names example|water|name|other_name|alt_name|photo|photo_width|photo_alt
 
|photo_caption|map=|map_width|relief|label|label_position|map_caption|map_alt|mark|marker_size
 
|photo_caption|map=|map_width|relief|label|label_position|map_caption|map_alt|mark|marker_size
Line 137: Line 140:
 
[[Category:Geography infobox templates|Landform]]
 
[[Category:Geography infobox templates|Landform]]
 
[[Category:Embeddable templates]]
 
[[Category:Embeddable templates]]
 +
[[Category:Templates that add a tracking category]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 22:47, 10 February 2019

The Template:Infobox landform formats a right-side infobox to be used in articles about geological features for which no other infobox exists.

Usage

Assigning any value to the parameter |water= will generate a blue header. Only articles about features that are predominantly water, such as maars and whirlpools, should use this option. The default is brown.

Template:Parameter names example

{{Infobox landform
| water             = 
| name              = {{subst:PAGENAME}}
| other_name        = 
| photo             = 
| photo_width       = 
| photo_alt         = 
| photo_caption     = 
| map               = 
| map_width         = 
| map_caption       = 
| map_alt           = 
| relief            = 
| label             = 
| label_position    = 
| mark              = 
| marker_size       = 
| location          = 
| grid_ref          = 
| grid_ref_UK       = 
| grid_ref_Ireland  = 
| coordinates       = <!-- {{Coord|LAT|LON|type:landmark|display=inline,title}} -->
| coordinates_ref   = 
| range             = 
| part_of           = 
| water_bodies      = 
| elevation_ft      = <!-- or |elevation_m = -->
| elevation_ref     = 
| surface_elevation_ft = <!-- or |surface_elevation_m = -->
| surface_elevation_ref =
| highest_point     = 
| highest_elevation = 
| highest_coords    = 
| length            = 
| width             = 
| area              = <!-- {{Convert|NN|ha|acres}} -->
| depth             = 
| drop              = 
| formed_by         = 
| geology           = <!-- or |type = -->
| age               = 
| orogeny           = 
| volcanic_arc/belt = 
| volcanic_arc      = 
| volcanic_belt     = 
| volcanic_field    = 
| eruption          = 
| last_eruption     = 
| topo              = 
| operator          = 
| designation       = 
| free_label_1      = 
| free_data_1       = 
| free_label_2      = 
| free_data_2       = 
| free_label_3      = 
| free_data_3       = 
| website           = <!-- {{URL|example.com}} -->
| embedded          = 
}}

Example

Waterloo Bay
Script error: No such module "If empty".
Waterloo - geograph.org.uk - 454845.jpg
Script error: No such module "If empty".
Lua error in Module:Location_map at line 399: Malformed coordinates value.
LocationCounty Antrim, Northern Ireland
OSI/OSNI gridTemplate:OS coord
CoordinatesScript error: No such module "If empty".Script error: No such module "If empty".
Elevation0 m
GeologyScript error: No such module "If empty".
AgeJurassic, Triassic
Last eruptionScript error: No such module "If empty".
Topo mapOSNI Discoverer 9
{{Infobox landform
| water = 
| name = Waterloo Bay
| photo = Waterloo - geograph.org.uk - 454845.jpg
| photo_caption = Tilted [[Mercia Mudstone Group|mudstones]] at Waterloo Bay, Larne
| elevation = 0 m
| elevation_ref = 
| map = UK Northern Ireland
| map_relief = 1 
| map_caption = Location in Northern Ireland
| label_position = none
| location = [[County Antrim]], [[Northern Ireland]]
| coordinates = {{coord|54.852|-5.83|display=inline,title}}
| grid_ref_Ireland = D408037
| topo = [[Ordnance Survey of Northern Ireland|OSNI]] ''Discoverer'' 9 
| type = [[Mercia Mudstone Group]], [[Lias Group]]
| age = [[Jurassic]], [[Triassic]]
| volcanic_arc/belt = 
| last_eruption = 
}}

Tracking category

See also