Wikipedia tumwiki https://tum.wikipedia.org/wiki/Jani_likulu MediaWiki 1.47.0-wmf.2 first-letter Media Special Talk User User talk Wikipedia Wikipedia talk File File talk MediaWiki MediaWiki talk Template Template talk Help Help talk Category Category talk TimedText TimedText talk Module Module talk Event Event talk Module:Databox 828 47303 115771 2026-05-17T08:14:55Z DuPlasesLipuoTsaAfrika 11577 Created page with "local property_blacklist = { 'P360', --is a list of 'P4224', --category contains 'P935', -- Commons gallery 'P1472', -- Commons Creator page 'P1612', -- Commons Institution page 'P373', -- Commons category 'P3722', -- Commons maps category 'P1151', -- topic's main Wikimedia portal 'P1424', -- topic's main template 'P910', -- topic's main category 'P1200', -- bodies of water basin category 'P1792', -- category of associated..." 115771 Scribunto text/plain local property_blacklist = { 'P360', --is a list of 'P4224', --category contains 'P935', -- Commons gallery 'P1472', -- Commons Creator page 'P1612', -- Commons Institution page 'P373', -- Commons category 'P3722', -- Commons maps category 'P1151', -- topic's main Wikimedia portal 'P1424', -- topic's main template 'P910', -- topic's main category 'P1200', -- bodies of water basin category 'P1792', -- category of associated people 'P1464', -- category for people born here 'P1465', -- category for people who died here 'P1791', -- category of people buried here 'P1740', -- category for films shot at this location 'P2033', -- Category for pictures taken with camera 'P2517', -- category for recipients of this award 'P4195', -- category for employees of the organization 'P1754', -- category related to list 'P301', -- category's main topic 'P971', -- category combines topics 'P3876', -- category for alumni of educational institution 'P1753', -- list related to category 'P3921', -- Wikidata SPARQL query equivalent 'P1204', -- Wikimedia portal's main topic 'P1423', -- template's main topic 'P1709', -- equivalent class 'P3950', -- narrower external class 'P2888', -- exact match 'P1382', -- coincident with 'P527', -- has part 'P2670', -- has parts of the class 'P3113', -- does not have part 'P2737', -- union of 'P2738', -- disjoint union of 'P2445', -- metasubclass of 'P1963', -- properties for this type 'P3176', -- uses property 'P1889', -- different from 'P460', -- said to be the same as 'P2959', -- permanent duplicated item 'P2860', -- cites 'P5125', -- wikimedia outline 'P5008', -- on focus list of Wikimedia project 'P2559', -- Wikidata usage instructions 'P1343', -- described by source 'P972', -- catalogu 'P1282', -- OSM tag or key } function valuesToKeys(array) local result = {} for _, v in pairs(array) do result[v] = true end return result end local p = {} function p.databox(frame) local args = frame:getParent().args local itemId = nil if args.item then itemId = args.item end local item = mw.wikibase.getEntity(itemId) if item == nil then mw.addWarning("Wikidata item not found") return "" end local databoxRoot = mw.html.create('div') :css({ float = 'right', border = '1px solid #aaa', ['max-width'] = '300px', padding = '0 0.4em', margin = '0 0 0.4em 0.4em', }) --Title databoxRoot:tag('div') :css({ ['text-align'] = 'center', ['background-color'] = '#949EC1', padding = '0.5em 0', margin = '0.5em 0', ['font-size'] = '120%', ['font-weight'] = 'bold', }) :wikitext(item:getLabel() or mw.title.getCurrentTitle().text) --Image local images = item:getBestStatements('P18') if #images == 1 then databoxRoot :tag('div') :wikitext('[[File:' .. images[1].mainsnak.datavalue.value .. '|frameless|300px]]') end --Table local dataTable = databoxRoot :tag('table') :css({ ['text-align'] = 'left', ['font-size'] = '90%', ['word-break'] = 'break-word' }) dataTable:tag('caption') :css({ ['background-color'] = '#949EC1', ['font-weight'] = 'bold', ['margin-top'] = '0.2em', }) :wikitext(item:formatStatements('P31').value) local properties = mw.wikibase.orderProperties(item:getProperties()) local property_blacklist_hash = valuesToKeys(property_blacklist) property_blacklist_hash['P31'] = true --Special property local edit_message = mw.message.new('vector-view-edit'):plain() for _, property in pairs(properties) do local datatype = item.claims[property][1].mainsnak.datatype if datatype ~= 'commonsMedia' and datatype ~= 'external-id' and datatype ~= 'quantity' and not property_blacklist_hash[property] and #item:getBestStatements(property) <= 5 then local propertyValue = item:formatStatements(property) dataTable:tag('tr') :tag('th') :attr('scope', 'row') :wikitext(propertyValue.label):done() :tag('td') :wikitext(frame:preprocess(propertyValue.value)) :wikitext('&nbsp;[[File:OOjs UI icon edit-ltr.svg|' .. edit_message .. '|12px|baseline|class=noviewer|link=https://www.wikidata.org/wiki/' .. item.id .. '#' .. property .. ']]') end end --Map local coordinates_statements = item:getBestStatements('P625') if #coordinates_statements == 1 and coordinates_statements[1].mainsnak.datavalue and coordinates_statements[1].mainsnak.datavalue.value.globe == 'http://www.wikidata.org/entity/Q2' then --We build the call to mapframe local latitude = coordinates_statements[1].mainsnak.datavalue.value.latitude local longitude = coordinates_statements[1].mainsnak.datavalue.value.longitude local geojson = { type = 'Feature', geometry = { type = 'Point', coordinates = { longitude, latitude } }, properties = { title = item:getLabel() or mw.title.getCurrentTitle().text, ['marker-symbol'] = 'marker', ['marker-color'] = '#224422', } } databoxRoot:wikitext(frame:extensionTag('mapframe', mw.text.jsonEncode(geojson), { height = 300, width = 300, frameless = 'frameless', align = 'center', latitude = latitude, longitude = longitude, zoom = zoom })) end return tostring(databoxRoot) end return p szh96ybo2v37shdz3yep42gsnns0fx7 Template:Databox 10 47304 115772 2026-05-17T08:15:26Z DuPlasesLipuoTsaAfrika 11577 Created page with "{{#invoke:Databox|databox}}" 115772 wikitext text/x-wiki {{#invoke:Databox|databox}} rltanani0spzqhywo9z8lvv3sf81nqd Chisankho cha Niue cha 2026 0 47305 115773 2026-05-17T08:16:27Z DuPlasesLipuoTsaAfrika 11577 Translation of [[:st:Likhetho tsa kakaretso tsa Niue tsa 2026]] 115773 wikitext text/x-wiki {{Databox}} [[Chisankho]] cha ŵanthu wose chikachitika ku [[Niue]] pa 2 May 2026, ndipo chikachemeka na Muyowoyi Hima Douglas pa 11 Malichi 2026. ==Vyakusatira== ===Kuyana na chigaŵa=== {| class="wikitable sortable" style="text-align:right" !Candidate ![[Alofi North]] ![[Alofi South]] ![[Avatele]] ![[Hakupu]] ![[Hikutavake]] ![[Lakepa]] ![[Liku, Niue|Liku]] ![[Makefu]] ![[Mutalau]] ![[Namukulu]] ![[Tamakautoga]] ![[Toi, Niue|Toi]] ![[Tuapa]] ![[Vaiea]] |- |align=left|'''Robert Leslie Rex''' |'''62''' |'''157''' |41 |49 |10 |34 |'''34''' |'''30''' |34 |2 |'''44''' |'''15''' |36 |13 |- |align=left|'''Moira Enetama''' |52 |113 |34 |45 |11 |'''53''' |30 |26 |36 |'''7''' |29 |12 |'''42''' |17 |- |align=left|'''Richmond Lisimoni-Togahai''' |31 |87 |35 |44 |'''13''' |23 |16 |12 |24 |5 |17 |7 |39 |5 |- |align=left|'''Emani Fakaotimanava-Lui''' |'''62''' |98 |17 |11 |9 |24 |12 |13 |12 |3 |14 |8 |29 |13 |- |align=left|'''Sonya Talagi''' |29 |51 |17 |41 |12 |18 |18 |22 |23 |6 |18 |12 |40 |9 |- |align=left|'''Sinahemana Hekau''' |30 |78 |19 |19 |8 |22 |25 |16 |14 |4 |28 |14 |15 |12 |- |align=left|James Douglas |27 |59 |45 |21 |7 |13 |21 |11 |15 |1 |39 |7 |17 |14 |- |align=left|Matagi Vilitama |22 |56 |23 |29 |4 |20 |13 |15 |'''37''' |3 |24 |10 |27 |12 |- |align=left|Crossley Tatui |22 |48 |22 |'''86''' |4 |18 |15 |8 |12 |2 |21 |8 |19 |9 |- |align=left|O'Love Jacobsen |31 |85 |23 |14 |5 |7 |21 |8 |9 |0 |28 |7 |21 |'''23''' |- |align=left|Stanley Kalauni |41 |69 |11 |23 |'''13''' |14 |25 |13 |9 |2 |8 |7 |31 |10 |- |align=left|Billy Talagi |16 |58 |'''47''' |22 |8 |14 |13 |11 |10 |2 |26 |3 |27 |9 |- |align=left|Dempster Tomailuga |21 |55 |9 |46 |9 |12 |18 |8 |16 |0 |16 |4 |22 |6 |- |align=left|Esther Pavihi |16 |53 |31 |8 |6 |24 |6 |9 |6 |3 |20 |7 |32 |6 |- |align=left|Terry Coe |17 |52 |13 |8 |7 |10 |16 |10 |4 |2 |21 |9 |8 |20 |- |align=left|Tom Misikea |3 |20 |10 |68 |2 |10 |14 |2 |6 |0 |6 |0 |10 |1 |- |align=left|Rosa Togahai |6 |42 |8 |5 |9 |7 |4 |8 |6 |0 |4 |1 |18 |0 |- |align=left|Sioneheke Leolahi |9 |16 |3 |12 |0 |4 |2 |5 |5 |0 |5 |2 |2 |1 |- class=sortbottom !colspan=15| |- class=sortbottom |align=left|Total votes |497 |1,197 |408 |551 |137 |327 |303 |227 |278 |42 |368 |133 |435 |180 |- |align=left colspan=15|Uko chafuma: Broadcasting Corporation of Niue |} {{Stub}} [[Category:Chisankho]] [[Category:Niue]] b0namm73ctv3akgqusfdbeo0m23tg3u 115774 115773 2026-05-17T08:18:29Z DuPlasesLipuoTsaAfrika 11577 115774 wikitext text/x-wiki {{Databox}} [[Chisankho]] cha ŵanthu wose chikachitika ku [[Niue]] pa 2 Meyi 2026, ndipo chikachemeka na Muyowoyi Hima Douglas pa 11 Malichi 2026. ==Vyakusatira== ===Kuyana na chigaŵa=== {| class="wikitable sortable" style="text-align:right" !Candidate ![[Alofi North]] ![[Alofi South]] ![[Avatele]] ![[Hakupu]] ![[Hikutavake]] ![[Lakepa]] ![[Liku, Niue|Liku]] ![[Makefu]] ![[Mutalau]] ![[Namukulu]] ![[Tamakautoga]] ![[Toi, Niue|Toi]] ![[Tuapa]] ![[Vaiea]] |- |align=left|'''Robert Leslie Rex''' |'''62''' |'''157''' |41 |49 |10 |34 |'''34''' |'''30''' |34 |2 |'''44''' |'''15''' |36 |13 |- |align=left|'''Moira Enetama''' |52 |113 |34 |45 |11 |'''53''' |30 |26 |36 |'''7''' |29 |12 |'''42''' |17 |- |align=left|'''Richmond Lisimoni-Togahai''' |31 |87 |35 |44 |'''13''' |23 |16 |12 |24 |5 |17 |7 |39 |5 |- |align=left|'''Emani Fakaotimanava-Lui''' |'''62''' |98 |17 |11 |9 |24 |12 |13 |12 |3 |14 |8 |29 |13 |- |align=left|'''Sonya Talagi''' |29 |51 |17 |41 |12 |18 |18 |22 |23 |6 |18 |12 |40 |9 |- |align=left|'''Sinahemana Hekau''' |30 |78 |19 |19 |8 |22 |25 |16 |14 |4 |28 |14 |15 |12 |- |align=left|James Douglas |27 |59 |45 |21 |7 |13 |21 |11 |15 |1 |39 |7 |17 |14 |- |align=left|Matagi Vilitama |22 |56 |23 |29 |4 |20 |13 |15 |'''37''' |3 |24 |10 |27 |12 |- |align=left|Crossley Tatui |22 |48 |22 |'''86''' |4 |18 |15 |8 |12 |2 |21 |8 |19 |9 |- |align=left|O'Love Jacobsen |31 |85 |23 |14 |5 |7 |21 |8 |9 |0 |28 |7 |21 |'''23''' |- |align=left|Stanley Kalauni |41 |69 |11 |23 |'''13''' |14 |25 |13 |9 |2 |8 |7 |31 |10 |- |align=left|Billy Talagi |16 |58 |'''47''' |22 |8 |14 |13 |11 |10 |2 |26 |3 |27 |9 |- |align=left|Dempster Tomailuga |21 |55 |9 |46 |9 |12 |18 |8 |16 |0 |16 |4 |22 |6 |- |align=left|Esther Pavihi |16 |53 |31 |8 |6 |24 |6 |9 |6 |3 |20 |7 |32 |6 |- |align=left|Terry Coe |17 |52 |13 |8 |7 |10 |16 |10 |4 |2 |21 |9 |8 |20 |- |align=left|Tom Misikea |3 |20 |10 |68 |2 |10 |14 |2 |6 |0 |6 |0 |10 |1 |- |align=left|Rosa Togahai |6 |42 |8 |5 |9 |7 |4 |8 |6 |0 |4 |1 |18 |0 |- |align=left|Sioneheke Leolahi |9 |16 |3 |12 |0 |4 |2 |5 |5 |0 |5 |2 |2 |1 |- class=sortbottom !colspan=15| |- class=sortbottom |align=left|Total votes |497 |1,197 |408 |551 |137 |327 |303 |227 |278 |42 |368 |133 |435 |180 |- |align=left colspan=15|Uko chafuma: Broadcasting Corporation of Niue |} {{Stub}} [[Category:Chisankho]] [[Category:Niue]] h1ex2cglv4ou4bjcotkoqcuxd3k2906