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

From blackwiki
Jump to navigation Jump to search
imported>John of Reading
m (→‎Mapframe maps: Typo fixing, replaced: is is → is)
imported>Zyxw
m (add links to module used and tracking 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 [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 +
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
  
 
==Usage==
 
==Usage==
Line 79: Line 80:
 
* {{para|mapframe-caption}} caption below the map
 
* {{para|mapframe-caption}} caption below the map
 
* {{para|mapframe-lat}} and {{para|mapframe-long}} (or {{para|mapframe-latitude}} and {{para|mapframe-longitude}}) – alternate initial latitude and longitude for the map, instead of the windmill's coordinates. Specify as a decimal number.
 
* {{para|mapframe-lat}} and {{para|mapframe-long}} (or {{para|mapframe-latitude}} and {{para|mapframe-longitude}}) – alternate initial latitude and longitude for the map, instead of the windmill's coordinates. Specify as a decimal number.
 +
 +
== Tracking category ==
 +
* {{clc|Pages using infobox windmill with unknown parameters}}
  
 
==See also==
 
==See also==
Line 85: Line 89:
 
--><includeonly>{{sandbox other||
 
--><includeonly>{{sandbox other||
 
[[Category:Buildings and structures infobox templates|Windmill]]
 
[[Category:Buildings and structures infobox templates|Windmill]]
 +
[[Category:Templates that add a tracking category]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 03:37, 11 March 2020

Usage

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|upright=1]]
{{{caption}}}
Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value).
Origin
Mill name{{{name_of_mill}}}
Mill location{{{location_of_mill}}}
Grid reference{{{gbgridref}}}
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
Operator(s){{{operator}}}
Year built{{{built}}}
Information
Purpose{{{purpose}}}
Type{{{type}}}
Storeys{{{storeys}}}
Base storeys{{{base_storeys}}}
Roundhouse storeys{{{roundhouse_storeys}}}
Smock sides{{{smock_sides}}}
No. of sails{{{sail_number}}}
Type of sails{{{sail_type}}}
Windshaft{{{windshaft}}}
Winding{{{winding}}}
Fantail blades{{{fantail_blades}}}
Auxiliary power{{{auxpower}}}
No. of pairs of millstones{{{pairs_of_millstones}}}
Size of millstones{{{stone_size}}}
Type of saw{{{saw_type}}}
Type of pump{{{pump_type}}}
Scoopwheel diameter{{{scoop_dia}}}
Year lost{{{lost}}}
Other information{{{other}}}
{{Infobox windmill
| name                = {{subst:PAGENAME}}
| image               = 
| image_size          = 
| caption             = 
| name_of_mill        = 
| location_of_mill    = 
| gbgridref           =
| coordinates         = {{coord|||type:landmark}}
| operator            = 
| built               = 
| purpose             = 
| type                = 
| storeys             = 
| base_storeys        = 
| roundhouse_storeys  = 
| smock_sides         = 
| sail_number         = 
| sail_type           = 
| windshaft           = 
| winding             = 
| fantail_blades      = 
| auxpower            = 
| pairs_of_millstones = 
| stone_size          = 
| saw_type            = 
| pump_type           = 
| scoop_dia           = 
| lost                = 
| other               = 
}}

Mapframe maps

A Mapframe map is automatically included if:

  • There are coordinates specified on the page's Wikidata item
  • It has not be turned off by setting |mapframe=no

The following optional parameters can then be used to adjust the map

  • |mapframe-zoom= zoom level (default is 10)
  • |mapframe-width= and |mapframe-height= for the map size (defaults are 270 and 200)
  • |mapframe-marker= for the marker icon (default is no marker icon)
  • either |mapframe-marker-color= or |mapframe-marker-colour= for the marker colour (hex triplet, default is #5E74F3)
  • |mapframe-caption= caption below the map
  • |mapframe-lat= and |mapframe-long= (or |mapframe-latitude= and |mapframe-longitude=) – alternate initial latitude and longitude for the map, instead of the windmill's coordinates. Specify as a decimal number.

Tracking category

See also