יחידה:PropertyLink: הבדלים בין גרסאות בדף
מאין תקציר עריכה |
מאין תקציר עריכה |
||
| שורה 16: | שורה 16: | ||
end | end | ||
if propValue['type']=='wikibase-entityid' then | if propValue['type']=='wikibase-entityid' then | ||
return "[[" .. mw.wikibase.sitelink("Q" .. propValue.value['numeric-id']) .. "|" .. mw.wikibase.getLabel("Q" ..propValue.value['numeric-id']) .."]]" | return mw.wikibase.getLabel("Q" ..propValue.value['numeric-id']) | ||
--return "[[" .. mw.wikibase.sitelink("Q" .. propValue.value['numeric-id']) .. "|" .. mw.wikibase.getLabel("Q" ..propValue.value['numeric-id']) .."]]" | |||
elseif propValue['type']=='string' then | elseif propValue['type']=='string' then | ||
return propValue.value | return propValue.value | ||