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