Difference between revisions of "Template:Infobox desalination plant/sandbox"
Jump to navigation
Jump to search
imported>Rehman (Create) |
imported>Rehman (draft) |
||
| Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| − | |bodyclass = vcard | + | | bodyclass = vcard |
| + | | child = {{{child|}}} | ||
| + | | subbox = {{{embed|}}} | ||
| + | | above = {{{name|{{#if:{{#invoke:Wikidata|ViewSomething|labels|en|value}}|<includeonly>{{#invoke:Wikidata|ViewSomething|labels|en|value}}</includeonly>|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}} | ||
| + | | aboveclass = fn org | ||
| − | | | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB|getPreferredValue|P18|name=image|qid={{{qid|}}}|suppressfields={{{suppressfields|none}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|noicon=true|{{{image|}}}|maxvals=1}}|size={{#if:{{{image_size|}}}|{{{image_size|}}}|300px}}|sizedefault=frameless|upright=1|alt={{{image_alt|}}}|suppressplaceholder=yes}} |
| − | | | + | | caption = {{#if:{{{image|}}}|{{{image_caption|}}}|{{#invoke:Wikidata|getImageLegend|FETCH_WIKIDATA}}}} |
| − | | | + | | image2 = {{#ifeq:{{{location_map|}}}|no|<!-- -->|{{Infobox mapframe |
| + | |id = {{{qid|}}} | ||
| + | |coord = {{{coordinates|}}} | ||
| + | |frame-width = {{Digits|1={{#if:{{{image_size|}}}|{{{image_size|}}}|300px}}}} | ||
| + | |marker = industrial | ||
| + | |zoom = {{#if:{{{location_map_geomask|}}}|{{{location_map_zoom|}}}|{{{location_map_zoom|5}}}}} | ||
| + | |geomask = {{#ifeq:{{{location_map_geomask|}}}|Yes|P17|<!-- -->}} | ||
| + | |geomask-stroke-width = {{#ifeq:{{{location_map_geomask|}}}|Yes|0.5|<!-- -->}} | ||
| + | |geomask-stroke-colour = {{#ifeq:{{{location_map_geomask|}}}|Yes|#000000|<!-- -->}} | ||
| + | |geomask-fill = {{#ifeq:{{{location_map_geomask|}}}|Yes|#BABABA|<!-- -->}} | ||
| + | }}}} | ||
| + | | caption2 = {{#ifeq:{{{location_map|}}}|no|<!-- -->|{{#if:{{{coordinates|}}}{{#property:P625}}|{{{location_map_caption|}}}}}}} | ||
| − | | | + | | label3 = Location |
| − | | | + | | data3 = {{If first display both|{{#invoke:WikidataIB|getValue|P276|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|none}}}|name=location|onlysourced={{{onlysourced|no}}}|linked=true|maxvals=1|sorted=true|noicon=true|sep="<br />"|{{{location|}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P276}}}}}} |
| − | | | + | | label4 = Coordinates |
| − | + | | data4 = {{#if:{{{coordinates|}}}|{{{coordinates|}}}|{{#if:{{#Property:P625}}|{{If first display both|{{Coord|display=inline|format=dms}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|P625}}}}}}}}}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | + | | label5 = [[Project commissioning|Commission date]] |
| − | + | | data5 = {{If first display both|{{#invoke:WikidataIB|getValue|P729|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|none}}}|name=commissioned|onlysourced={{{onlysourced|no}}}|linked=false|maxvals=1|sorted=true|noicon=true|sep="<br />"|{{{commissioned|}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P729}}}}}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | | | + | | label6 = Technology |
| + | | data6 = {{{technology|}}} | ||
| − | | | + | | label7 = Source |
| − | | | + | | data7 = {{{source|}}} |
| − | |||
| − | | | + | | label8 = Capacity |
| − | | | + | | data8 = {{{capacity|}}} |
| − | | | + | | label9 = Energy usage |
| − | | | + | | data9 = {{{energy_usage|}}} |
| − | | | + | | label10 = Energy offset |
| − | | | + | | data10 = {{{energy_offset|}}} |
| − | | | + | | label11 = Website |
| − | | | + | | data11 = {{If first display both|{{#invoke:WikidataIB|getValue|P856|qid={{{qid|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|suppressfields={{{suppressfields|none}}}|name=website|onlysourced={{{onlysourced|no}}}|linked=true|maxvals=1|sorted=true|noicon=true|sep="<br />"|{{{website|}}}}}|{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P856}}}}}} |
| − | | | + | | below = <includeonly>{{#if:{{{child|}}}||{{EditOnWikidata|qid={{{qid|}}}}}}}{{#if:{{{extra|}}}|<br>{{{extra|}}}}}</includeonly> |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
}} | }} | ||
Revision as of 17:02, 8 June 2019
| Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value). | |
| Coordinates | Lua error in Module:Coordinates at line 611: attempt to index field 'wikibase' (a nil value). |
|---|---|