localp={}localmapsizes={["DEU"]="200",["USA"]="290x172"}functionp.map(frame)localpframe=frame:getParent()localconfig=frame.args-- the arguments passed BY the template, in the wikitext of the template itselflocalargs=pframe.args-- the arguments passed TO the template, in the wikitext that transcludes the templatelocalmap_custom=args.map_customor''localmap=args.mapor''ifmap_custom=="yes"thenreturn'<span style="white-space:nowrap;">'..map..'</span>'endifmap==''thenlocalentity=mw.wikibase.getEntity()or{}localclaims=entity.claimsor{}localmapProp=claims.P15ifnotmapPropormapProp[1].mainsnak.snaktype~='value'thenreturn""endmap=mapProp[1].mainsnak.datavalue.valueendlocalfilecode="[[File:"..map.."|"localcountrymod=require"Module:Infobox road/meta/mask/country"localcountryarg=args.countrylocalstate=args.stateorargs.provincelocalcountry=''ifcountryargandstatethencountry=countrymod._country(state,countryarg)endlocalmapsize=mapsizes[country]or'290'localalt=args.map_altor''filecode=filecode..mapsize..'px|alt='..alt..']]'returnfilecodeendreturnp
มกราคม 08, 2022
มอด, infobox, road, อการใช, งานมอด, สร, าง, ณอาจจะต, องการสร, างค, อการใช, งานของมอด, ลน, เข, ยนสามารถทำการทดลองได, กระบะทราย, สร, าง, ดลอก, และช, ดทดสอบ, สร, าง, ของมอด, ลน, โปรดเพ, มหมวดหม, ไปท, หน, าย, อย, หน, าย, อยของมอด, ลน, local, local, mapsizes, 290x1. khumuxkarichnganmxdul srang khunxaccatxngkarsrangkhumuxkarichngankhxngmxdulniphuekhiynsamarththakarthdlxngidthikrabathray srang khdlxk aelachudthdsxb srang khxngmxdulnioprdephimhmwdhmuipthihnayxy doc hnayxykhxngmxdulnilocal p local mapsizes DEU 200 USA 290x172 function p map frame local pframe frame getParent local config frame args the arguments passed BY the template in the wikitext of the template itself local args pframe args the arguments passed TO the template in the wikitext that transcludes the template local map custom args map custom or local map args map or if map custom yes then return lt span style white space nowrap gt map lt span gt end if map then local entity mw wikibase getEntity or local claims entity claims or local mapProp claims P15 if not mapProp or mapProp 1 mainsnak snaktype value then return end map mapProp 1 mainsnak datavalue value end local filecode File map local countrymod require Module Infobox road meta mask country local countryarg args country local state args state or args province local country if countryarg and state then country countrymod country state countryarg end local mapsize mapsizes country or 290 local alt args map alt or filecode filecode mapsize px alt alt return filecode end return p ekhathungcak https th wikipedia org w index php title mxdul Infobox road map amp oldid 5952389, wikipedia, วิกิ หนังสือ, หนังสือ, ห้องสมุด,