ماژول:صندخ/قالب/فیلم

ویکی‌پدیا، آزادِ دانشنومه، جه

توضیحات این پودمان می‌تواند در ماژول:صندخ/قالب/فیلم/توضیحات قرار گیرد.

local general =  require( 'ماژول:صندخ/ادوات' )

local FormatNumVal= general.FormatNumVal

return 
	{
	maincolor = "#ABD2D0",
	wikimod = 'Wikidata.Ca',
	parts =
    	{
			general.title({icon= "cinema"}),
			{type = 'subtitle', 
				value = {'اصلی نوم','اصلی عنوان','نام بومی','native_name','title_orig','film_name'		}, 
				wikidata= {property = 'P1476',list="notlang",conjunction = "<br />"
					, listrank='bestrank',formatting = '$text {{Language icon|NoCat=y|$language}}'}},
			general.logo({upright= 0.6}),
			general.mainimage{ wikidata = {property = {"P3383", "P2716", "P18", "P10"}} },

		{type = "table", title = "کلیات", rows = {
			{type = "row", label = "رج"
				, value = "رج" 
                , wikidata = {property = 'P31' , formatting='table', rowformat="$0"
						,blacklist0=  "Q11424/Q24869"
				}
			}, 
			{type = "row", label = "ژانر"
				, value = {'جانر','گونه','نوع','ژانر'}
				, property = 'P136'},
			{type = "row", label = "موضوع",
				value = "موضوع" 
				, plurallabel = 'موضوع'
				, property = 'P921'},
			{type = "row", label = "تنک بیّن گادِر"
				, value = {'انتشار','توزیع','released'}
				, wikidata = {property = 'P571' }},
			{type = "row", label = "اکران"
				, value = {'اکران جهونی','انتشار تاریخ'}
				, wikidata = {property = 'P577' , tablesort='0' , listrank='bestrank'
					, qualifier='P291', qualifier2='P276'
					, formatting = 'table', rowformat='* $0$R0 $1$2'
					, rowsubformat1='<br/><small>($1)</small>'
					, rowsubformat2='<br/><small>($2)</small>'
				}
			},
			{type = "row", label = "اولین اپیزود"
				, value = {'شروع','اولین'}
				, wikidata = {property = 'P580' , tablesort='0' , listrank='bestrank'
				, formatting = 'table', rowformat='$0$R0'
				}
			},
			{type = "row", label = "آخرین اپیزود"
				, value = {'آخرین','پایان'}
				, wikidata = {property = 'P582' , tablesort='0' , listrank='bestrank'
				, formatting = 'table', rowformat='$0$R0'
				}
			}, 
			{type = "row", label = "مدت"
				, value = {'زمان','مدت','runtime'}
                , wikidata = {property = 'P2047' , colformat0 = 'unit'
                	, formatting = 'table', rowformat='* $0$R0 $1$2$3'
                	, qualifier2='P1480', rowsubformat2='<br/><small>($2)</small>'
					, qualifier3='P518', rowsubformat3='<br/><small>($3)</small>'
                	, qualifier='P291', rowsubformat1='<br/><small>($1)</small>'
				}
			}, 
			{type = "row", label = "زوون"
				, value = {'زبان','زوون','language'}
				, property = 'P364'},
			{type = "row", label = "عرض"
				, value = "عرض" 
                , wikidata = {property = 'P462', formatting='table', rowformat="$0"
				,blacklist0 = "Q22006653"}},
			{type = "row", label = "اقتباس"
				, value ={ "اقتباس" ,'based_on'}
				, property = 'P144'},
			{type = "row", label = "الهام"
				, value ={ "الهام" ,'inspired by'}
				, property = 'P941'},			
			{type = "row", label = "کشور"
				, value = {'کشور','مملکت','country'} 
                , wikidata = { property = 'P495', conjtype = '<br>' } }, 
			{type = "row", label = "سیزنِ تعداد"
				, value = {'سیزن','فصل','تعداد فصل','num_seasons'}
				, plurallabel = 'سیزن تعداد'
				, property = 'P2437'},
			{type = "row", label = "اپیزودِ تعداد"
				, value = {'اپیزود','قسمت','تعداد قسمت','num_episodes'}
				, plurallabel = 'اپیزود تعداد'
				, property = 'P1113'},
			{type = "row", label = "لوکیشن"
				, value = { "لوکیشن" ,'محل'}
				, plurallabel = 'جایی که فیلم گیرنه'
				, property = 'P915'},
			{type = "row", label = "فورمت"
				, value = "فورمت"
				, property = 'P3803'}, --تجربه
			general.awards(),
			general.website(),
		}},
		{type = "table", title = "عوامل", rows = {
			{type = "row", label = "کارگردان"
				, value = {'کارگردان','director'}
				, property = 'P57'},
			{type = "row", label = "کارگردان دستیار"
				, value = {'کارگردان دستیار','assistant_director'}
				, property = 'P5126'},
			{type = "row", label = "هنری کارگردان"
				, value = {'هنری کارگردان','art_director'}
				, property = 'P3174'},
			{type = "row", label = "نویسنده"
				, value = {"نویسنده",'writer'}},
			{type = "row", label = "آسنی"
				, value = {'داستان','آسنی','story'}},
			{type = "row", label = "تدوین‌کر"
				, value = "تدوین‌کر"},
			{type = "row", label = "دیالوگ"
				, value = "دیالوگ"},
			{type = "row", label = "سناریو"
				, value = {'سناریو','screenplay'}
				, property = 'P58'},
			{type = "row", label = "کومیک‌بوک"
				, value = "کومیک بوک"
				, property = 'P3275'},
			{type = "row", label = "راوی"
				, value = {"راوی",'narrator'}
				, property = 'P2438'},
			{type = "row", label = "ستاره‌ئون"
				, value ={ "ستاره",'starring'}
                , wikidata = {property = 'P161' , formatting='table' , rowformat = '* $0$R0 $1'
                                   ,qualifier = 'P453'
                                   ,rowsubformat1='<small><br>نقش: $1</small>'}},
			{type = "row", label = "صداپیشه"
				, value ={ "صداپیشه",'voice actor'}
                , wikidata = {property = 'P725' , formatting='table' , rowformat = '* $0$R0 $1'
                                   ,qualifier2 = 'P407' , blacklist2 = 'Q150/Q188' --استثناء الفرنسیة والألمانیة و ..
                                   ,qualifier = 'P453'
                                   ,rowsubformat1='<small><br>نقش: $1</small>'
				}
			}, 
			{type = "row", label = "دیکور"
				, value = {'طراح صحنه','production designer',"دكور"}
				, property = 'P2554'},
			{type = "row", label = "طراح لباس"
				, value = {'لباس','طراح لباس'}
				, property = 'P2515'},
			{type = "row", label = "تصویر"
				, value = {'فیلم‌برداری','سینماتوگرافی','فیلمبرداری','cinematography'}
				, property = 'P344'},
			{type = "row", label = "موسیقی"
				, value = {'موسیقی','music'}
				, property = 'P86'},
			{type = "row", label = "مونتاژ"
				, value = {'مونتاژ','تدوین','editing'}
				, property = 'P1040'},
		}
		},
		{type = "table", title = "سینمایِ صنعت", rows = {
			{type = "row", label = "تولیدکَر کمپانی"
				, plurallabel = "تولیدکر کمپانی"
				, value = {"استودیو",'studio','production_companies'}
				, wikidata = {property = 'P272' , conjtype = '<br />'}},
			{type = "row", label = "تهیه‌کننده"
				, plurallabel = "تهیه‌کننده"
				, value ={'تهیه‌کننده‌ئون','تهیه کننده','تهیه‌کننده','producer'}, property = "P162"},
			{type = "row", label = "تهیه‌کننده اجرایی",  value = "تهیه‌کننده اجرایی"
				, wikidata={property = 'P1431', formatting = 'table',rowformat = '$0$R0 $1'
					,qualifier = 'P3831', rowsubformat1 = '<small>($1)</small>', conjunction ='<br/>'}},
			{type = "row", label = "تَنِک‌کر"
				, value = {'تنک‌کر','توزیع‌کننده','distributor'}
				, property = 'P750'},
			{type = "row", label = "توزیع فورمت"
				, value = {'فورمت توضیع','توزیع فورمت','distribution format'}
				, property = 'P437'},
			{type = "row", label = "اصلی کانال"
				, value = "اصلی کانال"
				, property = 'P449'},
			{type = "row", label = "بودجه"
				, value = {"بودجه" ,'budget'}
				, wikidata = {property = 'P2130 or P2769', formatting='unit', case=FormatNumVal}},
			{type = "row", label = "بروتِن"
				, value = {'gross','درآمد','بروتن','فروش' }
				, wikidata = {property = 'P2142', formatting = 'table',rowformat = '$0$R0 $1$2$3'
					,qualifier = 'P585',rowsubformat1 = '<br><small>←($1)</small>}}'
					,qualifier2 = 'P3005',rowsubformat2 = '<br><small>← $2</small>'
					,qualifier3 = 'P1352',rowsubformat3 = '<br>{{small|←رتبه: $3}}'
					,colformat0 = 'unit',colformat1 = 'Y' , case0=FormatNumVal
                    , conjunction ="<hr style=\"clear:both;  margin: 4px 30px 4px 30px;\"/>"
				}
			},			
		}
		},
		{type = "table", title = "سری", rows = {
			{type = "row", label = "سری", value = "سری"
                             , wikidata= { property='P179' , formatting='table'
                                   , qualifier='P155'  , qualifier2 = 'P156', qualifier3 = 'P1545'
                                   , rowformat = "<div style=\"text-align:center\">$3 $0 $1$2</div>"
                                   , rowsubformat1 = "<br /><small style=\"float:right\">&rarr; $1</small>" 
                                   , rowsubformat2 = "<br /><small style=\"float:left\">$2 &larr;</small>"
                                   , rowsubformat3 = "سری دله {{formatnum:$3}}<sup>اُمی</sup>: <br/>"
                                   , shownovalue = "false"
                                   , conjunction ="<hr style=\"clear:both; margin: 10px 30px 10px 30px;\"/>"
                                 }},
			{type = 'navbox' , inner='y'
				, previousparameter = "پیش", previousproperty = "P155"
				, nextparameter = "پئی",	nextproperty = "P156"}
			},
	    },
	}
}