Siirry sisältöön

Moduuli:Fr:Infobox/Phare

Wikimatkoista

local building = require "Module:Fr:Infobox/Fonctions/Bâtiment"
local lighthouse = require "Module:Fr:Infobox/Fonctions"

return 
	{
	maincolor = '#A8D2FF',
	parts =
    	{
		lighthouse.title('entete map'),
		lighthouse.mainimage('Article à illustrer Phare', 'Defaut 2.svg'),
		{type = 'table', title = "Sijainti", rows = {
			building.coordinates(),
			building.adminlocation(),
			building.onshoreof(),
			building.protectedarea(),
			},
		},
		{type = 'table', title = "Arkkitehtuuri", rows = {
			building.construction(),
			building.creator(),
			building.dimensions(),
			building.material(),
			{type = 'row', label = 'Korkeus merenpinnasta', value = 'korkeus merenpinnasta', property = 'P2044'},
			{type = 'row', label = 'Valon korkeus', value = 'valonkorkeus', wikidata = {property = 'P2923', targetunit = 'm', conjtype = ' ou ', rounding = '1', numval = '2'} },
			building.protection(),
			},
		},
		{type = 'table', title = "Varustus", rows = {
			{type = 'row', label = 'Valonlähde', value = 'valonlähde'},
			{type = 'row', label = 'Valoteho', value = 'valoteho', property = 'P3041'},
			{type = 'row', label = 'Valonkanto', value = 'valonkanto', wikidata = {property = 'P2929', targetunit = 'km', conjtype = 'comma', rounding = '1', showqualifiers = {'P462'}} },
			{type = 'row', label = 'Valon ominaisuudet', value = 'valon ominaisuudet', property = 'P1030'},
			{type = 'row', label = '[[Radar Racon|Racon]]', value = 'Racon', property = 'P3994'},
			},
		},
		{type = 'table', title = "Tunnisteet", rows = {
			{type = 'row', label = 'ARLHS', value = 'ARLHS', wikidata = {property = "P2980", urlpattern="http://wlol.arlhs.com/lighthouse/$1.html"}},
			{type = 'row', label = '[[Amirauté (Royaume-Uni)|Amirauté]]', value = 'Amirauté', property = 'P3562'},
			{type = 'row', label = 'Dansk Fyrliste', value = 'Dansk Fyrliste', property = 'P4038'},
			{type = 'row', label = '[[Garde côtière canadienne|GCC]]', value = 'GCC', property = 'P3920'},
			{type = 'row', label = 'List of Lights', value = 'List of Lights', wikidata = {property = "P3223", urlpattern="http://listoflights.org/leuchtfeuer/detail?id=$1"}},
			{type = 'row', label = '[[Marina militare]]', value = 'Marina militare', wikidata = {property = "P3863", urlpattern="http://www.marina.difesa.it/cosa-facciamo/fari/Pagine/$1.aspx"}},
			{type = 'row', label = 'MarineTraffic', value = 'MarineTraffic', wikidata = {property = "P3601", urlpattern="http://www.marinetraffic.com/fr/ais/details/lights/$1/"}},
			{type = 'row', label = '[[National Geospatial-Intelligence Agency|NGA]]', value = 'NGA', property = 'P3563'},
			{type = 'row', label = 'Norsk fyrliste', value = 'Norsk fyrliste', property = 'P4055'},
			{type = 'row', label = '[[United States Coast Guard|USCG]]', value = 'USCG', property = 'P3723'},
			{type = 'row', label = 'Vitaskrá', value = 'Vitaskrá', property = 'P3993'},
			},
		},
		building.geoloc({marker = 'lighthouse', default_zoom=14}),
	}
}