Module:Wiki99/doc
This is the documentation page for Module:Wiki99
This is a documentation subpage for Module:Wiki99. It contains usage information, categories, and other content that is not part of the original module page. |
This module is rated as ready for general use. It has reached a mature form and is thought to be bug-free and ready for use wherever appropriate. It is ready to mention on help pages and other MetaWiki resources as an option for new users to learn. To reduce server load and bad output, it should be improved by sandbox testing rather than repeated trial-and-error editing. |
This module uses TemplateStyles: |
Module:Wiki99 takes user input of Wikidata items and outputs a table which shows whether a Wikipedia article exists for that item in a list of selected languages. The intended use of this table is community organization for improving and developing lists of about 99 topics in the Wiki99 outreach model.
Internationalization
editThis module generates a table supporting internationalization. Its labels can be translated on Template:Wiki99/i18n.
Usage
editSetup the table according to this template (by default, this tests and shows an extensive set of languages). "Q" numbers are Wikidata identifiers. Search for any topic in Wikidata to get its identifier.
|Q2|Q405|Q525|Q283|Q309|Q5|Q3196|Q1|Q3|Q4|Q527|Q450|Q8
}}
Selection of languages to test and display
editYou can pass langs=simple
to get a reduced list with the most common languages:
|Q2|Q405|Q525|Q283|Q309|Q5|Q3196|Q1|Q3|Q4|Q527|Q450|Q8
|langs = simple
}}
You can also specify which languages are to be presented in the table by inputting their codes in the langs
parameter (its value is actually a set of valid BCP 47 language tags). Language tags are encoded from Basic Latin/ASCII only, have non-significant lettercase, and must start by at 2 or 3 letters, normally from ISO 639-1, or ISO 639-2/T, or ISO 639-3 otherwise (a few legacy language tags for variants may start by a few more letters); language tags are made of subtags, each comprising 1 to 8 characters, separated by a single hyphen or underscore; subtags can only contain letters, or possibly digits (only in trailing subtags for a few variants): any other character (including controls, whitespaces, symbols, or punctuation signs) is treated as a separator between language codes.
Language are then listed as columns in the table in the specified order (but after the user language and its fallbacks that are always listed first, even if they are not requested), and should occur only once in the list:
|Q2|Q405|Q525|Q283|Q309|Q5|Q3196|Q1|Q3|Q4|Q527|Q450|Q8
|langs = am,ar,be,bn,cs,da,de,el,en,es,et,fa,fi,fr,he,hi,hr,hu,hy,id,is,it,ja,ka,kk,km,ko,lo,lt,lv,mn,nb,ne,nl,pl,pt,ru,si,sk,sq,sr,sv,th,tk,tr,uk,uz,vi,zh
}}
Optional parameters for showing additional result columns
editYou can also set the following options to add columns that will be shown on each row before the list of tested languages:
image = y
(or any non-empty value) for showing an examplar image for the topic, found in some properties of the Wikidata item.
|Q2|Q405|Q525|Q283|Q309|Q5|Q3196|Q1|Q3|Q4|Q527|Q450|Q8
|image = y
|langs = am,ar,be,bn,cs,da,de,el,en,es,et,fa,fi,fr,he,hi,hr,hu,hy,id,is,it,ja,ka,kk,km,ko,lo,lt,lv,mn,nb,ne,nl,pl,pt,ru,si,sk,sq,sr,sv,th,tk,tr,uk,uz,vi,zh
}}
description = y
(or any non-empty value) for showing the description label of the item in Wikidata after the name of the item, also allowing to disambiguate its default label.
|Q2|Q405|Q525|Q283|Q309|Q5|Q3196|Q1|Q3|Q4|Q527|Q8|Q450
|description = y
|langs = am,ar,be,bn,cs,da,de,el,en,es,et,fa,fi,fr,he,hi,hr,hu,hy,id,is,it,ja,ka,kk,km,ko,lo,lt,lv,mn,nb,ne,nl,pl,pt,ru,si,sk,sq,sr,sv,th,tk,tr,uk,uz,vi,zh
}}
Wikipedia articles | Description on Wikidata | en | am | ar | be | bn | cs | da | de | el | es | et | fa | fi | fr | he | hi | hr | hu | hy | id | is | it | ja | ka | kk | km | ko | lo | lt | lv | mn | nb | ne | nl | pl | pt | ru | si | sk | sq | sr | sv | th | tk | tr | uk | uz | vi | zh | Σ | Wikidata item | st. | c: | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Earth | third planet from the Sun in the Solar System | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | 48 | Q2 | 81 | 10 | |
2 | Moon | Earth's only natural satellite | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | 49 | Q405 | 59 | 9 |
3 | Sun | star at the centre of the Solar System | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | 49 | Q525 | 38 | 6 |
4 | water | chemical compound formed with the molecule composed of two hydrogen atom and two oxygen atoms | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | 49 | Q283 | 54 | 7 |
5 | history | past events and their tracks or records | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | 49 | Q309 | 16 | 1 |
6 | human | any member of Homo sapiens, unique extant species of the genus Homo | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | 48 | Q5 | 33 | 3 | |
7 | fire | rapid oxidation of a material; phenomenon that emits light and heat | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | 48 | Q3196 | 15 | 4 | |
8 | Universe | totality consisting of space, time, matter and energy | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | 47 | Q1 | 25 | 3 | ||
9 | life | matter capable of extracting energy from the environment for replication | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | 48 | Q3 | 18 | 3 | |
10 | death | permanent cessation of vital functions | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | 47 | Q4 | 26 | 3 | ||
11 | sky | everything that is above the surface of a planet, typically the Earth | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | 43 | Q527 | 8 | 4 | ||||||
12 | mind | combination of cognitive faculties that provides consciousness, thinking, reasoning, perception, and judgement in humans and potentially other life forms | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | 42 | Q450 | 11 | 2 | |||||||
13 | happiness | Positive emotional state | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | 45 | Q8 | 11 | 1 | ||||
Σ | autolist map | 13 | 12 | 13 | 13 | 13 | 13 | 13 | 13 | 12 | 13 | 13 | 13 | 13 | 13 | 13 | 13 | 13 | 12 | 13 | 13 | 13 | 12 | 13 | 12 | 13 | 8 | 13 | 9 | 13 | 13 | 10 | 12 | 12 | 13 | 13 | 13 | 13 | 11 | 13 | 13 | 13 | 13 | 13 | 9 | 13 | 13 | 13 | 13 | 13 | 612 | avg.: 12 \ 47 (96 %) | 395 | 56 |
Credit
editAs of January 2022 the original or at least the oldest version I found is Module:WikimediaCEETable, made in 2016 by User:Voll for Wikimedia Central and Eastern Europe and which Special:WhatLinksHere/Module:WikimediaCEETable reports is used on 304 pages. It is hard for me to tell how many of those 304 pages have repeated tables, but I think about 50 of those 300 pages have original content based on checking a few. Other projects using derivative versions of this table tool are Module:WikiDonneLang from WikiDonne, which Special:WhatLinksHere/Module:WikiDonneLang reports is being used for about 10 projects. The other is Module:WikimediaCH2020 from Wikimedia CH, which Special:WhatLinksHere/Module:WikimediaCH2020 reports is being used in 6 projects.
Bluerasberry (talk) 20:01, 12 June 2022 (UTC)