Modul:Bewertung: Unterschied zwischen den Versionen

Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 5: Zeile 5:
local totalReview = 0
local totalReview = 0
local entity = mw.wikibase.getEntityObject('Q294')
local entity = mw.wikibase.getEntityObject('Q294')
result = '{| class="wikitable fullwidth" style="width:100%;"\n!Plattform!!Bewertung\n'
result = '{| class="wikitable fullwidth""\n!Plattform!!Bewertung\n'
if not entity or not entity.claims then return end --the entity doesnt exist or have no claims
if not entity or not entity.claims then return end --the entity doesnt exist or have no claims
local property = entity.claims[claimIdentifier]
local property = entity.claims[claimIdentifier]