Ovo je najnovija verzija ove stranice; nema odobrenih izmena.
Ovaj šablon se koristi na veoma velikom broju stranica , tako da će promene na njemu biti široko primećene. Molimo da bilo kakve izmene testirate na podstranicama šablona /pesak ili /testovi , ili na sopstvenoj korisničkoj podstranici . Razmislite i o postavljanju rasprave o promenama koje nameravate da unesete na stranici za razgovor pre njihovog primenjivanja.
Ovaj šablon treba da bude korišćen na stranicama imenskog prostora „Modul”.
Pre bilo kakvog menjanja ovog šablona, molimo da prvo istestirate svoje promene na podstranici /igralište i uporedite ih na podstranici /testovi . Testirane promene onda treba da se unesu u jednoj izmeni u ovaj šablon.
Sadržaj
1 Princip rada modula
2 Funkcije
2.1 Spoljašnje
2.1.1 coalesce( arg1, arg2, arg3, arg4 )
2.1.2 expandBookSeries( context, data )
2.1.3 isInstanceOf( entity, typeEntityId )
2.1.4 isEmpty( str )
2.1.5 copyArgsToSnaks( args, snaks )
2.1.6 getLangCode( langEntityId )
2.1.7 populateDataFromClaims( context, entityId, claims, data )
2.1.8 getSingle( value )
2.1.9 toString( context, value, options )
2.1.10 wrapInUrl( urls, text )
2.1.11 getElementLink( context, entityId, entity )
2.1.12 populateSourceDataImpl( context, entity, plainData )
2.1.13 expandPublication( context, sourceEntity, data )
2.1.14 expandSpecialsQualifiers( context, entity, propertyId, data )
2.1.15 expandSpecials( context, currentEntity, reference, data )
2.1.16 preprocessPlaces( data, lang )
2.1.17 toWikibaseEntityIdSnak( propertyId, entityId )
2.1.18 getEntity( context, entityId )
2.2 Unutrašnje
2.2.1 getSingleStringQualifierValue( allQualifiers, qualifierPropertyId )
2.2.2 appendImpl_toTable( result, resultProperty )
2.2.3 tokenizeName( fullName )
2.2.4 appendImpl( datavalue, qualifiers, result, property, options )
2.2.5 appendSnaks( allSnaks, snakPropertyId, result, property, options )
2.2.6 appendQualifiers( claims, qualifierPropertyId, result, resultProperty, options )
2.2.7 assertNotNull( argName, arg )
2.2.8 toStringSnak( propertyId, strValue )
2.2.9 toUrlSnak( propertyId, strValue )
2.2.10 findClaimsByValue( entity, propertyId, value )
2.2.11 getBestStatements( entity, propertyId )
2.2.12 getNormativeTitle( entity )
2.2.13 renderLink( context, entityId, customTitle, options )
2.2.14 toTextWithTip( text, tip )
2.2.15 getPlaceName( lang, placeId )
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 )