יחידה:PropertyLink: הבדלים בין גרסאות בדף

מאין תקציר עריכה
מאין תקציר עריכה
שורה 16: שורה 16:
         end
         end
         if propValue['type']=='wikibase-entityid' then
         if propValue['type']=='wikibase-entityid' then
             return mw.wikibase.sitelink(propValue.value['numeric-id'])
             return propValue.value['numeric-id']
             --return '[['+mw.wikibase.sitelink(propValue.value['numeric-id'])+'|'+mw.wikibase.getLabel(propValue.value['numeric-id'])']]'
             --return '[['+mw.wikibase.sitelink(propValue.value['numeric-id'])+'|'+mw.wikibase.getLabel(propValue.value['numeric-id'])']]'
         elseif propValue['type']=='string' then
         elseif propValue['type']=='string' then