Wikipèdiya kaiwiki https://kai.wikipedia.org/wiki/Sh%C3%A0fi_Maiw%C3%A0a MediaWiki 1.47.0-wmf.10 first-letter Mìidiyà Musanmàn Ɗàfu Ba wàanò Màatu mà Ba wàanò Wikipèdiya Màatu mà Wikipèdiya Payìil Màatu mà Payiil MediaWiki Màatu mà MediaWiki Tampilet Màatu mà Tampilet Gàɗu Màatu mà Gàɗu Sashì Màatu mà Sashì TimedText TimedText talk Module Module talk Event Event talk Tampilet:Main page/Welcome 10 335 13748 13538 2026-07-11T20:05:43Z De-Invincible 36 13748 wikitext text/x-wiki __NOTOC__ <templatestyles src="Main page/Contents/style.css"/> <div class="main-page-root" style="margin-top: 1rem !important;"> <div class="content-block main-header" style="position: relative; border-top: none; padding-top: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; margin-bottom: 0px; box-shadow: none !important; border: 1px solid #eaecf0; overflow: hidden; min-height: 160px; display: flex; align-items: center;"> <div style="position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(to right, #3b82f6, #1d4ed8, #0f766e, #7c2d12, #6b21a8); z-index: 10;"></div> <div style="position: absolute; left: -80px; bottom: -35px; width: 200px; opacity: 0.85; pointer-events: none; z-index: 1; user-select: none;"> [[File:Wikipedia-logo-v2.svg|250px|link=Main Page]] </div> <div id="pylh_2019_kefalida" style="width: 100%; position: relative; z-index: 2;"> <div id="pylh_2019_kordela"> <div id="pylh_2019_bloc-titlos"> {| style="width:100%; border-collapse: collapse; background: transparent; margin: 0;" | style="vertical-align: middle; text-align: left; padding-left: 175px; padding-top: 30px; padding-bottom: 30px;" | <span style="color:var(--color-base, #202122); font-size:250%; font-family:'Linux Libertine', 'Georgia', serif !important; font-variant: small-caps !important; line-height:110%; font-weight: bold;" class="kop-selametdateng">Usako!<br/>Bàrka kà ndu Wikipèdiya mà [[:en:Karai-Karai|Bòo Karai-Karai]]</span><br /> <div style="color:var(--color-base, #404040); font-size:125%; font-family:'Linux Libertine', 'Georgia', serif !important; font-variant: small-caps !important; font-style: italic; line-height:100%; margin-top: 8px; display: block;" class="kop-ensiklopedi">Ka Àsùm à Fèesìɗè</div> | style="width:30%; min-width: 180px; vertical-align: middle; text-align: right; border-left: 1px solid #a2a9b1; padding: 20px 15px 20px 20px; line-height: 1.6; font-size: 0.95em; color: #202122; font-family:'Linux Libertine', 'Georgia', serif !important;" class="kop-statistik" | <div>Ànce, kà men màkala <b style="font-size:1.1em;">[[Special:Statistics|{{NUMBEROFARTICLES}}]]</b></div> <div>à Wikipèdiya mà [[:en:Karai-Karai|Bòo Karai-Karai]].</div> |}</div></div></div></div> </div> <div class="content-block" style="padding: 5px; margin-top: 0px !important; margin-bottom: 1rem; background: #ffffff;"> <div style="display: flex; width: 100%; text-align: center; font-size: 0.95em; flex-wrap: wrap;"> <div style="flex: 1; background: #F5F5F5; border-top: 5px solid #848482; padding: 8px 5px;">[[:Category:Àuchī|<span style="color:#000000;">Àucī</span>]]</div> <div style="flex: 1; background: #F0F0F9; border-top: 5px solid #262673; padding: 8px 5px;">[[:Category:Bàlàk|<span style="color:#000000;">Bàlàk</span>]]</div> <div style="flex: 1; background: #F5F5F5; border-top: 5px solid #848482; padding: 8px 5px;">[[:Category:Ɓā|<span style="color:#000000;">Ɓā</span>]]</div> <div style="flex: 1; background: #F4F9F0; border-top: 5px solid #669933; padding: 8px 5px;">[[:Category:Gizìn|<span style="color:#000000;">Gizìn</span>]]</div> <div style="flex: 1; background: #F9F9F0; border-top: 5px solid #999933; padding: 8px 5px;">[[:Category:Jàgo|<span style="color:#000000;">Jàgo]]</div> <div style="flex: 1; background: #F0F9F0; border-top: 5px solid #339933; padding: 8px 5px;">[[:Category:Kwàr ta tàrihi|<span style="color:#000000;">Miziyòm]]</div> <div style="flex: 1; background: #F0F9F9; border-top: 5px solid #339999; padding: 8px 5px;">[[:Category:Mindì|<span style="color:#000000;">Mindì</span>]]</div> <div style="flex: 1; background: #F0F4F9; border-top: 5px solid #336699; padding: 8px 5px;">[[:Category:Ràayi|<span style="color:#000000;">Ràayi</span>]]</div> <div style="flex: 1; background: #F0F0F9; border-top: 5px solid #333399; padding: 8px 5px;">[[:Category:Siyàasa|<span style="color:#000000;">Siyàasa</span>]]</div> <div style="flex: 1; background: #F0F0F9; border-top: 5px solid #262673; padding: 8px 5px;">[[:Category:Takanologi|<span style="color:#000000;">Takanologi</span>]]</div> <div style="flex: 1; background: #F9F0F0; border-top: 5px solid #993333; padding: 8px 5px;">[[:Category:Ƴali|<span style="color:#000000;">Ƴali</span>]]</div> </div> </div> hor4l16j9tpwcbyiucy5i0jgunbiq1b Ailsa Chang 0 4426 13756 13695 2026-07-12T08:26:50Z De-Invincible 36 13756 wikitext text/x-wiki {{Short description|American journalist (born 1976)}} {{Use mdy dates|date=September 2024}} {{Use American English|date=September 2024}} {{Infobox person | name = Ailsa Chang | image = | birth_date = {{Birth date and age|1976|01|12}} | education = [[Stanford University]] ([[Bachelor of Arts|BA]], [[Juris Doctor|JD]])<br>[[University of Oxford]] ([[Master of Law|LLM]])<br>[[Columbia University]] ([[Master of Science|MS]]) | occupation = Journalist | employer = [[NPR]] }} '''Ailsa Chang''' ({{Lang-zh|c=|t=張愛莎|p=Zhāng Àishā}}; làawàanta à tarài mà Januwari 12, 1976)<ref>{{Cite web |title=Instagram |url=https://www.instagram.com/p/CYpxq-UFUvG/?igsh=MWQ1ZGUxMzBkMA== |access-date=2024-09-25 |website=Instagram}}</ref><ref>{{Cite web |title=Instagram |url=https://www.instagram.com/p/C2VFq3or8sf/?igsh=MWQ1ZGUxMzBkMA== |access-date=2024-09-25 |website=Instagram}}</ref> nanta bàa tà jàrīda ne àkata sashi mà rādlàmà à ƴal tà [[Amurka]]. Dita ne nanta gabatarwa mà càacàa àkata mujalla mà NPR. [[Sashì:Mendài]] [[Sashì:Mendài mà Amurka]] [[Sashì:Mendài bàa tà jàrīda mà Amurka]] fmuf1li22699fq4q6wei18svzsr3h8r 13759 13756 2026-07-12T08:46:42Z De-Invincible 36 13759 wikitext text/x-wiki {{Infobox person | name = Ailsa Chang | native_name = 張愛莎 | birth_name = Zhāng Àishā | image = | birth_date = {{Birth date and age|1976|01|12}} | education = [[Stanford University]] ([[Bachelor of Arts|BA]], [[Juris Doctor|JD]])<br>[[University of Oxford]] (LLM)<br>[[Columbia University]] (MS) | occupation = Journalist | employer = [[NPR]] }} '''Ailsa Chang''' ({{Lang-zh|c=|t=張愛莎|p=Zhāng Àishā}}; làawàanta à tarài mà Januwari 12, 1976)<ref>{{Cite web |title=Instagram |url=https://www.instagram.com/p/CYpxq-UFUvG/?igsh=MWQ1ZGUxMzBkMA== |access-date=2024-09-25 |website=Instagram}}</ref><ref>{{Cite web |title=Instagram |url=https://www.instagram.com/p/C2VFq3or8sf/?igsh=MWQ1ZGUxMzBkMA== |access-date=2024-09-25 |website=Instagram}}</ref> nanta bàa tà jàrīda ne àkata sashi mà rādlàmà à ƴal tà [[Amurka]]. Dita ne nanta gabatarwa mà càacàa àkata mujalla mà NPR. [[Sashì:Mendài]] [[Sashì:Mendài mà Amurka]] [[Sashì:Mendài bàa tà jàrīda mà Amurka]] k9szk7kksnz8z2xemik9xq6k3bqykw5 13760 13759 2026-07-12T08:48:01Z De-Invincible 36 13760 wikitext text/x-wiki {{Infobox person | name = Ailsa Chang | native_name = 張愛莎 | birth_name = Zhāng Àishā | image = | birth_date = {{Birth date and age|1976|01|12}} | education = [[Stanford University]] ([[Bachelor of Arts|BA]], [[Juris Doctor|JD]])<br>[[University of Oxford]] (LLM)<br>[[Columbia University]] (MS) | occupation = Journalist | employer = [[NPR]] }} '''Ailsa Chang''' ({{Lang-zh|c=|t=張愛莎|p=Zhāng Àishā}}; làawàanta à tarài mà Januwari 12, 1976)<ref>{{Cite web |title=Instagram |url=https://www.instagram.com/p/CYpxq-UFUvG/?igsh=MWQ1ZGUxMzBkMA== |access-date=2024-09-25 |website=Instagram}}</ref><ref>{{Cite web |title=Instagram |url=https://www.instagram.com/p/C2VFq3or8sf/?igsh=MWQ1ZGUxMzBkMA== |access-date=2024-09-25 |website=Instagram}}</ref> nanta bàa tà jàrīda ne àkata sashi mà rādlàmà à ƴal tà [[Amurka]]. Dita ne nanta gabatarwa mà càacàa àkata mujalla mà NPR. == Gìi tà Càacàa == {{Reflist|2}} [[Sashì:Mendài]] [[Sashì:Mendài mà Amurka]] [[Sashì:Mendài bàa tà jàrīda mà Amurka]] ss6amj6kpgzjbd8cikpg65tt4gq99y4 13761 13760 2026-07-12T08:49:26Z De-Invincible 36 /* Gìi tà Càacàa */ 13761 wikitext text/x-wiki {{Infobox person | name = Ailsa Chang | native_name = 張愛莎 | birth_name = Zhāng Àishā | image = | birth_date = {{Birth date and age|1976|01|12}} | education = [[Stanford University]] ([[Bachelor of Arts|BA]], [[Juris Doctor|JD]])<br>[[University of Oxford]] (LLM)<br>[[Columbia University]] (MS) | occupation = Journalist | employer = [[NPR]] }} '''Ailsa Chang''' ({{Lang-zh|c=|t=張愛莎|p=Zhāng Àishā}}; làawàanta à tarài mà Januwari 12, 1976)<ref>{{Cite web |title=Instagram |url=https://www.instagram.com/p/CYpxq-UFUvG/?igsh=MWQ1ZGUxMzBkMA== |access-date=2024-09-25 |website=Instagram}}</ref><ref>{{Cite web |title=Instagram |url=https://www.instagram.com/p/C2VFq3or8sf/?igsh=MWQ1ZGUxMzBkMA== |access-date=2024-09-25 |website=Instagram}}</ref> nanta bàa tà jàrīda ne àkata sashi mà rādlàmà à ƴal tà [[Amurka]]. Dita ne nanta gabatarwa mà càacàa àkata mujalla mà NPR. == Gìi tà cakaram == {{Reflist|2}} [[Sashì:Mendài]] [[Sashì:Mendài mà Amurka]] [[Sashì:Mendài bàa tà jàrīda mà Amurka]] d7tm5q7shei5aql0g1c5scb2c05rwv8 Alessandra Sanguinetti 0 4436 13762 13705 2026-07-12T08:54:43Z De-Invincible 36 13762 wikitext text/x-wiki '''Alessandra Sanguinetti''' nanta bàa tà jàrīda ne mà fòoto àkata ƴal tà [[Amurka]]. == Fèesiɗe == * 2001: Hasselblad Foundation Grant * 2007: MacDowell Fellowship * 2008: Guggenheim Fellowship from the John Simon * Guggenheim Memorial Foundation * 2009: Robert Gardner Fellowship, Harvard Peabody Museum * 2009: Photography Grant, National Geographic == Gìi tà cakaram == {{Reflist}} [[Sashì:Mendài]] [[Sashì:Mendài mà Amurka]] [[Sashì:Mendài bàa tà jàrīda mà Amurka]] 3cl3xseshz4udzj3fvuaprzjzb8a1jy 13763 13762 2026-07-12T08:56:59Z De-Invincible 36 /* Fèesiɗe */ 13763 wikitext text/x-wiki '''Alessandra Sanguinetti''' nanta bàa tà jàrīda ne mà fòoto àkata ƴal tà [[Amurka]]. == Fèesiɗe == *2001: Hasselblad Foundation Grant<ref name="peabody">{{Cite web |title=Alessandra Sanguinetti |url=https://peabody.harvard.edu/alessandra-sanguinetti |access-date=2022-07-19 |website=peabody.harvard.edu |language=en}}</ref> *2007: MacDowell Fellowship<ref name="peabody"/> *2008: Guggenheim Fellowship<ref>"[http://www.gf.org/fellows/all-fellows/alessandra-sanguinetti/ Alessandra Sanguinetti] {{Webarchive|url=https://web.archive.org/web/20190804191911/http://www.gf.org/fellows/all-fellows/alessandra-sanguinetti/ |date=August 4, 2019 }}". [[John Simon Guggenheim Memorial Foundation]]. Retrieved April 18, 2018.</ref> *2009: Robert Gardner Fellowship, Harvard Peabody Museum<ref>"[https://www.peabody.harvard.edu/node/471 Alessandra Sanguinetti: Gardner Photography Fellow, 2009] {{Webarchive|url=https://web.archive.org/web/20190802070738/https://www.peabody.harvard.edu/node/471 |date=August 2, 2019 }}". [[Peabody Museum of Archaeology and Ethnology]]. Retrieved April 18, 2018.</ref> *2009: Photography Grant, ''National Geographic''<ref>"[https://web.archive.org/web/20100120090844/http://ngm.nationalgeographic.com/photo-grant/alessandra-sanguinetti-photography 2009 Photography Grant – Sanguinetti Portfolio – National Geographic ...]". [[National Geographic (magazine)|National Geographic]]. Retrieved March 15, 2018.</ref> == Gìi tà cakaram == {{Reflist}} [[Sashì:Mendài]] [[Sashì:Mendài mà Amurka]] [[Sashì:Mendài bàa tà jàrīda mà Amurka]] m6k3mulcrju00li9b2ual2hlrp4iyni 13764 13763 2026-07-12T08:59:22Z De-Invincible 36 13764 wikitext text/x-wiki {{Infobox artist | honorific_prefix = | name = Alessandra Sanguinetti | honorific_suffix = | image = <!-- just the pagename, without the File:/Image: prefix or [[brackets]] --> | image_size = | alt = | caption = | native_name = | native_name_lang = | birth_name = <!-- only use if different than name --> | birth_date = {{birth year and age|1968}} <!-- {{Birth date and age|YYYY|MM|DD}} for living artists, {{Birth date|YYYY|MM|DD}} for dead. For living people supply only the year unless the exact date is already WIDELY published, as per [[WP:DOB]]. Treat such cases as if only the year is known, so use {{birth year and age|YYYY}} or a similar option. --> | birth_place = [[New York City|New York]] | death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} --> | death_place = | resting_place = | resting_place_coordinates = <!-- {{Coord|LAT|LONG|type:landmark|display=inline}} --> | education = | alma_mater = | known_for = photographer | notable_works = | style = | movement = | spouse = | awards = <!-- {{awd|award|year|title|role|name}} (optional) --> | elected = | patrons = | memorials = | website = {{URL|alessandrasanguinetti.info}} | module = }} '''Alessandra Sanguinetti''' (làawàa 1968) nanta bàa tà jàrīda ne mà fòoto àkata ƴal tà [[Amurka]].<ref>{{cite magazine|url=http://www.newyorker.com/online/blogs/photobooth/2010/06/alessandra-sanguinetti.html#slide_ss_0=1|title=Slide Show: Alessandra Sanguinetti's The Adventures of Guille and Belinda|last=Romig|first=Rollo|date=June 24, 2010|magazine=[[The New Yorker]]|accessdate=June 5, 2014}}</ref><ref>{{cite web|access-date=2022-09-13|title=Alessandra Sanguinetti's best shot|url=http://www.theguardian.com/artanddesign/2007/dec/20/photography|date=20 December 2007|website=The Guardian}}</ref> == Fèesiɗe == *2001: Hasselblad Foundation Grant<ref name="peabody">{{Cite web |title=Alessandra Sanguinetti |url=https://peabody.harvard.edu/alessandra-sanguinetti |access-date=2022-07-19 |website=peabody.harvard.edu |language=en}}</ref> *2007: MacDowell Fellowship<ref name="peabody"/> *2008: Guggenheim Fellowship<ref>"[http://www.gf.org/fellows/all-fellows/alessandra-sanguinetti/ Alessandra Sanguinetti] {{Webarchive|url=https://web.archive.org/web/20190804191911/http://www.gf.org/fellows/all-fellows/alessandra-sanguinetti/ |date=August 4, 2019 }}". [[John Simon Guggenheim Memorial Foundation]]. Retrieved April 18, 2018.</ref> *2009: Robert Gardner Fellowship, Harvard Peabody Museum<ref>"[https://www.peabody.harvard.edu/node/471 Alessandra Sanguinetti: Gardner Photography Fellow, 2009] {{Webarchive|url=https://web.archive.org/web/20190802070738/https://www.peabody.harvard.edu/node/471 |date=August 2, 2019 }}". [[Peabody Museum of Archaeology and Ethnology]]. Retrieved April 18, 2018.</ref> *2009: Photography Grant, ''National Geographic''<ref>"[https://web.archive.org/web/20100120090844/http://ngm.nationalgeographic.com/photo-grant/alessandra-sanguinetti-photography 2009 Photography Grant – Sanguinetti Portfolio – National Geographic ...]". [[National Geographic (magazine)|National Geographic]]. Retrieved March 15, 2018.</ref> == Gìi tà cakaram == {{Reflist}} [[Sashì:Mendài]] [[Sashì:Mendài mà Amurka]] [[Sashì:Mendài bàa tà jàrīda mà Amurka]] i8c8bckjsu6u8zhhfqr9qktajg9vzcb Tampilet:Potd/12 10 4479 13749 2026-07-12T02:41:35Z De-Invincible 36 Created page with "Dolina-dolnej-wisly-2.jpg" 13749 wikitext text/x-wiki Dolina-dolnej-wisly-2.jpg 9ztkcqylbye9okd1q4stuan2qwwy858 Tampilet:Potd-caption/12 10 4480 13750 2026-07-12T02:42:44Z De-Invincible 36 Created page with "Gòoya mà Vistula àkata Kokocko, Pòolan" 13750 wikitext text/x-wiki Gòoya mà Vistula àkata Kokocko, Pòolan hzucnq1vx6vykm3cx8cu0d7zn6u58zd Sashì:Mendài mà Amurka 14 4481 13751 2026-07-12T08:18:07Z De-Invincible 36 Created blank page 13751 wikitext text/x-wiki phoiac9h4m842xq45sp7s6u21eteeq1 13754 13751 2026-07-12T08:21:42Z De-Invincible 36 added [[Category:Amurka]] using [[Help:Gadget-HotCat|HotCat]] 13754 wikitext text/x-wiki [[Sashì:Amurka]] n1u2w2nklw70j6jj62v63rzvk85sixf Sashì:Mendài bàa tà jàrīda mà Amurka 14 4482 13752 2026-07-12T08:20:18Z De-Invincible 36 Created blank page 13752 wikitext text/x-wiki phoiac9h4m842xq45sp7s6u21eteeq1 13753 13752 2026-07-12T08:21:16Z De-Invincible 36 added [[Category:Mendài mà Amurka]] using [[Help:Gadget-HotCat|HotCat]] 13753 wikitext text/x-wiki [[Sashì:Mendài mà Amurka]] o09zoklirjjz5aecpgcqdn5yyvp15cm 13755 13753 2026-07-12T08:22:01Z De-Invincible 36 added [[Category:Amurka]] using [[Help:Gadget-HotCat|HotCat]] 13755 wikitext text/x-wiki [[Sashì:Mendài mà Amurka]] [[Sashì:Amurka]] f6wxmclmt9qa1wwk3c6hm2ith060n1h Tampilet:Lang-zh 10 4483 13757 2026-07-12T08:37:14Z De-Invincible 36 Created page with "<includeonly>{{#invoke:Zh|Zh}}</includeonly><noinclude>{{documentation}}</noinclude>" 13757 wikitext text/x-wiki <includeonly>{{#invoke:Zh|Zh}}</includeonly><noinclude>{{documentation}}</noinclude> m4ob06lvob4ggxd1w15iwxtagepayyx Module:Zh 828 4484 13758 2026-07-12T08:39:59Z De-Invincible 36 Created page with "require('strict') local p = {} -- articles in which traditional Chinese preceeds simplified Chinese local t1st = { ["228 Incident"] = true, ["Chinese calendar"] = true, ["Lippo Centre, Hong Kong"] = true, ["Republic of China"] = true, ["Republic of China at the 1924 Summer Olympics"] = true, ["Taiwan"] = true, ["Taiwan (island)"] = true, ["Taiwan Province"] = true, ["Wei Boyang"] = true, } -- the labels for each part local labels = { ["c"] = "Chinese", ["s..." 13758 Scribunto text/plain require('strict') local p = {} -- articles in which traditional Chinese preceeds simplified Chinese local t1st = { ["228 Incident"] = true, ["Chinese calendar"] = true, ["Lippo Centre, Hong Kong"] = true, ["Republic of China"] = true, ["Republic of China at the 1924 Summer Olympics"] = true, ["Taiwan"] = true, ["Taiwan (island)"] = true, ["Taiwan Province"] = true, ["Wei Boyang"] = true, } -- the labels for each part local labels = { ["c"] = "Chinese", ["s"] = "simplified Chinese", ["t"] = "traditional Chinese", ["p"] = "pinyin", ["tp"] = "Tongyong Pinyin", ["w"] = "Wade–Giles", ["j"] = "Jyutping", ["cy"] = "Cantonese Yale", ["sl"] = "Sidney Lau", ["poj"] = "Pe̍h-ōe-jī", ["zhu"] = "Zhuyin Fuhao", ["l"] = "literally", } -- article titles for wikilinks for each part local wlinks = { ["c"] = "Chinese language", ["s"] = "simplified Chinese characters", ["t"] = "traditional Chinese characters", ["p"] = "pinyin", ["tp"] = "Tongyong Pinyin", ["w"] = "Wade–Giles", ["j"] = "Jyutping", ["cy"] = "Yale romanization of Cantonese", ["sl"] = "Sidney Lau romanisation", ["poj"] = "Pe̍h-ōe-jī", ["zhu"] = "Bopomofo", } -- for those parts which are to be treated as languages their ISO code local ISOlang = { ["c"] = "zh", ["t"] = "zh-Hant", ["s"] = "zh-Hans", ["p"] = "zh-Latn-pinyin", ["tp"] = "zh-Latn", ["w"] = "zh-Latn-wadegile", ["j"] = "yue-jyutping", ["cy"] = "yue", ["sl"] = "yue", ["poj"] = "nan", ["zhu"] = "zh-Bopo", } local italic = { ["p"] = true, ["tp"] = true, ["w"] = true, ["j"] = true, ["cy"] = true, ["sl"] = true, ["poj"] = true, } local superscript = { ["w"] = true, ["sl"] = true, } -- Categories for different kinds of Chinese text local cats = { ["c"] = "[[Category:Articles containing Chinese-language text]]", ["s"] = "[[Category:Articles containing simplified Chinese-language text]]", ["t"] = "[[Category:Articles containing traditional Chinese-language text]]", } function p.Zh(frame) -- load arguments module to simplify handling of args local getArgs = require('Module:Arguments').getArgs local args = getArgs(frame) return p._Zh(args) end function p._Zh(args) local uselinks = not (args["links"] == "no") -- whether to add links local uselabels = not (args["labels"] == "no") -- whether to have labels local capfirst = args["scase"] ~= nil local t1 = false -- whether traditional Chinese characters go first local j1 = false -- whether Cantonese Romanisations go first local testChar if (args["first"]) then for testChar in mw.ustring.gmatch(args["first"], "%a+") do if (testChar == "t") then t1 = true end if (testChar == "j") then j1 = true end end end if (t1 == false) then local title = mw.title.getCurrentTitle() t1 = t1st[title.text] == true end -- based on setting/preference specify order local orderlist = {"c", "s", "t", "p", "tp", "w", "j", "cy", "sl", "poj", "zhu", "l"} if (t1) then orderlist[2] = "t" orderlist[3] = "s" end if (j1) then orderlist[4] = "j" orderlist[5] = "cy" orderlist[6] = "sl" orderlist[7] = "p" orderlist[8] = "tp" orderlist[9] = "w" end -- rename rules. Rules to change parameters and labels based on other parameters if args["hp"] then -- hp an alias for p ([hanyu] pinyin) args["p"] = args["hp"] end if args["tp"] then -- if also Tongyu pinyin use full name for Hanyu pinyin labels["p"] = "Hanyu Pinyin" end if (args["s"] and args["s"] == args["t"]) then -- Treat simplified + traditional as Chinese if they're the same args["c"] = args["s"] args["s"] = nil args["t"] = nil elseif (not (args["s"] and args["t"])) then -- use short label if only one of simplified and traditional labels["s"] = labels["c"] labels["t"] = labels["c"] end local body = "" -- the output string local params -- for creating HTML spans local label -- the label, i.e. the bit preceeding the supplied text local val -- the supplied text -- go through all possible fields in loop, adding them to the output for i, part in ipairs(orderlist) do if (args[part]) then -- build label label = "" if (uselabels) then label = labels[part] if (capfirst) then label = mw.language.getContentLanguage():ucfirst(label) capfirst = false end if (uselinks and part ~= "l") then label = "[[" .. wlinks[part] .. "|" .. label .. "]]" end label = label .. "&#58; " end -- build value val = args[part] if (cats[part]) and mw.title.getCurrentTitle().namespace == 0 then -- if has associated category AND current page in article namespace, add category val = cats[part] .. val end if (ISOlang[part]) then -- add span for language if needed params = {["lang"] = ISOlang[part], ["xml:lang"] = ISOlang[part]} val = mw.text.tag({name="span",attrs=params, content=val}) elseif (part == "l") then -- put literals in quotes val = '"' .. val .. '"' end if (italic[part]) then -- italicise val = "<i>" .. val .. "</i>" end if string.match(val, "</?sup>") then val = val.."[[Category:Pages using template Zh with sup tags]]" end if (superscript[part]) then -- superscript val = val:gsub("(%d)", "<sup>%1</sup>"):gsub("(%d)</sup>%*<sup>(%d)", "%1*%2"):gsub("<sup><sup>([%d%*]+)</sup></sup>", "<sup>%1</sup>") end -- add both to body body = body .. label .. val .. "; " end end if (body > "") then -- check for empty string return string.sub(body, 1, -3) -- chop off final semicolon and space else --no named parameters; see if there's a first parameter, ignoring its name if (args[1]) then -- if there is treat it as Chinese label = "" if (uselabels) then label = labels["c"] if (uselinks) then label = "[[" .. wlinks["c"] .. "|" .. label .. "]]" end label = label .. "&#58; " end -- default to show links and labels as no options given if mw.title.getCurrentTitle().namespace == 0 then -- if current page in article namespace val = cats["c"] .. args[1] else val = args[1] end params = {["lang"] = ISOlang["c"], ["xml:lang"] = ISOlang["c"]} val = mw.text.tag({name="span",attrs=params, content=val}) return label .. val end return "" end end return p i7bj4tcfdrvcrmpp3tf85w7d7xw5dwl