Modul:Sources/utils/dok

Izvor: Vojna Enciklopedija
Pređi na navigaciju Pređi na pretragu

Ovo je dokumentaciona podstranica za Модул:Sources/utils

Princip rada modula

Ovaj modul generiše tekst korišćen u fusnotama izvedenim sa stavki Vikipodataka.

Funkcije

Spoljašnje

coalesce(arg1, arg2, arg3, arg4)

expandBookSeries(context, data)

isInstanceOf(entity, typeEntityId)

isEmpty(str)

copyArgsToSnaks(args, snaks)

getLangCode(langEntityId)

populateDataFromClaims(context, entityId, claims, data)

getSingle(value)

toString(context, value, options)

wrapInUrl(urls, text)

getElementLink(context, entityId, entity)

populateSourceDataImpl(context, entity, plainData)

expandPublication(context, sourceEntity, data)

expandSpecialsQualifiers(context, entity, propertyId, data)

Expand special types of references when additional data could be found in OTHER entity properties

expandSpecials(context, currentEntity, reference, data)

preprocessPlaces(data, lang)

toWikibaseEntityIdSnak(propertyId, entityId)

getEntity(context, entityId)

Unutrašnje

getSingleStringQualifierValue(allQualifiers, qualifierPropertyId)

appendImpl_toTable(result, resultProperty)

tokenizeName(fullName)

appendImpl(datavalue, qualifiers, result, property, options)

appendSnaks(allSnaks, snakPropertyId, result, property, options)

appendQualifiers(claims, qualifierPropertyId, result, resultProperty, options)

assertNotNull(argName, arg)

toStringSnak(propertyId, strValue)

toUrlSnak(propertyId, strValue)

findClaimsByValue(entity, propertyId, value)

getBestStatements(entity, propertyId)

getNormativeTitle(entity)

renderLink(context, entityId, customTitle, options)

toTextWithTip(text, tip)

getPlaceName(lang, placeId)