词条 | Module:Infobox road junction |
释义 | local p = {} 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 = args.map or '' if map == '' then local entity = mw.wikibase.getEntity() or {} local claims = entity.claims or {} local mapProp = claims.p15 if not mapProp then return "" end map = mapProp[0].mainsnak.datavalue.value end local alt = args.map_alt or '' return "" end return p |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。