Difference between revisions of "Template:Infobox bell"

From blackwiki
Jump to navigation Jump to search
imported>Zackmann08
(WIP)
imported>Zackmann08
(More fields. WIll continue later.)
Line 48: Line 48:
 
| label11    = Installed
 
| label11    = Installed
 
| data11    = {{{installed_date|IN}}}
 
| data11    = {{{installed_date|IN}}}
| label12    = {{#if:{{{event1_date|}}}|{{{event1}}}
+
| label12    = {{#if:{{{event1_date|}}}|{{{event1}}}}}
 
| data12    = {{{event1_date|}}}
 
| data12    = {{{event1_date|}}}
| label13    = {{#if:{{{event2_date|}}}|{{{event2}}}
+
| label13    = {{#if:{{{event2_date|}}}|{{{event2}}}}}
 
| data13    = {{{event2_date|}}}
 
| data13    = {{{event2_date|}}}
| label14    = {{#if:{{{event3_date|}}}|{{{event3}}}
+
| label14    = {{#if:{{{event3_date|}}}|{{{event3}}}}}
 
| data14    = {{{event3_date|}}}
 
| data14    = {{{event3_date|}}}
| label15    = {{#if:{{{event4_date|}}}|{{{event4}}}
+
| label15    = {{#if:{{{event4_date|}}}|{{{event4}}}}}
 
| data15    = {{{event4_date|}}}
 
| data15    = {{{event4_date|}}}
| label16    = {{#if:{{{event5_date|}}}|{{{event5}}}
+
| label16    = {{#if:{{{event5_date|}}}|{{{event5}}}}}
 
| data16    = {{{event5_date|}}}
 
| data16    = {{{event5_date|}}}
  
| label17   =  
+
| header17   = Physical dimensions
| data17    =  
+
 
 +
| label18 = Volume
 +
| data18  = {{{volume|}}}
 +
| label19 = Weight
 +
| data19  = {{{weight|}}}
 +
| label20 = Width
 +
| data20  = {{{width|}}}
 +
| label21 = Height
 +
| data21  = {{{height|}}}
 +
 
 +
| header22  = Materials
 +
| label23 = {{#if:{{{material1|}}}|{{{material1_part}}}}}
 +
| data23  = {{{material1|}}}
 +
| label24 = {{#if:{{{material2|}}}|{{{material2_part}}}}}
 +
| data24  = {{{material2|}}}
 +
| label25 = {{#if:{{{material3|}}}|{{{material3_part}}}}}
 +
| data25  = {{{material3|}}}
 +
| label26 = {{#if:{{{material4|}}}|{{{material4_part}}}}}
 +
| data26  = {{{material4|}}}
 +
 
 +
| header27 = Other characteristics
 +
| label28  = Hung
 +
| data28  = {{{hung|}}}
 +
| label29  = Striking manner
 +
| data29  = {{{striking|}}}
 +
| label30  = Operation
 +
| data30  = {{{operation|}}}
 +
| label31  = Musical note
 +
| data31  = {{{musical_note|}}}
 +
| label32  = Earshot
 +
| data32  = {{{earshot|}}}
 
}}
 
}}
 
<noinclude>
 
<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 21:24, 27 November 2018

Template:Wip

Placeholder.png
Lua error in Module:Location_map at line 403: attempt to index field 'wikibase' (a nil value).
Location
TowerT
BuildingB
LocationL
CoordinatesC
History
CastCAST
InstalledIN
Physical dimensions
Materials
Other characteristics

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

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

Template:Parameter names example This template is an {{Infobox}} for use on articles about bells.

Usage

{{Infobox bell
| embed               = 
| name                = 
| native_name         = 
| native_name_lang    = 
| other_name          = 
| etymology           = 
<!---------------------- IMAGE--> 
| image               = 
| image_size          = 
| alt                 = 
| caption             = 
<!---------------------- MAPS --> 
| mapframe            = <!-- set to "yes" to show dynamic map -->
| image_map           = 
| image_map_alt       = 
| image_map_caption   = 
| pushpin_map         = 
| pushpin_map_alt     = 
| pushpin_map_caption = 
<!---------------------- LOCATION -->
| tower               = 
| building            = 
| location            = 
| coordinates         = 
<!---------------------- HISTORY -->
| caster              = 
| commissioner        = 
| cast_date           = 
| installed_date      = <!-- {{start date|YYYY|MM|DD}} -->
| event1              = 
| event1_date         = 
| event2              = 
| event2_date         = 
| event3              = 
| event3_date         = 
| event4              = 
| event4_date         = 
| event5              = 
| event5_date         = 
<!---------------------- PHYSICAL DIMENSIONS -->
| volume              = <!-- {{convert|value|unit|abbr=on}} -->
| weight              = <!-- {{convert|value|unit|abbr=on}} or {{long ton |tons |cwt |qr |lb }} -->
| width               = <!-- {{convert|value|unit|abbr=on}} -->
| height              = <!-- {{convert|value|unit|abbr=on}} -->
<!---------------------- MATERIALS -->
| material1           = 
| material1_part      = 
| material2           = 
| material2_part      = 
| material3           = 
| material3_part      = 
| material4           = 
| material4_part      = 
<!---------------------- OTHER CHARACTERISTICS -->
| hung                = 
| striking            = 
| operation           = 
| musical_note        = 
| earshot             = <!-- {{convert|value|unit|abbr=on}} -->
| website             = <!-- {{url|...}} -->
| footnotes           =
}}

Mapframe maps

  • Basic parameters:
    • mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no
    • mapframe-caption – Caption for the map. Default: blank (or if |mapframe-geomask= is set, "Location in geomask's label")
    • mapframe-custom – Use a custom map instead of the automatic mapframe. Specify either a {{maplink}} template, or another template that generates a mapframe map, or an image name. If used, the subsequent mapframe parameters will be ignored. Default: not specified
    • mapframe-id or id or qid – Id (Q-number) of Wikidata item to use. Default: item for current page
    • mapframe-coordinates or mapframe-coord or coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template, e.g. |coord={{Coord|12.34|N|56.78|E}}. Default: coordinates from Wikidata
    • mapframe-wikidata – Set to yes to show shape/line features from the wikidata item, if any, when |coord= is set. Default: not specified
  • Customise which features are displayed:
  • Other optional parameters:
    • mapframe-frame-width or mapframe-width – Frame width. Default: 270
    • mapframe-frame-height or mapframe-height – Frame height. Default: 200
    • mapframe-shape-fill – Color used to fill shape features. Default: #606060
    • mapframe-shape-fill-opacity – Opacity level of shape fill, a number between 0 and 1. Default: 0.5
    • mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #ff0000
    • mapframe-stroke-width – Width of line features, and outlines of shape features; default is "5". Default: 5
    • mapframe-marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default: not specified (i.e. blank)
      • Can also be set to blank to override any default marker symbol
    • mapframe-marker-color or mapframe-marker-colour – Background color for the marker. Default: #5E74F3
    • mapframe-geomask-stroke-color or mapframe-geomask-stroke-colour – Color of outline of geomask shape. Default: #555555
    • mapframe-geomask-stroke-width – Width of outline of geomask shape. Default: 2
    • mapframe-geomask-fill – Color used to fill outside geomask features. Default: #606060
    • mapframe-geomask-fill-opacity – Opacity level of fill outside geomask features, a number between 0 and 1. Default: 0.5
    • mapframe-zoom – Set the zoom level, from "1" to "18", to used if the zoom level cannot be determined automatically from object length or area. Default: 10
    • mapframe-length_km or mapframe-length_mi or mapframe-area_km2 or mapframe-area_mi2 – Determine zoom level by passing in object's length (in kilometres or miles) or area (in square kilometres or square miles). Default: not specified
    • mapframe-frame-coordinates or mapframe-frame-coord – Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}. Default: derived from item coordinates

Tracking category