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

From blackwiki
Jump to navigation Jump to search
imported>Jonesey95
m (Fix invalid self-closed HTML tag or other HTML Tidy-related tag error)
imported>Evad37
m (sync)
Line 2: Line 2:
 
| bodyclass  = vcard
 
| bodyclass  = vcard
 
| abovestyle  = background-color: #d8bfd8
 
| abovestyle  = background-color: #d8bfd8
| above      = <includeonly>''{{{name|{{PAGENAME}}}}}''</includeonly>
+
| above      = <includeonly>''{{{name|{{PAGENAMEBASE}}}}}''</includeonly>
 
| aboveclass  = fn org
 
| aboveclass  = fn org
| image      = {{{image|}}}
+
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|upright={{{image_upright|1}}}|alt={{{alt|}}}}}
 
| caption    = {{{caption|}}}
 
| caption    = {{{caption|}}}
 
| headerstyle = background-color: #d8bfd8
 
| headerstyle = background-color: #d8bfd8
Line 21: Line 21:
 
| data5 = {{#if:{{{gbgridref|}}}|{{gbmappingsmall|{{{gbgridref}}}}}}}
 
| data5 = {{#if:{{{gbgridref|}}}|{{gbmappingsmall|{{{gbgridref}}}}}}}
 
| label7 = Coordinates
 
| label7 = Coordinates
| data7 = {{#if:{{{long|}}}{{{long|}}}|{{coord|{{{lat}}}|{{{long}}}}}}}
+
| data7 = {{{coordinates|}}}
  
 
| label14    = Operator(s)
 
| label14    = Operator(s)
Line 43: Line 43:
 
| label32    = Smock sides
 
| label32    = Smock sides
 
| data32      = {{{smock_sides|}}}
 
| data32      = {{{smock_sides|}}}
| label33    = Number of sails
+
| label33    = {{abbr|No.|Number}} of sails
 
| data33      = {{{sail_number|}}}
 
| data33      = {{{sail_number|}}}
 
| label34    = Type of sails
 
| label34    = Type of sails
Line 55: Line 55:
 
| label43    = Auxiliary power
 
| label43    = Auxiliary power
 
| data43      = {{{auxpower|}}}
 
| data43      = {{{auxpower|}}}
| label44    = Number of millstone pairs
+
| label44    = {{abbr|No.|Number}} of pairs of millstones
 
| data44      = {{{pairs_of_millstones|}}}
 
| data44      = {{{pairs_of_millstones|}}}
 
| label50    = Size of millstones
 
| label50    = Size of millstones
Line 71: Line 71:
 
| data55      = {{{other|}}}
 
| data55      = {{{other|}}}
  
| data60      = {{#if:{{{nrhp|}}}|<nowiki/>
+
| data60      = {{#if:{{{nrhp|}}}|<nowiki />
 
{{{!}} style="width: 100%; padding: 0; margin: 0; text-align: left"
 
{{{!}} style="width: 100%; padding: 0; margin: 0; text-align: left"
 
{{{nrhp|}}}
 
{{{nrhp|}}}
 
{{!}}} }}
 
{{!}}} }}
  
}}<noinclude>{{Documentation}}<!-- Add category and language links to the /doc page, not here --></noinclude>
+
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox windmill with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox windmill]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | auxpower | base_storeys | built | caption | coordinates | fantail_blades | gbgridref | image | image_size | image_upright | location_of_mill | lost | name | name_of_mill | nrhp | operator | other | pairs_of_millstones | pump_type | purpose | roundhouse_storeys | sail_number | sail_type | saw_type | scoop_dia | smock_sides | stone_size | storeys | type | winding | windshaft }}<noinclude>{{Documentation}}<!-- Add category and language links to the /doc page, not here --></noinclude>

Revision as of 09:56, 25 September 2018

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

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