Пређи на садржај

Модул:Sources/utils/док

Iz Vojne Enciklopedije

Ово је документациона подстраница за Модул:Sources/utils

{{#switch:

 {{#if:
 |     
 | {{#ifeq:Модул|Модул
   | module
   | other
   }}
 }}

| module =

| other | #default = Овај шаблон треба да буде коришћен на страницама именског простора „Модул”. }}

Принцип рада модула

Овај модул генерише текст коришћен у фуснотама изведеним са ставки Википодатака.

Функције

Спољашње

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)

Унутрашње

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)