Difference between revisions of "Template:Infobox windmill"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>Evad37 (add automatic mapframe maps, per talk) |
imported>Trialpears (If declined to yesno per TfD) |
||
| Line 9: | Line 9: | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| − | | image2 = {{ | + | | image2 = {{yesno|{{{mapframe|yes}}}|no=|yes={{Infobox mapframe |
| zoom = {{{mapframe-zoom|}}} | | zoom = {{{mapframe-zoom|}}} | ||
| frame-width = {{{mapframe-width|}}} | | frame-width = {{{mapframe-width|}}} | ||
| Line 19: | Line 19: | ||
}} | }} | ||
}} | }} | ||
| − | | caption2 = {{ | + | | caption2 = {{yesno|{{{mapframe|yes}}}|no=|yes={{{mapframe-caption|}}}}} |
| header1 = {{#if:{{{name_of_mill|}}}{{{location_of_mill|}}}{{{operator|}}}{{{built|}}}|Origin}} | | header1 = {{#if:{{{name_of_mill|}}}{{{location_of_mill|}}}{{{operator|}}}{{{built|}}}|Origin}} | ||
Latest revision as of 17:42, 2 October 2019
| Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value). |
[[Category:Infobox templates|Template:Remove first word]]
| This template uses Lua: |
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}}} |
| Coordinates | Lua 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
| The above documentation is transcluded from Template:Infobox windmill/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |