Wikipedia kabwiki https://kab.wikipedia.org/wiki/Asebter_agejdan MediaWiki 1.47.0-wmf.7 first-letter Media Uslig Mmeslay Amseqdac Amyannan umsqedac Wikipedia Amyannan n Wikipedia Tugna Amyannan n tugna MediaWiki Amyannan n MediaWiki Talɣa Amyannan n talɣa Tallat Amyannan n tallat Taggayt Amyannan n taggayt Awwur Amyannan uwwur Asenfaṛ Amyannan usenfaṛ TimedText TimedText talk Module Discussion module Event Event talk Sujet Wikipedia 0 24 116704 116660 2026-06-23T08:34:53Z ButterflyOFF 8191 Aseɣti s war tafransist. 116704 wikitext text/x-wiki {{Databox}} '''Wikipedia''' d [[tasanayt]] n weskar uqqin, s waṭas n tutlayin ; ayen yella deg-s d ilelli, la ttarun deg-s imaɣzalen, ixeddemen am [[tiwizi]], tettall-itt [[Wikimedia Foundation]], d tuddsa [[non-profit]]. [[Tugna:Wikipedia-logo-v2.svg|thumb|150px|"Logo" n Wikipedia]] [[Tugna:Wikimedia-logo.svg|thumb|150px|"Logo" n [[Wikimedia Foundation]]]] Tura tiẓrigin ines s 250 [[tutlayt|tutlayin]] imeẓliyen i yellan (deg-sen 180 idderen, tin s [[teglizit]] d tameqqṛant). Ay bɣan wid i tt-ixelqen d asnulfu n tsanayt tagraɣlant tilellit, s waṭas n tutlayin n umaḍal. Wikipedia d yiwen seg 10 n yesmal medden ẓerren ugar deg uzeṭṭa (web).<ref>Aɣbalu : [http://www.alexa.com/site/ds/top_500?qterm= Alexa.com] {{Webarchive|url=https://web.archive.org/web/20090118183544/http://www.alexa.com/site/ds/top_500?qterm= |date=2009-01-18 }} ([http://www.alexa.com/data/details/traffic_details?q=&url=http://www.wikipedia.org rnu-yas] {{Webarchive|url=https://web.archive.org/web/20070429111846/http://www.alexa.com/data/details/traffic_details?q=&url=http://www.wikipedia.org |date=2007-04-29 }}) di 5 ibrir 2007.</ref> <references /> k23dnahbk0qlk9fvqxz6vpfdb17tau1 Tutlayt taqbaylit 0 34 116705 116689 2026-06-23T08:49:52Z ButterflyOFF 8191 /* Ilugan n tira n tutlayt taqbaylit [2] */ Aseɣti. 116705 wikitext text/x-wiki {{Infobox language | name = Taqbaylit | nativename = {{Audio|Kab-Taqbaylit.ogg|'''Taqbaylit'''}} | pronunciation = {{IPA|ber|θɐqβæjlɪθ||Kab-Taqbaylit.ogg}} | states = [[https://kab.wikipedia.org/wiki/Tamurt_n_Leqbayel Tamurt n Leqbayel|Tamurt n Yiqbayliyen]] [[Lezzayer]], [[Fṛansa]], [[Kanada]] | region = [[https://kab.wikipedia.org/wiki/Tamurt_n_Leqbayel Tamurt n Leqbvayel|Tamurt n Yiqbayliyen]] | ethnicity = [[Leqbayel|Iqbayliyen]] | speakers = 12 n yimelyan | date = 2024 | ref = e21 | familycolor = Afro-Asiatic | fam2 = [[Tutlayin tifrusyawiyin n ugafa|Tutlayin tifrusyawiyin n ugafa]] :*[[Tutlayin Proto tisamiyin|Tutlayin Proto tisamiyin]] ::*[[Tutlayin timaziɣin|Tamaziɣt]] | fam3 = [[Tamaziɣt n ugafa|Timaziɣin n ufella]] | iso2 = kab | iso3 = kab | glotto = kaby1243 | glottorefname = Kabyle | script = [[Agemmay Amaziɣ Alatin|Agemmay Alatini]] <ref>{{cite web|url=http://www.radioalgerie.dz/news/fr/article/20180109/130683.html|title=Nouria Benghabrit : l'enseignement de Tamazight sera élargi à 10 autres wilayas et bénéficiera de 300 nouveaux postes budgétaires|website=Rafio Algérienne|quote=la graphie Tifinagh pour le Targui, Latine pour la Kabylie et Arabe pour le M’Zab et les Aurès}}</ref> | map = Kabyle_language_percent_speakers.png | mapcaption = Afmiḍi n wid i yettemmeslayen taqbaylit | notice = IPA }} '''Taqbaylit''' ''(tettwasusru-d {{MSAPI|θæqβæjliθ}})'' d [[tutlayt]] i t-mmeslayen [[Leqbayel|Yiqbayliyen]] n Tmurt n [[Iqbayliyen|Yiqbayliyen]], n [[Lezzayer]], n [[Fransa|Fṛansa]], n [[Kanada]] akked wid n tmura-nniḍen n umaḍal. Tutlayt taqbaylit tettekki ɣer [[Adrum asnilsan|udrum asnilsan]] i wumi qqaṛen ''zik n zik-nni'' [[Tabiṛbiṛt]] ; ''tuɣal'' [[Tamaziɣt]] ; ''tura sawalen-asent'' [[Tutlayin timaziɣin|Tutlayin Timaziɣin]]. ''Tawacult tutlayant Tamaziɣt'', tettekki ɣer twacult tameqqṛant [[Tutlayin tifrusyawiyin|Tafrasyawit.]] == Amezruy n wayen i yuran s teqbaylit == Adlis amenzu i d-yeffɣen s Teqbaylit d win yura [[Adolphe Hanoteau]] ɣef tuɣac n [[Ǧerǧer]] deg useggas n 1867, deffir-is d [[Auguste Mouliéras]] yuran sin n [[adlis|yidlisen]] ɣef [[tamacahut|tmucuha]] n Tmurt n Yiqbayliyen gar n [[aseggas|yiseggasen]] n 1891, 1893 d 1895, akked [[Ɛmer u Saɛid Bulifa|Bulifa]] i yuran adlis ɣef yisefra n [[Si Muḥend u Mḥend]] deg useggas n 1904. Imir-nni, uran [[Ifransiwen|Yifṛansisen]] kra n yidlisen ɣef tmucuha d yisefra n Yiqbayliyen. [[Ungal]] amenzu yettwarun s Teqbaylit d win yura [[Belɛid At Ɛli]] deg yiseggasen 1940. Adlis i as-yefkan ilugan iṛessan n tjeṛṛumt i teqbaylit d win yura [[Mulud Mɛemmri|Mulud n At Mɛemmeṛ]]. [[Kamal U Zerrad]] netta yerna-d ɣef umahil n Dda Lmulud i wakken ad d-iṛessi ugar ilugan n tjeṛṛumt n tutlayt-a. Iseggasen-a ineggura ffɣen-d azal n 400 n yidlisen s teqbaylit, gar ammuden n yisefra, tullisin akked ungalen. Taqbaylit asmi i d-kecmen Yifṛansisen ar tmura timaziɣin n [[Tafrikt en Ugafa|Tefriqt n ugafa]] tella tettwameslay deg yiwet n temnaḍt meqqṛen azal n snat n tikkal tamnaḍt n Yizwawen (Leqbayel) n wass-a. Seg tudrin i d-yezzin i [[Mila]], terreḍ ar tid n yidurar n [[Lḥuḍna]], idurar n [[Ṣṭif]], idurar n [[Jijel]], [[Msila]] d wezray ar Tmurt n Leqbayel n wass-a, [[At Wartilan]], [[At Yeɛla]], akked iderma n temnaḍt n [[Bgayet]], n [[Tubiret|Tubirett]] akked wid n [[Tizi Wezzu]] d [[Bumerdas]]. [[File:Aires linguistiques du nord-est algérien.svg|thumb|Asideg n tutlayt taqbaylit d tutlayt [[tacawit]] deg usammar n [[Zzayer|Lezzayer]]]] Imir Ifṛansisen ttekkan ɣef lquyyad akked ibacaɣaten akken ad qehren agdud. Kksen akal i wid yellan zedɣen anda yella wakal yelhan i tyerza, kra snegren-t, kra snejlan-t. Fkan akal-nni i Lqeyyad. Lqeyyad-agi akked ibacaɣaten d wid yeɣran [[Tutlayt taɛrabt|taɛṛabt]], Ifṛansiwen llan lemden [[taɛrabt]] akken ad ttemyarun d lqeyyad-a, imezdaɣ yeqqimen d aklan deg tmurt-nsen yeqqim-asen-d kan ad ḍefren almi i d-ufan iman-nsen ttun tutlayt-nsen, akken i asen-iṛuḥ wakal-nsen, ǧǧan iman-nsen tuɣ fell-asen taɛṛabt am akken werǧin mmeslayen-d taqbaylit. Ihi akka i teqqurmeḍ tjumma anda tettwameslay teqbaylit ass-a. I izemren ad t-iḥudden ɣef ungar d tira akked tayri d wazal ad as-d-fken warraw-is. Ma tenger teqbaylit ad d-negren Yiqbayliyen, ad d-qqimen imdanen war idles, ad asen-teḍru am tebrikt yettun tikli n tyaziḍt, tin n tsekkurt ur as-tewwiḍ ara. Ttbut ɣef aya, ad d-iɣer kan yiwen amek d-gran wid akken yettun tutlayt-nsen uɣen tutlayt nniḍen anda yewweḍ wazal-nsen. Win i d-yusan ad ten-yenher am ulli. == Agemmay unṣib n tutlayt taqbaylit<ref>Kamel Bouamara, Brahim Hamek, M.A Mahrouche, Z. Meksem, A. Rabehi, Mustapha Tidjet (2009), ''Ilugan n tira n tmaziɣt - Manuel de notation de tamazight, pp.17-18,'' Ed. iman-nneɣ. (ISBN : 9947-819- 07-8)</ref> == Isekkilen n ugemmay swayes i nella nettaru taqbaylit, d wid n tlatinit, anagar sin-a : '''ɣ''' d '''ε''', i d-yekkan seg tegrigit. Isekkilen yettawin aɛeqqa ddaw-nsen, nettaru yes-sen imesla ufayen, anagar '''ḥ'''. Isekkilen yettawin akafu nnig-nsen, nettaru yes-sen izegnaggaɣen imezgiyen n '''c''' d '''j'''. Isekkilen '''''[o], [p], [b],''''' nettaru yes-sen imesla yezgan deg wawalen imnekcamen n umalu, imesla ur nelli deg unagraw asnilsan n teqbaylit. Asekkil '''u''', azal-is d win n tuget n tutlayin n umalu ('''ou''' deg tefransist). Agemmay atrar n tutlayt taqbaylit yesɛa '''36''' d asekkil : {| class="wikitable" |+Isekkilen imeqqṛanen d yisekkilen imeẓẓyanen n ugemmay unṣib n tutlayt taqbaylit !A !B !C !Č !D !Ḍ !E !F !G !Ǧ !H !Ḥ !I !J !K !L !M !N !O !P !Q !R !Ṛ !S !Ṣ !T !Ṭ !U !V !W !X !Y !Z !Ẓ !Ɛ !Ɣ |- !a !b !c !č !d !ḍ !e !f !g !ǧ !h !ḥ !i !j !k !l !m !n !o !p !q !r !ṛ !s !ṣ !t !ṭ !u !v !w !x !y !z !ẓ !ɛ !ɣ |} == Ilugan n tira n tutlayt taqbaylit <ref>Kamel Bouamara, Brahim Hamek, M.A Mahrouche, Z. Meksem, A. Rabehi, Mustapha Tidjet (2009), ''Ilugan n tira n tmaziɣt - Manuel de notation de tamazight, pp.19'' Ed. iman-nneɣ. (ISBN : 9947-819- 07-8)</ref> == === '''Alug amezwaru :''' === Yal imesli (ṣṣut) nettaru-t s yiwen n usekkil, d aḥerfi neɣ d ussid ; anda yebɣu yili deg wawal, talɣa-s yiwet : * Ama deg tazwara n wawal : '''yezwar, zwir.''' * Ama deg tlemmast-is : '''tayri, Lezzayer'''. * Ama ɣer taggara n wawal : '''aggay, argaz.''' === '''Alug wis sin :''' === Imesli ussid yettwaray s usiknew n usekkil : tame'''ṭṭ'''ut, tame'''dd'''urt, taze'''mm'''urt, ye'''ṛṛ'''eẓ, ize'''gg'''er, '''dd'''u , '''kk'''er, atg. Llant snat n taggayin n tussda : tin n '''tnumi''' d tin n '''tjeṛṛumt :''' '''Tussda n tnumi :''' Tussda deg wawal, nettaru-tt akken i nuɣ tannumi nsell-as. Maca tannumi-a temxallaf seg tama ɣer tayeḍ, seg taddart ɣer tayeḍ, tikwal seg umdan ɣer wayeḍ. Tifrat n wugur-a : d asegzawal ara aɣ-d-yemlen anda tella, d wanda ur telli tussda. Tussda-a, tella deg : * '''Ismawen''' : tile'''ll'''i, u'''zz'''al, u'''ff'''al, '''dd'''eqs, atg. ''Deg yismawen i d-yekkan seg taεrabt, wid ibeddun s yisekkilen n yiṭij, deg tmaziɣt, asekkil amezwaru yezga d ussid'' : '''ss'''if, '''ṭṭ'''bel, '''zz'''it, '''ṭṭ'''ir, '''ṭṭ'''bib, '''nn'''if, '''rr'''if, '''nn'''efs, atg. * Imyagen yesɛan yiwet n tergalt – war tiɣri) : e'''kk''', e'''rr''', e'''ǧǧ''', atg. – ''d teɣri'' : '''zz'''i, '''dd'''u, '''ss'''u, atg. ''+ ilan(isɛan) snat (neɣ ugar) n tergalin'' – ''war tiɣri'' : '''cc'''eḍ, '''cc'''ef, '''dd'''em, '''dd'''er, '''ff'''er, '''kk'''er, '''kk'''es, de'''gg'''er, '''qq'''eṛs, '''ṭṭ'''erḍeq, atg. ''– d yiwet n teɣri'' : '''gg'''al, se'''qq'''i, a'''zz'''el, mle'''ll'''i, atg. ''– d snat n teɣra'' : '''dd'''uri, i'''ss'''in, '''gg'''uni, atg. ''Ẓer:'' ''daɣen [[Tifinaɣ]],'' [[Asekkil n Tamaziɣt taqburt|''Asekkil n Tamaziɣt taqburt'']], ''d [[Tutlayt tanumidt|Tutlayt n Numidya/Tanumidt]]'' ==Tansiwin Web== *http://www.imyura.net {{Webarchive|url=https://web.archive.org/web/20130812220445/http://www.imyura.net/ |date=2013-08-12 }} ==Umuɣ n yidlisen== * Si Amar ou Saïd Boulifa, ''Recueil de poésies kabyles. Texte zouaoua traduit, annoté et précédé d'une étude sur la femme kabyle et d'une notice sur le chant kabyle (airs de musique)'', Alger, 1904, 555 is. (taẓrigt tis 2 Alger-Paris, 1990, ISBN 2-906659-00-04) * Adolphe Hanoteau, ''Poésies Populaires de la Kabylie du Jurjura'', Paris, Imp. impériale, 1867 [http://gallica.bnf.fr/Catalogue/noticesInd/FRBNF30574685.htm (aḍris es pdf)] * Auguste Mouliéras, ''Les Fourberies de Si Djeh'a'', Wehran, Perrier, 1891 * Auguste Mouliéras, ''Légendes et contes merveilleux de la Grande Kabylie'', Paris 1893-1895 [http://gallica.bnf.fr/ark:/12148/bpt6k104520h (aḍris es pdf)] == Tiwelhiwin == {{refs}} {{Tamaziɣt}} [[Category:Tutlayin timaziɣin|Q]] p5qlkj0wqo7v4q4p9vdwx330cuadxpe Talɣa:MONTHNAME/test 10 4184 116695 37363 2026-06-23T08:21:33Z ButterflyOFF 8191 116695 wikitext text/x-wiki <includeonly>{{#ifeq: {{CURRENTMONTH}}{{CURRENTYEAR}}| {{MONTHISO|{{First word|{{PAGENAME}}}}}}{{Last word|{{PAGENAME}}}}| {{Multi bandeau|Catégorie temps|Catégorie années {{#expr:trunc({{Last word|{{PAGENAME}}}}/10)*10}}|Catégorie actualité}}| {{Catégorie années {{#expr:trunc({{Last word|{{PAGENAME}}}}/10)*10}}}} }} {{Méta bandeau de section | niveau = information | icône = loupe | texte = Autres catégories mensuelles proches : {{C'|{{ucfirst:{{First word|{{PAGENAME}}}}}} {{#expr:{{Last word|{{PAGENAME}}}}-1}}}}, {{C'|{{PREVIOUSMONTHNAME|{{First word|{{PAGENAME}}}}}} {{PREVIOUSMONTH.YEAR|{{MONTHISO|{{First word|{{PAGENAME}}}}}}|{{Last word|{{PAGENAME}}}}}}}}, {{C'|{{NEXTMONTHNAME|{{First word|{{PAGENAME}}}}}} {{NEXTMONTH.YEAR|{{MONTHISO|{{First word|{{PAGENAME}}}}}}|{{Last word|{{PAGENAME}}}}}}}} et {{C'|{{lcfirst:{{First word|{{PAGENAME}}}}}} {{#expr:{{Last word|{{PAGENAME}}}}+1}}}} }} {{Amagrad agejdan}} {{#if:{{{nocat|}}} | | [[Taggayt:{{First word|{{PAGENAME}}}} par année|{{Last word|{{PAGENAME}}}}]] [[Catégorie:Mois de {{Last word|{{PAGENAME}}}}| {{MONTHISO|{{First word|{{PAGENAME}}}}}}]] }} </includeonly><noinclude>{{Documentation}} </noinclude> akg0p0dg9xwubj2c9scjvi7cmgsc2vw Tasnimant 0 5692 116690 115692 2026-06-22T14:22:30Z ~2026-22643-79 16830 116690 wikitext text/x-wiki {{Databox}} '''Tasnimant''' d [[tussna]] izerrwen ɣef wamek ay tetteddu tkellit n wemdan d wuguren izemren ad t-yaɣen. Umusnaw neɣ amessuji n tesnimant isem-is amesniman. == Imniren == [[category:Tussna]] [[category:Tussniwin]] mkwyj1da1greh9yglw6k4agt1r0kz95 Module:Documentation/config 828 9589 116699 116527 2026-06-23T08:27:35Z ButterflyOFF 8191 116699 Scribunto text/plain ---------------------------------------------------------------------------------------------------- -- -- Configuration for Module:Documentation -- -- Here you can set the values of the parameters and messages used in Module:Documentation to -- localise it to your wiki and your language. Unless specified otherwise, values given here -- should be string values. ---------------------------------------------------------------------------------------------------- local cfg = {} -- Do not edit this line. ---------------------------------------------------------------------------------------------------- -- Protection template configuration ---------------------------------------------------------------------------------------------------- -- cfg['protection-reason-edit'] -- The protection reason for edit-protected templates to pass to -- [[Module:Protection banner]]. cfg['protection-reason-edit'] = 'template' --[[ ---------------------------------------------------------------------------------------------------- -- Sandbox notice configuration -- -- On sandbox pages the module can display a template notifying users that the current page is a -- sandbox, and the location of test cases pages, etc. The module decides whether the page is a -- sandbox or not based on the value of cfg['sandbox-subpage']. The following settings configure the -- messages that the notices contains. ---------------------------------------------------------------------------------------------------- --]] -- cfg['sandbox-notice-image'] -- The image displayed in the sandbox notice. cfg['sandbox-notice-image'] = '[[File:Edit In Sandbox Icon - Color.svg|50px|alt=|link=]]' --[[ -- cfg['sandbox-notice-pagetype-template'] -- cfg['sandbox-notice-pagetype-module'] -- cfg['sandbox-notice-pagetype-other'] -- The page type of the sandbox page. The message that is displayed depends on the current subject -- namespace. This message is used in either cfg['sandbox-notice-blurb'] or -- cfg['sandbox-notice-diff-blurb']. --]] cfg['sandbox-notice-pagetype-template'] = '[[Wikipedia:Template test cases|template sandbox]] page' cfg['sandbox-notice-pagetype-module'] = '[[Wikipedia:Template test cases|module sandbox]] page' cfg['sandbox-notice-pagetype-other'] = 'sandbox page' --[[ -- cfg['sandbox-notice-blurb'] -- cfg['sandbox-notice-diff-blurb'] -- cfg['sandbox-notice-diff-display'] -- Either cfg['sandbox-notice-blurb'] or cfg['sandbox-notice-diff-blurb'] is the opening sentence -- of the sandbox notice. The latter has a diff link, but the former does not. $1 is the page -- type, which is either cfg['sandbox-notice-pagetype-template'], -- cfg['sandbox-notice-pagetype-module'] or cfg['sandbox-notice-pagetype-other'] depending what -- namespace we are in. $2 is a link to the main template page, and $3 is a diff link between -- the sandbox and the main template. The display value of the diff link is set by -- cfg['sandbox-notice-compare-link-display']. --]] cfg['sandbox-notice-blurb'] = 'This is the $1 for $2.' cfg['sandbox-notice-diff-blurb'] = 'This is the $1 for $2 ($3).' cfg['sandbox-notice-compare-link-display'] = 'diff' --[[ -- cfg['sandbox-notice-testcases-blurb'] -- cfg['sandbox-notice-testcases-link-display'] -- cfg['sandbox-notice-testcases-run-blurb'] -- cfg['sandbox-notice-testcases-run-link-display'] -- cfg['sandbox-notice-testcases-blurb'] is a sentence notifying the user that there is a test cases page -- corresponding to this sandbox that they can edit. $1 is a link to the test cases page. -- cfg['sandbox-notice-testcases-link-display'] is the display value for that link. -- cfg['sandbox-notice-testcases-run-blurb'] is a sentence notifying the user that there is a test cases page -- corresponding to this sandbox that they can edit, along with a link to run it. $1 is a link to the test -- cases page, and $2 is a link to the page to run it. -- cfg['sandbox-notice-testcases-run-link-display'] is the display value for the link to run the test -- cases. --]] cfg['sandbox-notice-testcases-blurb'] = 'See also the companion subpage for $1.' cfg['sandbox-notice-testcases-link-display'] = 'test cases' cfg['sandbox-notice-testcases-run-blurb'] = 'See also the companion subpage for $1 ($2).' cfg['sandbox-notice-testcases-run-link-display'] = 'run' -- cfg['sandbox-category'] - A category to add to all template sandboxes. -- cfg['module-sandbox-category'] - A category to add to all module sandboxes. -- cfg['module-sandbox-category'] - A category to add to all sandboxe not in templates or modules. cfg['sandbox-category'] = 'Template sandboxes' cfg['module-sandbox-category'] = 'Module sandboxes' cfg['other-sandbox-category'] = 'Sandboxes outside of template or module namespace' ---------------------------------------------------------------------------------------------------- -- Start box configuration ---------------------------------------------------------------------------------------------------- -- cfg['documentation-icon-wikitext'] -- The wikitext for the icon shown at the top of the template. cfg['documentation-icon-wikitext'] = '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]' -- cfg['template-namespace-heading'] -- The heading shown in the template namespace. cfg['template-namespace-heading'] = 'Template documentation' -- cfg['module-namespace-heading'] -- The heading shown in the module namespace. cfg['module-namespace-heading'] = 'Module documentation' -- cfg['file-namespace-heading'] -- The heading shown in the file namespace. cfg['file-namespace-heading'] = 'Summary' -- cfg['other-namespaces-heading'] -- The heading shown in other namespaces. cfg['other-namespaces-heading'] = 'Documentation' -- cfg['view-link-display'] -- The text to display for "view" links. cfg['view-link-display'] = 'view' -- cfg['edit-link-display'] -- The text to display for "edit" links. cfg['edit-link-display'] = 'edit' -- cfg['history-link-display'] -- The text to display for "history" links. cfg['history-link-display'] = 'history' -- cfg['purge-link-display'] -- The text to display for "purge" links. cfg['purge-link-display'] = 'purge' -- cfg['create-link-display'] -- The text to display for "create" links. cfg['create-link-display'] = 'create' ---------------------------------------------------------------------------------------------------- -- Link box (end box) configuration ---------------------------------------------------------------------------------------------------- -- cfg['transcluded-from-blurb'] -- Notice displayed when the docs are transcluded from another page. $1 is a wikilink to that page. cfg['transcluded-from-blurb'] = 'The above [[Wikipedia:Template documentation|documentation]] is [[Help:Transclusion|transcluded]] from $1.' --[[ -- cfg['create-module-doc-blurb'] -- Notice displayed in the module namespace when the documentation subpage does not exist. -- $1 is a link to create the documentation page with the preload cfg['module-preload'] and the -- display cfg['create-link-display']. --]] cfg['create-module-doc-blurb'] = 'You might want to $1 a documentation page for this [[Wikipedia:Lua|Scribunto module]].' ---------------------------------------------------------------------------------------------------- -- Experiment blurb configuration ---------------------------------------------------------------------------------------------------- --[[ -- cfg['experiment-blurb-template'] -- cfg['experiment-blurb-module'] -- The experiment blurb is the text inviting editors to experiment in sandbox and test cases pages. -- It is only shown in the template and module namespaces. With the default English settings, it -- might look like this: -- -- Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. -- -- In this example, "sandbox", "edit", "diff", "testcases", and "edit" would all be links. -- -- There are two versions, cfg['experiment-blurb-template'] and cfg['experiment-blurb-module'], depending -- on what namespace we are in. -- -- Parameters: -- -- $1 is a link to the sandbox page. If the sandbox exists, it is in the following format: -- -- cfg['sandbox-link-display'] (cfg['sandbox-edit-link-display'] | cfg['compare-link-display']) -- -- If the sandbox doesn't exist, it is in the format: -- -- cfg['sandbox-link-display'] (cfg['sandbox-create-link-display'] | cfg['mirror-link-display']) -- -- The link for cfg['sandbox-create-link-display'] link preloads the page with cfg['template-sandbox-preload'] -- or cfg['module-sandbox-preload'], depending on the current namespace. The link for cfg['mirror-link-display'] -- loads a default edit summary of cfg['mirror-edit-summary']. -- -- $2 is a link to the test cases page. If the test cases page exists, it is in the following format: -- -- cfg['testcases-link-display'] (cfg['testcases-edit-link-display'] | cfg['testcases-run-link-display']) -- -- If the test cases page doesn't exist, it is in the format: -- -- cfg['testcases-link-display'] (cfg['testcases-create-link-display']) -- -- If the test cases page doesn't exist, the link for cfg['testcases-create-link-display'] preloads the -- page with cfg['template-testcases-preload'] or cfg['module-testcases-preload'], depending on the current -- namespace. --]] cfg['experiment-blurb-template'] = "Editors can experiment in this template's $1 and $2 pages." cfg['experiment-blurb-module'] = "Editors can experiment in this module's $1 and $2 pages." ---------------------------------------------------------------------------------------------------- -- Sandbox link configuration ---------------------------------------------------------------------------------------------------- -- cfg['sandbox-subpage'] -- The name of the template subpage typically used for sandboxes. cfg['sandbox-subpage'] = 'sandbox' -- cfg['template-sandbox-preload'] -- Preload file for template sandbox pages. cfg['template-sandbox-preload'] = 'Template:Documentation/preload-sandbox' -- cfg['module-sandbox-preload'] -- Preload file for Lua module sandbox pages. cfg['module-sandbox-preload'] = 'Template:Documentation/preload-module-sandbox' -- cfg['sandbox-link-display'] -- The text to display for "sandbox" links. cfg['sandbox-link-display'] = 'sandbox' -- cfg['sandbox-edit-link-display'] -- The text to display for sandbox "edit" links. cfg['sandbox-edit-link-display'] = 'edit' -- cfg['sandbox-create-link-display'] -- The text to display for sandbox "create" links. cfg['sandbox-create-link-display'] = 'create' -- cfg['compare-link-display'] -- The text to display for "compare" links. cfg['compare-link-display'] = 'diff' -- cfg['mirror-edit-summary'] -- The default edit summary to use when a user clicks the "mirror" link. $1 is a wikilink to the -- template page. cfg['mirror-edit-summary'] = 'Create sandbox version of $1' -- cfg['mirror-link-display'] -- The text to display for "mirror" links. cfg['mirror-link-display'] = 'mirror' -- cfg['mirror-link-preload'] -- The page to preload when a user clicks the "mirror" link. cfg['mirror-link-preload'] = 'Template:Documentation/mirror' ---------------------------------------------------------------------------------------------------- -- Test cases link configuration ---------------------------------------------------------------------------------------------------- -- cfg['testcases-subpage'] -- The name of the template subpage typically used for test cases. cfg['testcases-subpage'] = 'testcases' -- cfg['template-testcases-preload'] -- Preload file for template test cases pages. cfg['template-testcases-preload'] = 'Template:Documentation/preload-testcases' -- cfg['module-testcases-preload'] -- Preload file for Lua module test cases pages. cfg['module-testcases-preload'] = 'Template:Documentation/preload-module-testcases' -- cfg['testcases-link-display'] -- The text to display for "testcases" links. cfg['testcases-link-display'] = 'testcases' -- cfg['testcases-edit-link-display'] -- The text to display for test cases "edit" links. cfg['testcases-edit-link-display'] = 'edit' -- cfg['testcases-run-link-display'] -- The text to display for test cases "run" links. cfg['testcases-run-link-display'] = 'run' -- cfg['testcases-create-link-display'] -- The text to display for test cases "create" links. cfg['testcases-create-link-display'] = 'create' ---------------------------------------------------------------------------------------------------- -- Add categories blurb configuration ---------------------------------------------------------------------------------------------------- --[[ -- cfg['add-categories-blurb'] -- Text to direct users to add categories to the /doc subpage. Not used if the "content" or -- "docname fed" arguments are set, as then it is not clear where to add the categories. $1 is a -- link to the /doc subpage with a display value of cfg['doc-link-display']. --]] cfg['add-categories-blurb'] = 'Add categories to the $1 subpage.' -- cfg['doc-link-display'] -- The text to display when linking to the /doc subpage. cfg['doc-link-display'] = '/doc' ---------------------------------------------------------------------------------------------------- -- Subpages link configuration ---------------------------------------------------------------------------------------------------- --[[ -- cfg['subpages-blurb'] -- The "Subpages of this template" blurb. $1 is a link to the main template's subpages with a -- display value of cfg['subpages-link-display']. In the English version this blurb is simply -- the link followed by a period, and the link display provides the actual text. --]] cfg['subpages-blurb'] = '$1.' --[[ -- cfg['subpages-link-display'] -- The text to display for the "subpages of this page" link. $1 is cfg['template-pagetype'], -- cfg['module-pagetype'] or cfg['default-pagetype'], depending on whether the current page is in -- the template namespace, the module namespace, or another namespace. --]] cfg['subpages-link-display'] = 'Subpages of this $1' -- cfg['template-pagetype'] -- The pagetype to display for template pages. cfg['template-pagetype'] = 'template' -- cfg['module-pagetype'] -- The pagetype to display for Lua module pages. cfg['module-pagetype'] = 'module' -- cfg['default-pagetype'] -- The pagetype to display for pages other than templates or Lua modules. cfg['default-pagetype'] = 'page' ---------------------------------------------------------------------------------------------------- -- Doc link configuration ---------------------------------------------------------------------------------------------------- -- cfg['doc-subpage'] -- The name of the subpage typically used for documentation pages. cfg['doc-subpage'] = 'doc' -- cfg['docpage-preload'] -- Preload file for template documentation pages in all namespaces. cfg['docpage-preload'] = 'Template:Documentation/preload' -- cfg['module-preload'] -- Preload file for Lua module documentation pages. cfg['module-preload'] = 'Template:Documentation/preload-module-doc' ---------------------------------------------------------------------------------------------------- -- HTML and CSS configuration ---------------------------------------------------------------------------------------------------- -- cfg['templatestyles'] -- The name of the TemplateStyles page where CSS is kept. -- Sandbox CSS will be at Module:Documentation/sandbox/styles.css when needed. cfg['templatestyles'] = 'Module:Documentation/styles.css' -- cfg['container'] -- Class which can be used to set flex or grid CSS on the -- two child divs documentation and documentation-metadata cfg['container'] = 'documentation-container' -- cfg['main-div-classes'] -- Classes added to the main HTML "div" tag. cfg['main-div-classes'] = 'documentation' -- cfg['main-div-heading-class'] -- Class for the main heading for templates and modules and assoc. talk spaces cfg['main-div-heading-class'] = 'documentation-heading' -- cfg['start-box-class'] -- Class for the start box cfg['start-box-class'] = 'documentation-startbox' -- cfg['start-box-link-classes'] -- Classes used for the [view][edit][history] or [create] links in the start box. -- mw-editsection-like is per [[Wikipedia:Village pump (technical)/Archive 117]] cfg['start-box-link-classes'] = 'mw-editsection-like plainlinks' -- cfg['end-box-class'] -- Class for the end box. cfg['end-box-class'] = 'documentation-metadata' -- cfg['end-box-plainlinks'] -- Plainlinks cfg['end-box-plainlinks'] = 'plainlinks' -- cfg['toolbar-class'] -- Class added for toolbar links. cfg['toolbar-class'] = 'documentation-toolbar' -- cfg['clear'] -- Just used to clear things. cfg['clear'] = 'documentation-clear' ---------------------------------------------------------------------------------------------------- -- Tracking category configuration ---------------------------------------------------------------------------------------------------- -- cfg['display-strange-usage-category'] -- Set to true to enable output of cfg['strange-usage-category'] if the module is used on a /doc subpage -- or a /testcases subpage. This should be a boolean value (either true or false). cfg['display-strange-usage-category'] = true -- cfg['strange-usage-category'] -- Category to output if cfg['display-strange-usage-category'] is set to true and the module is used on a -- /doc subpage or a /testcases subpage. cfg['strange-usage-category'] = 'Wikipedia pages with strange ((documentation)) usage' --[[ ---------------------------------------------------------------------------------------------------- -- End configuration -- -- Don't edit anything below this line. ---------------------------------------------------------------------------------------------------- --]] return cfg 2z4v6f5nkabra0nulgb7sxch1cktfsn Module:Documentation 828 11770 116696 110287 2026-06-23T08:24:28Z ButterflyOFF 8191 116696 Scribunto text/plain -- This module implements {{documentation}}. -- Get required modules. local getArgs = require('Module:Arguments').getArgs -- Get the config table. local cfg = mw.loadData('Module:Documentation/config') local p = {} -- Often-used functions. local ugsub = mw.ustring.gsub local format = mw.ustring.format ---------------------------------------------------------------------------- -- Helper functions -- -- These are defined as local functions, but are made available in the p -- table for testing purposes. ---------------------------------------------------------------------------- local function message(cfgKey, valArray, expectType) --[[ -- Gets a message from the cfg table and formats it if appropriate. -- The function raises an error if the value from the cfg table is not -- of the type expectType. The default type for expectType is 'string'. -- If the table valArray is present, strings such as $1, $2 etc. in the -- message are substituted with values from the table keys [1], [2] etc. -- For example, if the message "foo-message" had the value 'Foo $2 bar $1.', -- message('foo-message', {'baz', 'qux'}) would return "Foo qux bar baz." --]] local msg = cfg[cfgKey] expectType = expectType or 'string' if type(msg) ~= expectType then error('message: type error in message cfg.' .. cfgKey .. ' (' .. expectType .. ' expected, got ' .. type(msg) .. ')', 2) end if not valArray then return msg end local function getMessageVal(match) match = tonumber(match) return valArray[match] or error('message: no value found for key $' .. match .. ' in message cfg.' .. cfgKey, 4) end return ugsub(msg, '$([1-9][0-9]*)', getMessageVal) end p.message = message local function makeWikilink(page, display) if display then return format('[[%s|%s]]', page, display) else return format('[[%s]]', page) end end p.makeWikilink = makeWikilink local function makeCategoryLink(cat, sort) local catns = mw.site.namespaces[14].name return makeWikilink(catns .. ':' .. cat, sort) end p.makeCategoryLink = makeCategoryLink local function makeUrlLink(url, display) return format('[%s %s]', url, display) end p.makeUrlLink = makeUrlLink local function makeToolbar(...) local ret = {} local lim = select('#', ...) if lim < 1 then return nil end for i = 1, lim do ret[#ret + 1] = select(i, ...) end -- 'documentation-toolbar' return format( '<span class="%s">(%s)</span>', message('toolbar-class'), table.concat(ret, ' &#124; ') ) end p.makeToolbar = makeToolbar ---------------------------------------------------------------------------- -- Argument processing ---------------------------------------------------------------------------- local function makeInvokeFunc(funcName) return function (frame) local args = getArgs(frame, { valueFunc = function (key, value) if type(value) == 'string' then value = value:match('^%s*(.-)%s*$') -- Remove whitespace. if key == 'heading' or value ~= '' then return value else return nil end else return value end end }) return p[funcName](args) end end ---------------------------------------------------------------------------- -- Entry points ---------------------------------------------------------------------------- function p.nonexistent(frame) if mw.title.getCurrentTitle().subpageText == 'testcases' then return frame:expandTemplate{title = 'module test cases notice'} else return p.main(frame) end end p.main = makeInvokeFunc('_main') function p._main(args) --[[ -- This function defines logic flow for the module. -- @args - table of arguments passed by the user --]] local env = p.getEnvironment(args) local root = mw.html.create() root :wikitext(p._getModuleWikitext(args, env)) :wikitext(p.protectionTemplate(env)) :wikitext(p.sandboxNotice(args, env)) :tag('div') -- 'documentation-container' :addClass(message('container')) :attr('role', 'complementary') :attr('aria-labelledby', args.heading ~= '' and 'documentation-heading' or nil) :attr('aria-label', args.heading == '' and 'Documentation' or nil) :newline() :tag('div') -- 'documentation' :addClass(message('main-div-classes')) :newline() :wikitext(p._startBox(args, env)) :wikitext(p._content(args, env)) :tag('div') -- 'documentation-clear' :addClass(message('clear')) :done() :newline() :done() :wikitext(p._endBox(args, env)) :done() :wikitext(p.addTrackingCategories(env)) -- 'Module:Documentation/styles.css' return mw.getCurrentFrame():extensionTag ( 'templatestyles', '', {src=cfg['templatestyles'] }) .. tostring(root) end ---------------------------------------------------------------------------- -- Environment settings ---------------------------------------------------------------------------- function p.getEnvironment(args) --[[ -- Returns a table with information about the environment, including title -- objects and other namespace- or path-related data. -- @args - table of arguments passed by the user -- -- Title objects include: -- env.title - the page we are making documentation for (usually the current title) -- env.templateTitle - the template (or module, file, etc.) -- env.docTitle - the /doc subpage. -- env.sandboxTitle - the /sandbox subpage. -- env.testcasesTitle - the /testcases subpage. -- -- Data includes: -- env.protectionLevels - the protection levels table of the title object. -- env.subjectSpace - the number of the title's subject namespace. -- env.docSpace - the number of the namespace the title puts its documentation in. -- env.docpageBase - the text of the base page of the /doc, /sandbox and /testcases pages, with namespace. -- env.compareUrl - URL of the Special:ComparePages page comparing the sandbox with the template. -- -- All table lookups are passed through pcall so that errors are caught. If an error occurs, the value -- returned will be nil. --]] local env, envFuncs = {}, {} -- Set up the metatable. If triggered we call the corresponding function in the envFuncs table. The value -- returned by that function is memoized in the env table so that we don't call any of the functions -- more than once. (Nils won't be memoized.) setmetatable(env, { __index = function (t, key) local envFunc = envFuncs[key] if envFunc then local success, val = pcall(envFunc) if success then env[key] = val -- Memoise the value. return val end end return nil end }) function envFuncs.title() -- The title object for the current page, or a test page passed with args.page. local title local titleArg = args.page if titleArg then title = mw.title.new(titleArg) else title = mw.title.getCurrentTitle() end return title end function envFuncs.templateTitle() --[[ -- The template (or module, etc.) title object. -- Messages: -- 'sandbox-subpage' --> 'sandbox' -- 'testcases-subpage' --> 'testcases' --]] local subjectSpace = env.subjectSpace local title = env.title local subpage = title.subpageText if subpage == message('sandbox-subpage') or subpage == message('testcases-subpage') or (subpage == message('doc-subpage') and mw.title.getCurrentTitle().namespace == env.docSpace) then return mw.title.makeTitle(subjectSpace, title.baseText) else return mw.title.makeTitle(subjectSpace, title.text) end end function envFuncs.docTitle() --[[ -- Title object of the /doc subpage. -- Messages: -- 'doc-subpage' --> 'doc' --]] local title = env.title local docname = args[1] -- User-specified doc page. local docpage if docname then docpage = docname else docpage = env.docpageBase .. '/' .. message('doc-subpage') end return mw.title.new(docpage) end function envFuncs.sandboxTitle() --[[ -- Title object for the /sandbox subpage. -- Messages: -- 'sandbox-subpage' --> 'sandbox' --]] return mw.title.new(env.docpageBase .. '/' .. message('sandbox-subpage')) end function envFuncs.testcasesTitle() --[[ -- Title object for the /testcases subpage. -- Messages: -- 'testcases-subpage' --> 'testcases' --]] return mw.title.new(env.docpageBase .. '/' .. message('testcases-subpage')) end function envFuncs.protectionLevels() -- The protection levels table of the title object. return env.title.protectionLevels end function envFuncs.subjectSpace() -- The subject namespace number. return mw.site.namespaces[env.title.namespace].subject.id end function envFuncs.docSpace() -- The documentation namespace number. For most namespaces this is the -- same as the subject namespace. However, pages in the Article, File, -- MediaWiki or Category namespaces must have their /doc, /sandbox and -- /testcases pages in talk space. local subjectSpace = env.subjectSpace if subjectSpace == 0 or subjectSpace == 6 or subjectSpace == 8 or subjectSpace == 14 then return subjectSpace + 1 else return subjectSpace end end function envFuncs.docpageBase() -- The base page of the /doc, /sandbox, and /testcases subpages. -- For some namespaces this is the talk page, rather than the template page. local templateTitle = env.templateTitle local docSpace = env.docSpace local docSpaceText = mw.site.namespaces[docSpace].name -- Assemble the link. docSpace is never the main namespace, so we can hardcode the colon. return docSpaceText .. ':' .. templateTitle.text end function envFuncs.compareUrl() -- Diff link between the sandbox and the main template using [[Special:ComparePages]]. local templateTitle = env.templateTitle local sandboxTitle = env.sandboxTitle if templateTitle.exists and sandboxTitle.exists then local compareUrl = mw.uri.canonicalUrl( 'Special:ComparePages', { page1 = templateTitle.prefixedText, page2 = sandboxTitle.prefixedText} ) return tostring(compareUrl) else return nil end end return env end ---------------------------------------------------------------------------- -- Auxiliary templates ---------------------------------------------------------------------------- p.getModuleWikitext = makeInvokeFunc('_getModuleWikitext') function p._getModuleWikitext(args, env) local currentTitle = mw.title.getCurrentTitle() if currentTitle.contentModel ~= 'Scribunto' then return end pcall(require, currentTitle.prefixedText) -- if it fails, we don't care local moduleWikitext = package.loaded["Module:Module wikitext"] if moduleWikitext then return moduleWikitext.main() end end function p.sandboxNotice(args, env) --[=[ -- Generates a sandbox notice for display above sandbox pages. -- @args - a table of arguments passed by the user -- @env - environment table containing title objects, etc., generated with p.getEnvironment -- -- Messages: -- 'sandbox-notice-image' --> '[[File:Sandbox.svg|50px|alt=|link=]]' -- 'sandbox-notice-blurb' --> 'This is the $1 for $2.' -- 'sandbox-notice-diff-blurb' --> 'This is the $1 for $2 ($3).' -- 'sandbox-notice-pagetype-template' --> '[[Wikipedia:Template test cases|template sandbox]] page' -- 'sandbox-notice-pagetype-module' --> '[[Wikipedia:Template test cases|module sandbox]] page' -- 'sandbox-notice-pagetype-other' --> 'sandbox page' -- 'sandbox-notice-compare-link-display' --> 'diff' -- 'sandbox-notice-testcases-blurb' --> 'See also the companion subpage for $1.' -- 'sandbox-notice-testcases-link-display' --> 'test cases' -- 'sandbox-category' --> 'Template sandboxes' -- 'module-sandbox-category' --> 'Module sandboxes' -- 'other-sandbox-category' --> 'Sandboxes outside of template or module namespace' --]=] local title = env.title local sandboxTitle = env.sandboxTitle local templateTitle = env.templateTitle local subjectSpace = env.subjectSpace if not (subjectSpace and title and sandboxTitle and templateTitle and mw.title.equals(title, sandboxTitle)) then return nil end -- Build the table of arguments to pass to {{ombox}}. We need just two fields, "image" and "text". local omargs = {} omargs.image = message('sandbox-notice-image') -- Get the text. We start with the opening blurb, which is something like -- "This is the template sandbox for [[Template:Foo]] (diff)." local text = '__EXPECTUNUSEDTEMPLATE__' local pagetype, sandboxCat if subjectSpace == 10 then pagetype = message('sandbox-notice-pagetype-template') sandboxCat = message('sandbox-category') elseif subjectSpace == 828 then pagetype = message('sandbox-notice-pagetype-module') sandboxCat = message('module-sandbox-category') else pagetype = message('sandbox-notice-pagetype-other') sandboxCat = message('other-sandbox-category') end local templateLink = makeWikilink(templateTitle.prefixedText) local compareUrl = env.compareUrl if compareUrl then local compareDisplay = message('sandbox-notice-compare-link-display') local compareLink = makeUrlLink(compareUrl, compareDisplay) text = text .. message('sandbox-notice-diff-blurb', {pagetype, templateLink, compareLink}) else text = text .. message('sandbox-notice-blurb', {pagetype, templateLink}) end -- Get the test cases page blurb if the page exists. This is something like -- "See also the companion subpage for [[Template:Foo/testcases|test cases]]." local testcasesTitle = env.testcasesTitle if testcasesTitle and testcasesTitle.exists then if testcasesTitle.contentModel == "Scribunto" then local testcasesLinkDisplay = message('sandbox-notice-testcases-link-display') local testcasesRunLinkDisplay = message('sandbox-notice-testcases-run-link-display') local testcasesLink = makeWikilink(testcasesTitle.prefixedText, testcasesLinkDisplay) local testcasesRunLink = makeWikilink(testcasesTitle.talkPageTitle.prefixedText, testcasesRunLinkDisplay) text = text .. '<br />' .. message('sandbox-notice-testcases-run-blurb', {testcasesLink, testcasesRunLink}) else local testcasesLinkDisplay = message('sandbox-notice-testcases-link-display') local testcasesLink = makeWikilink(testcasesTitle.prefixedText, testcasesLinkDisplay) text = text .. '<br />' .. message('sandbox-notice-testcases-blurb', {testcasesLink}) end end -- Add the sandbox to the sandbox category. omargs.text = text .. makeCategoryLink(sandboxCat) -- 'documentation-clear' return '<div class="' .. message('clear') .. '"></div>' .. require('Module:Message box').main('ombox', omargs) end function p.protectionTemplate(env) -- Generates the padlock icon in the top right. -- @env - environment table containing title objects, etc., generated with p.getEnvironment -- Messages: -- 'protection-template' --> 'pp-template' -- 'protection-template-args' --> {docusage = 'yes'} local protectionLevels = env.protectionLevels if not protectionLevels then return nil end local editProt = protectionLevels.edit and protectionLevels.edit[1] local moveProt = protectionLevels.move and protectionLevels.move[1] if editProt then -- The page is edit-protected. return require('Module:Protection banner')._main{ message('protection-reason-edit'), small = true } elseif moveProt and moveProt ~= 'autoconfirmed' then -- The page is move-protected but not edit-protected. Exclude move -- protection with the level "autoconfirmed", as this is equivalent to -- no move protection at all. return require('Module:Protection banner')._main{ action = 'move', small = true } else return nil end end ---------------------------------------------------------------------------- -- Start box ---------------------------------------------------------------------------- p.startBox = makeInvokeFunc('_startBox') function p._startBox(args, env) --[[ -- This function generates the start box. -- @args - a table of arguments passed by the user -- @env - environment table containing title objects, etc., generated with p.getEnvironment -- -- The actual work is done by p.makeStartBoxLinksData and p.renderStartBoxLinks which make -- the [view] [edit] [history] [purge] links, and by p.makeStartBoxData and p.renderStartBox -- which generate the box HTML. --]] env = env or p.getEnvironment(args) local links local content = args.content if not content or args[1] then -- No need to include the links if the documentation is on the template page itself. local linksData = p.makeStartBoxLinksData(args, env) if linksData then links = p.renderStartBoxLinks(linksData) end end -- Generate the start box html. local data = p.makeStartBoxData(args, env, links) if data then return p.renderStartBox(data) else -- User specified no heading. return nil end end function p.makeStartBoxLinksData(args, env) --[[ -- Does initial processing of data to make the [view] [edit] [history] [purge] links. -- @args - a table of arguments passed by the user -- @env - environment table containing title objects, etc., generated with p.getEnvironment -- -- Messages: -- 'view-link-display' --> 'view' -- 'edit-link-display' --> 'edit' -- 'history-link-display' --> 'history' -- 'purge-link-display' --> 'purge' -- 'module-preload' --> 'Template:Documentation/preload-module-doc' -- 'docpage-preload' --> 'Template:Documentation/preload' -- 'create-link-display' --> 'create' --]] local subjectSpace = env.subjectSpace local title = env.title local docTitle = env.docTitle if not title or not docTitle then return nil end if docTitle.isRedirect then docTitle = docTitle.redirectTarget end -- Create link if /doc doesn't exist. local preload = args.preload if not preload then if subjectSpace == 828 then -- Module namespace preload = message('module-preload') else preload = message('docpage-preload') end end return { title = title, docTitle = docTitle, -- View, display, edit, and purge links if /doc exists. viewLinkDisplay = message('view-link-display'), editLinkDisplay = message('edit-link-display'), historyLinkDisplay = message('history-link-display'), purgeLinkDisplay = message('purge-link-display'), preload = preload, createLinkDisplay = message('create-link-display') } end function p.renderStartBoxLinks(data) --[[ -- Generates the [view][edit][history][purge] or [create][purge] links from the data table. -- @data - a table of data generated by p.makeStartBoxLinksData --]] local docTitle = data.docTitle -- yes, we do intend to purge the template page on which the documentation appears local purgeLink = makeWikilink("Special:Purge/" .. data.title.prefixedText, data.purgeLinkDisplay) if docTitle.exists then local viewLink = makeWikilink(docTitle.prefixedText, data.viewLinkDisplay) local editLink = makeWikilink("Special:EditPage/" .. docTitle.prefixedText, data.editLinkDisplay) local historyLink = makeWikilink("Special:PageHistory/" .. docTitle.prefixedText, data.historyLinkDisplay) return viewLink .. editLink .. historyLink .. purgeLink else local createLink = makeUrlLink(docTitle:canonicalUrl{action = 'edit', preload = data.preload}, data.createLinkDisplay) return createLink .. purgeLink end return ret end function p.makeStartBoxData(args, env, links) --[=[ -- Does initial processing of data to pass to the start-box render function, p.renderStartBox. -- @args - a table of arguments passed by the user -- @env - environment table containing title objects, etc., generated with p.getEnvironment -- @links - a string containing the [view][edit][history][purge] links - could be nil if there's an error. -- -- Messages: -- 'documentation-icon-wikitext' --> '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]' -- 'template-namespace-heading' --> 'Template documentation' -- 'module-namespace-heading' --> 'Module documentation' -- 'file-namespace-heading' --> 'Summary' -- 'other-namespaces-heading' --> 'Documentation' -- 'testcases-create-link-display' --> 'create' --]=] local subjectSpace = env.subjectSpace if not subjectSpace then -- Default to an "other namespaces" namespace, so that we get at least some output -- if an error occurs. subjectSpace = 2 end local data = {} -- Heading local heading = args.heading -- Blank values are not removed. if heading == '' then -- Don't display the start box if the heading arg is defined but blank. return nil end if heading then data.heading = heading elseif subjectSpace == 10 then -- Template namespace data.heading = message('documentation-icon-wikitext') .. ' ' .. message('template-namespace-heading') elseif subjectSpace == 828 then -- Module namespace data.heading = message('documentation-icon-wikitext') .. ' ' .. message('module-namespace-heading') elseif subjectSpace == 6 then -- File namespace data.heading = message('file-namespace-heading') else data.heading = message('other-namespaces-heading') end -- Heading CSS local headingStyle = args['heading-style'] if headingStyle then data.headingStyleText = headingStyle else -- 'documentation-heading' data.headingClass = message('main-div-heading-class') end -- Data for the [view][edit][history][purge] or [create] links. if links then -- 'mw-editsection-like plainlinks' data.linksClass = message('start-box-link-classes') data.links = links end return data end function p.renderStartBox(data) -- Renders the start box html. -- @data - a table of data generated by p.makeStartBoxData. local sbox = mw.html.create('div') sbox -- 'documentation-startbox' :addClass(message('start-box-class')) :newline() :tag('span') :addClass(data.headingClass) :attr('id', 'documentation-heading') :cssText(data.headingStyleText) :wikitext(data.heading) local links = data.links if links then sbox:tag('span') :addClass(data.linksClass) :attr('id', data.linksId) :wikitext(links) end return tostring(sbox) end ---------------------------------------------------------------------------- -- Documentation content ---------------------------------------------------------------------------- p.content = makeInvokeFunc('_content') function p._content(args, env) -- Displays the documentation contents -- @args - a table of arguments passed by the user -- @env - environment table containing title objects, etc., generated with p.getEnvironment env = env or p.getEnvironment(args) local docTitle = env.docTitle local content = args.content if not content and docTitle and docTitle.exists then content = args._content or mw.getCurrentFrame():expandTemplate{title = docTitle.prefixedText} end -- The line breaks below are necessary so that "=== Headings ===" at the start and end -- of docs are interpreted correctly. return '\n' .. (content or '') .. '\n' end p.contentTitle = makeInvokeFunc('_contentTitle') function p._contentTitle(args, env) env = env or p.getEnvironment(args) local docTitle = env.docTitle if not args.content and docTitle and docTitle.exists then return docTitle.prefixedText else return '' end end ---------------------------------------------------------------------------- -- End box ---------------------------------------------------------------------------- p.endBox = makeInvokeFunc('_endBox') function p._endBox(args, env) --[=[ -- This function generates the end box (also known as the link box). -- @args - a table of arguments passed by the user -- @env - environment table containing title objects, etc., generated with p.getEnvironment -- --]=] -- Get environment data. env = env or p.getEnvironment(args) local subjectSpace = env.subjectSpace local docTitle = env.docTitle if not subjectSpace or not docTitle then return nil end -- Check whether we should output the end box at all. Add the end -- box by default if the documentation exists or if we are in the -- user, module or template namespaces. local linkBox = args['link box'] if linkBox == 'off' or not ( docTitle.exists or subjectSpace == 2 or subjectSpace == 828 or subjectSpace == 10 ) then return nil end -- Assemble the link box. local text = '' if linkBox then text = text .. linkBox else text = text .. (p.makeDocPageBlurb(args, env) or '') -- "This documentation is transcluded from [[Foo]]." if subjectSpace == 2 or subjectSpace == 10 or subjectSpace == 828 then -- We are in the user, template or module namespaces. -- Add sandbox and testcases links. -- "Editors can experiment in this template's sandbox and testcases pages." text = text .. (p.makeExperimentBlurb(args, env) or '') .. '<br />' if not args.content and not args[1] then -- "Please add categories to the /doc subpage." -- Don't show this message with inline docs or with an explicitly specified doc page, -- as then it is unclear where to add the categories. text = text .. (p.makeCategoriesBlurb(args, env) or '') end text = text .. ' ' .. (p.makeSubpagesBlurb(args, env) or '') --"Subpages of this template" end end local box = mw.html.create('div') -- 'documentation-metadata' box:attr('role', 'note') :addClass(message('end-box-class')) -- 'plainlinks' :addClass(message('end-box-plainlinks')) :wikitext(text) :done() return '\n' .. tostring(box) end function p.makeDocPageBlurb(args, env) --[=[ -- Makes the blurb "This documentation is transcluded from [[Template:Foo]] (edit, history)". -- @args - a table of arguments passed by the user -- @env - environment table containing title objects, etc., generated with p.getEnvironment -- -- Messages: -- 'edit-link-display' --> 'edit' -- 'history-link-display' --> 'history' -- 'transcluded-from-blurb' --> -- 'The above [[Wikipedia:Template documentation|documentation]] -- is [[Help:Transclusion|transcluded]] from $1.' -- 'module-preload' --> 'Template:Documentation/preload-module-doc' -- 'create-link-display' --> 'create' -- 'create-module-doc-blurb' --> -- 'You might want to $1 a documentation page for this [[Wikipedia:Lua|Scribunto module]].' --]=] local docTitle = env.docTitle if not docTitle then return nil end if docTitle.exists then -- /doc exists; link to it. local docLink = makeWikilink(docTitle.prefixedText) local editDisplay = message('edit-link-display') local editLink = makeWikilink("Special:EditPage/" .. docTitle.prefixedText, editDisplay) local historyDisplay = message('history-link-display') local historyLink = makeWikilink("Special:PageHistory/" .. docTitle.prefixedText, historyDisplay) return message('transcluded-from-blurb', {docLink}) .. ' ' .. makeToolbar(editLink, historyLink) .. '<br />' elseif env.subjectSpace == 828 then -- /doc does not exist; ask to create it. local createUrl = docTitle:canonicalUrl{action = 'edit', preload = message('module-preload')} local createDisplay = message('create-link-display') local createLink = makeUrlLink(createUrl, createDisplay) return message('create-module-doc-blurb', {createLink}) .. '<br />' end end function p.makeExperimentBlurb(args, env) --[[ -- Renders the text "Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages." -- @args - a table of arguments passed by the user -- @env - environment table containing title objects, etc., generated with p.getEnvironment -- -- Messages: -- 'sandbox-link-display' --> 'sandbox' -- 'sandbox-edit-link-display' --> 'edit' -- 'compare-link-display' --> 'diff' -- 'module-sandbox-preload' --> 'Template:Documentation/preload-module-sandbox' -- 'template-sandbox-preload' --> 'Template:Documentation/preload-sandbox' -- 'sandbox-create-link-display' --> 'create' -- 'mirror-edit-summary' --> 'Create sandbox version of $1' -- 'mirror-link-display' --> 'mirror' -- 'mirror-link-preload' --> 'Template:Documentation/mirror' -- 'sandbox-link-display' --> 'sandbox' -- 'testcases-link-display' --> 'testcases' -- 'testcases-edit-link-display'--> 'edit' -- 'template-sandbox-preload' --> 'Template:Documentation/preload-sandbox' -- 'testcases-create-link-display' --> 'create' -- 'testcases-link-display' --> 'testcases' -- 'testcases-edit-link-display' --> 'edit' -- 'module-testcases-preload' --> 'Template:Documentation/preload-module-testcases' -- 'template-testcases-preload' --> 'Template:Documentation/preload-testcases' -- 'experiment-blurb-module' --> 'Editors can experiment in this module's $1 and $2 pages.' -- 'experiment-blurb-template' --> 'Editors can experiment in this template's $1 and $2 pages.' --]] local subjectSpace = env.subjectSpace local templateTitle = env.templateTitle local sandboxTitle = env.sandboxTitle local testcasesTitle = env.testcasesTitle local templatePage = templateTitle.prefixedText if not subjectSpace or not templateTitle or not sandboxTitle or not testcasesTitle then return nil end -- Make links. local sandboxLinks, testcasesLinks if sandboxTitle.exists then local sandboxPage = sandboxTitle.prefixedText local sandboxDisplay = message('sandbox-link-display') local sandboxLink = makeWikilink(sandboxPage, sandboxDisplay) local sandboxEditDisplay = message('sandbox-edit-link-display') local sandboxEditLink = makeWikilink("Special:EditPage/" .. sandboxPage, sandboxEditDisplay) local compareUrl = env.compareUrl local compareLink if compareUrl then local compareDisplay = message('compare-link-display') compareLink = makeUrlLink(compareUrl, compareDisplay) end sandboxLinks = sandboxLink .. ' ' .. makeToolbar(sandboxEditLink, compareLink) else local sandboxPreload if subjectSpace == 828 then sandboxPreload = message('module-sandbox-preload') else sandboxPreload = message('template-sandbox-preload') end local sandboxCreateUrl = sandboxTitle:canonicalUrl{action = 'edit', preload = sandboxPreload} local sandboxCreateDisplay = message('sandbox-create-link-display') local sandboxCreateLink = makeUrlLink(sandboxCreateUrl, sandboxCreateDisplay) local mirrorSummary = message('mirror-edit-summary', {makeWikilink(templatePage)}) local mirrorPreload = message('mirror-link-preload') local mirrorUrl = sandboxTitle:canonicalUrl{action = 'edit', preload = mirrorPreload, summary = mirrorSummary} if subjectSpace == 828 then mirrorUrl = sandboxTitle:canonicalUrl{action = 'edit', preload = templateTitle.prefixedText, summary = mirrorSummary} end local mirrorDisplay = message('mirror-link-display') local mirrorLink = makeUrlLink(mirrorUrl, mirrorDisplay) sandboxLinks = message('sandbox-link-display') .. ' ' .. makeToolbar(sandboxCreateLink, mirrorLink) end if testcasesTitle.exists then local testcasesPage = testcasesTitle.prefixedText local testcasesDisplay = message('testcases-link-display') local testcasesLink = makeWikilink(testcasesPage, testcasesDisplay) local testcasesEditUrl = testcasesTitle:canonicalUrl{action = 'edit'} local testcasesEditDisplay = message('testcases-edit-link-display') local testcasesEditLink = makeWikilink("Special:EditPage/" .. testcasesPage, testcasesEditDisplay) -- for Modules, add testcases run link if exists if testcasesTitle.contentModel == "Scribunto" and testcasesTitle.talkPageTitle and testcasesTitle.talkPageTitle.exists then local testcasesRunLinkDisplay = message('testcases-run-link-display') local testcasesRunLink = makeWikilink(testcasesTitle.talkPageTitle.prefixedText, testcasesRunLinkDisplay) testcasesLinks = testcasesLink .. ' ' .. makeToolbar(testcasesEditLink, testcasesRunLink) else testcasesLinks = testcasesLink .. ' ' .. makeToolbar(testcasesEditLink) end else local testcasesPreload if subjectSpace == 828 then testcasesPreload = message('module-testcases-preload') else testcasesPreload = message('template-testcases-preload') end local testcasesCreateUrl = testcasesTitle:canonicalUrl{action = 'edit', preload = testcasesPreload} local testcasesCreateDisplay = message('testcases-create-link-display') local testcasesCreateLink = makeUrlLink(testcasesCreateUrl, testcasesCreateDisplay) testcasesLinks = message('testcases-link-display') .. ' ' .. makeToolbar(testcasesCreateLink) end local messageName if subjectSpace == 828 then messageName = 'experiment-blurb-module' else messageName = 'experiment-blurb-template' end return message(messageName, {sandboxLinks, testcasesLinks}) end function p.makeCategoriesBlurb(args, env) --[[ -- Generates the text "Please add categories to the /doc subpage." -- @args - a table of arguments passed by the user -- @env - environment table containing title objects, etc., generated with p.getEnvironment -- Messages: -- 'doc-link-display' --> '/doc' -- 'add-categories-blurb' --> 'Please add categories to the $1 subpage.' --]] local docTitle = env.docTitle if not docTitle then return nil end local docPathLink = makeWikilink(docTitle.prefixedText, message('doc-link-display')) return message('add-categories-blurb', {docPathLink}) end function p.makeSubpagesBlurb(args, env) --[[ -- Generates the "Subpages of this template" link. -- @args - a table of arguments passed by the user -- @env - environment table containing title objects, etc., generated with p.getEnvironment -- Messages: -- 'template-pagetype' --> 'template' -- 'module-pagetype' --> 'module' -- 'default-pagetype' --> 'page' -- 'subpages-link-display' --> 'Subpages of this $1' --]] local subjectSpace = env.subjectSpace local templateTitle = env.templateTitle if not subjectSpace or not templateTitle then return nil end local pagetype if subjectSpace == 10 then pagetype = message('template-pagetype') elseif subjectSpace == 828 then pagetype = message('module-pagetype') else pagetype = message('default-pagetype') end local subpagesLink = makeWikilink( 'Special:PrefixIndex/' .. templateTitle.prefixedText .. '/', message('subpages-link-display', {pagetype}) ) return message('subpages-blurb', {subpagesLink}) end ---------------------------------------------------------------------------- -- Tracking categories ---------------------------------------------------------------------------- function p.addTrackingCategories(env) --[[ -- Check if {{documentation}} is transcluded on a /doc or /testcases page. -- @env - environment table containing title objects, etc., generated with p.getEnvironment -- Messages: -- 'display-strange-usage-category' --> true -- 'doc-subpage' --> 'doc' -- 'testcases-subpage' --> 'testcases' -- 'strange-usage-category' --> 'Wikipedia pages with strange ((documentation)) usage' -- -- /testcases pages in the module namespace are not categorised, as they may have -- {{documentation}} transcluded automatically. --]] local title = env.title local subjectSpace = env.subjectSpace if not title or not subjectSpace then return nil end local subpage = title.subpageText if message('display-strange-usage-category', nil, 'boolean') and ( subpage == message('doc-subpage') or subjectSpace ~= 828 and subpage == message('testcases-subpage') ) then return makeCategoryLink(message('strange-usage-category')) end return '' end return p bo74oekmmsj1xtpw7dlzkvkhc0k05g6 Tizumag n Maṣer Taqbut 0 25492 116691 116686 2026-06-22T16:57:02Z Gurzil90x 14292 seɣtiɣ kra n tucdiwin 116691 wikitext text/x-wiki [[Tugna:All Gizah Pyramids.jpg|vignette|Ameẓdu n tzamugin n Giza.]] '''Tizumag''' (asuf: tazamugt ) n Maṣer taqbut d yiwen seg yizamulen (azamul ) imeqqranen n tɣerma tamiẓrant. Bnant zik s wudem n yijaddaren (ajaddar ) neɣ n tqerrabin (taqerrabt ) akken ad gen daxel-nsent igelliden (agellid ) n Maṣer, i wumi qqaren Iferɛunen. Akud ameqqran n lebni-nsent yella-d deg tallit taqburt n umezruy n Maṣer, ladɣa gar tasuta tis 3 d tis 6. D asenfar ameqqran i d-yewwin aṭas n tmusniwin d tezmert n wemdan. == Tasegda d Tusnakt == Deg wayen yeɛnan tasegda d usali n tzumagin, Iferɛunen sseqdacen tussniwin lqayen, ladɣa deg taɣult n tusnakt d tanzeggit. * Tazamugt tebna ɣef uzadur (lsas) yesɛan talɣa n umkuẓ. * Ɣef yidisan, tesɛa ukuẓ n yikerdisen (akerdis) i d-yemlilin deg yiwet n tqacuct. * Tizumag tiqburin sɛant tasekta d ubleɣ ameqqran aṭas, i d-yessawden ad fkent tahuski i lebni-nsent. * Iferɛunen sbedden tizumag-nsen s twelha yettwaqesden ɣer tneqqiḍin tigejdayin (Agafa, Anẓul, Amalu, Agmuḍ) s tseddi tameqqrant. Tasegda d tusnakt deg lebni n tzumag n Maṣer taqbut ur llint ara d ayen i d-yusan s wudem agacuran, maca d agemmuḍ n tmusniwin lqayen i sɛan yimaṣriyen n tallit-nni. Iferɛunen sseqdacen tanzeggit d tusnakt s telqayt akken ad sbedden iẓekwan-a imeqqranen. Azadur n tzamugt yebna ɣef umkuẓ imnekdi, anda tiɣemmar-is d tid i d-yemcabahen s tseddi tamagdazt. Yal idis seg ukuẓ-nni yesɛa talɣa n ukerdis i d-yemlilin ɣer yiwet n tqacuct. Ayen issewhamen ugar d akken talɣut d wazalen n tzamugin-a, ladɣa tin n Xufu, mtawan aṭas ɣer wazalen isnakiyen imeqqranen. Imnadiyen n umezruy mazal ttqelliben deg yisemliyen iqburen akken ad fehmen ugar ɣef tarrayin s wacu d-wwin asiḍen-a(leḥsab-a), d wamek i ssawḍen ad sbedden idɣaɣen s yiwen n uktili ur nesɛi amgirred. Ɣef wayen yeɛnan tasegda n lebni s timmad-is, taẓayt n yidɣaɣen d wamek i ten-sbedden d ayen yessutren asiḍen ameqqran. Akken ad ssawḍen idɣaɣen-nni ẓayen aṭas ɣer tqacuct, sseqdacen tarrayin n tmekanikt yecban tamṣukt n urfad d yikarkaren s wacu i d-jebbden iḥedran n yidɣaɣen. Tizumag ur llint ara d lebni awḥid i d-yezzin i yiman-is kan deg tneẓruft, maca d aḥric seg unagraw ameqqran n tzeɣwa. Ɣer tama n tzamugt, leqmen-d yidgan nniḍen i yesɛan azal ameqqran, am ufakan anda i d-ttilin yisaragen d usideg n tẓallit i ugellid-nni i d-yemmuten. Afakan-a yesɛa tuqqna tusridt ɣer tzamugt, yettili d tasurift tagejdant deg walluy n rruḥ n uferɛun ɣer yigenni. Deg taggara, ma nmuqel ɣer tuqqna yellan gar uẓayer n tzamugin d tesnallunt, ad naf belli imaṣriyen n Maṣer sbedden-tent s twelha yettwaqesden ɣer tneqqiḍin tigejdayin n wakal: Agafa, Anẓul, Amalu akked Ugmuḍ. Taseddi tamagdazt n uwelleh-a tebna ɣef tmusni n yetran akked wamek i d-tberrun yitran deg yigenni. S tmuɣli nsen i d-itezzin ɣef tfukt d yetran imeqqranen, ssawḍen ad rreṣṣin lsas n lebni-nsen. Asali n yijaddaren-a d ayen yessutren tamusni ur nfennu deg tsengama d tusnakt, ayen i d-yettbegginen tizemmar timassanin i d-yeǧǧa umezruy-nsen akken ad idiren i lebda deg tcfawt n talsa. == Asɣan d Tmettant == Deg tmetti n Maṣer taqburt, asɣan yesɛa azal ameqqran deg tudert n yal ass. * Tazamugt ur telli ara d aẓekka kan, maca d allal fakan i walluy n rruḥ n ugellid ɣer yigenni. * Iferɛunen uminen s tmeddurt deffir n tmettant. * Akken ad tedder rruḥ-nni, ilaq tafekka ad teqqim ur tenger ara, ɣef waya i tt-ḥerzen akken iwata send tanṭelt. Deg tɣerma n Maṣer taqburt, asɣan ur yelli ara d asfukel kan n wayen i d-yezzin i wemdan neɣ d ansayen s wacu d-ttmektayen iẓuran-nsen, maca d lsas ameqqran ɣef wacu tebna tmetti meṛṛa. Ayagi yettban-d s wudem lqayen deg wayen yerzan tamettant d tekti n wemdan ɣef taggara n tudert-is. Iferɛunen ur uminen ara belli tamettant d taggara n tudert neɣ d afna n wemdan. Ɣur-sen, d tasurift kan neɣ d abrid ara yawin agellid ɣer yiwet n tudert nniḍen i ten-yugaren deg tehri, yiwet n tudert yerzan tamagdazt n yigenni. Ɣef waya, ayen akk bnan, ayen akk farsen, d wayen akk xedmen yezzi ɣef tikti-a n tmeddurt deffir n tmettant, anda agellid ad yuɣal d aḥric seg yitran d yigelliden imeqqranen. Akken ad d-teḍru tuɣalin-a ɣer tudert tabadut, imaṣriyen n zik d yimassanen n usɣan fkan azal ameqqran i tfekka n wemdan. Uminen belli rruḥ n wemdan, i wumi qqaren "Ka" (tanezmart n tudert) akked "Ba" (timanit), yesri tafekka taɣarawt ɣer wacu ara d-yuɣal i lebda. Ma yella tenger tfekka-nni neɣ terka, rruḥ ad yijli deg tallunt ur yettissin ara amkan-is, yerna ur yezmir ara ad ikemmel abrid-is. Ɣef aya i d-sbedden tarrayt lqayen i weḥraz n tfekka (mummification), i yellan d tamhelt tasnujjant d tesɣanit deg yiwet n teswiɛt. Sseqdacen isafaren d yimengiyen yemgaraden akken ad ḥerzen tafekka n uferɛun ur tetteɣmay ara, iwakken ad teqqim tettwaḥrez i uɛeddi-s ɣer wamaḍal n ddaw-akal. Tamhelt-a ur telli ara d aḥraz kan n weksum, maca d tasekkirt lqayen yettwawellhen s tẓalliyin d yisefra akken ad sifsusen azaglu n tuɣalin n rruḥ. == Tizumag Tixatarin == Llant aṭas n tzamugin deg Maṣer, maca tiggi d tid i d-yufraren: * '''Tazamugt n Xufu (Khéops):''' D yiwet seg tmerwin n ddunit taqburt, d nettat i d tameqqrant akk. * '''Tizumag n Xafreɛ d Menkawreɛ:''' D tizumag i d-yezzin i tin n Xufu, d amur ameqqran deg tgemmi nsen. * '''Tazamugt n Djoser:''' D tazamugt tamezwarut akk, tesɛa talɣa n isurifen. 32bmoy0fg35hz30bzmi01scpub0e1dm 116692 116691 2026-06-22T16:59:45Z Gurzil90x 14292 Gurzil90x yebeddel isem n usebtar seg [[Tizamugin n Maṣer Taqbut]] ar [[Tizumag n Maṣer Taqbut]] : erreur dans la transcription de pluriel de "tazamugt" 116691 wikitext text/x-wiki [[Tugna:All Gizah Pyramids.jpg|vignette|Ameẓdu n tzamugin n Giza.]] '''Tizumag''' (asuf: tazamugt ) n Maṣer taqbut d yiwen seg yizamulen (azamul ) imeqqranen n tɣerma tamiẓrant. Bnant zik s wudem n yijaddaren (ajaddar ) neɣ n tqerrabin (taqerrabt ) akken ad gen daxel-nsent igelliden (agellid ) n Maṣer, i wumi qqaren Iferɛunen. Akud ameqqran n lebni-nsent yella-d deg tallit taqburt n umezruy n Maṣer, ladɣa gar tasuta tis 3 d tis 6. D asenfar ameqqran i d-yewwin aṭas n tmusniwin d tezmert n wemdan. == Tasegda d Tusnakt == Deg wayen yeɛnan tasegda d usali n tzumagin, Iferɛunen sseqdacen tussniwin lqayen, ladɣa deg taɣult n tusnakt d tanzeggit. * Tazamugt tebna ɣef uzadur (lsas) yesɛan talɣa n umkuẓ. * Ɣef yidisan, tesɛa ukuẓ n yikerdisen (akerdis) i d-yemlilin deg yiwet n tqacuct. * Tizumag tiqburin sɛant tasekta d ubleɣ ameqqran aṭas, i d-yessawden ad fkent tahuski i lebni-nsent. * Iferɛunen sbedden tizumag-nsen s twelha yettwaqesden ɣer tneqqiḍin tigejdayin (Agafa, Anẓul, Amalu, Agmuḍ) s tseddi tameqqrant. Tasegda d tusnakt deg lebni n tzumag n Maṣer taqbut ur llint ara d ayen i d-yusan s wudem agacuran, maca d agemmuḍ n tmusniwin lqayen i sɛan yimaṣriyen n tallit-nni. Iferɛunen sseqdacen tanzeggit d tusnakt s telqayt akken ad sbedden iẓekwan-a imeqqranen. Azadur n tzamugt yebna ɣef umkuẓ imnekdi, anda tiɣemmar-is d tid i d-yemcabahen s tseddi tamagdazt. Yal idis seg ukuẓ-nni yesɛa talɣa n ukerdis i d-yemlilin ɣer yiwet n tqacuct. Ayen issewhamen ugar d akken talɣut d wazalen n tzamugin-a, ladɣa tin n Xufu, mtawan aṭas ɣer wazalen isnakiyen imeqqranen. Imnadiyen n umezruy mazal ttqelliben deg yisemliyen iqburen akken ad fehmen ugar ɣef tarrayin s wacu d-wwin asiḍen-a(leḥsab-a), d wamek i ssawḍen ad sbedden idɣaɣen s yiwen n uktili ur nesɛi amgirred. Ɣef wayen yeɛnan tasegda n lebni s timmad-is, taẓayt n yidɣaɣen d wamek i ten-sbedden d ayen yessutren asiḍen ameqqran. Akken ad ssawḍen idɣaɣen-nni ẓayen aṭas ɣer tqacuct, sseqdacen tarrayin n tmekanikt yecban tamṣukt n urfad d yikarkaren s wacu i d-jebbden iḥedran n yidɣaɣen. Tizumag ur llint ara d lebni awḥid i d-yezzin i yiman-is kan deg tneẓruft, maca d aḥric seg unagraw ameqqran n tzeɣwa. Ɣer tama n tzamugt, leqmen-d yidgan nniḍen i yesɛan azal ameqqran, am ufakan anda i d-ttilin yisaragen d usideg n tẓallit i ugellid-nni i d-yemmuten. Afakan-a yesɛa tuqqna tusridt ɣer tzamugt, yettili d tasurift tagejdant deg walluy n rruḥ n uferɛun ɣer yigenni. Deg taggara, ma nmuqel ɣer tuqqna yellan gar uẓayer n tzamugin d tesnallunt, ad naf belli imaṣriyen n Maṣer sbedden-tent s twelha yettwaqesden ɣer tneqqiḍin tigejdayin n wakal: Agafa, Anẓul, Amalu akked Ugmuḍ. Taseddi tamagdazt n uwelleh-a tebna ɣef tmusni n yetran akked wamek i d-tberrun yitran deg yigenni. S tmuɣli nsen i d-itezzin ɣef tfukt d yetran imeqqranen, ssawḍen ad rreṣṣin lsas n lebni-nsen. Asali n yijaddaren-a d ayen yessutren tamusni ur nfennu deg tsengama d tusnakt, ayen i d-yettbegginen tizemmar timassanin i d-yeǧǧa umezruy-nsen akken ad idiren i lebda deg tcfawt n talsa. == Asɣan d Tmettant == Deg tmetti n Maṣer taqburt, asɣan yesɛa azal ameqqran deg tudert n yal ass. * Tazamugt ur telli ara d aẓekka kan, maca d allal fakan i walluy n rruḥ n ugellid ɣer yigenni. * Iferɛunen uminen s tmeddurt deffir n tmettant. * Akken ad tedder rruḥ-nni, ilaq tafekka ad teqqim ur tenger ara, ɣef waya i tt-ḥerzen akken iwata send tanṭelt. Deg tɣerma n Maṣer taqburt, asɣan ur yelli ara d asfukel kan n wayen i d-yezzin i wemdan neɣ d ansayen s wacu d-ttmektayen iẓuran-nsen, maca d lsas ameqqran ɣef wacu tebna tmetti meṛṛa. Ayagi yettban-d s wudem lqayen deg wayen yerzan tamettant d tekti n wemdan ɣef taggara n tudert-is. Iferɛunen ur uminen ara belli tamettant d taggara n tudert neɣ d afna n wemdan. Ɣur-sen, d tasurift kan neɣ d abrid ara yawin agellid ɣer yiwet n tudert nniḍen i ten-yugaren deg tehri, yiwet n tudert yerzan tamagdazt n yigenni. Ɣef waya, ayen akk bnan, ayen akk farsen, d wayen akk xedmen yezzi ɣef tikti-a n tmeddurt deffir n tmettant, anda agellid ad yuɣal d aḥric seg yitran d yigelliden imeqqranen. Akken ad d-teḍru tuɣalin-a ɣer tudert tabadut, imaṣriyen n zik d yimassanen n usɣan fkan azal ameqqran i tfekka n wemdan. Uminen belli rruḥ n wemdan, i wumi qqaren "Ka" (tanezmart n tudert) akked "Ba" (timanit), yesri tafekka taɣarawt ɣer wacu ara d-yuɣal i lebda. Ma yella tenger tfekka-nni neɣ terka, rruḥ ad yijli deg tallunt ur yettissin ara amkan-is, yerna ur yezmir ara ad ikemmel abrid-is. Ɣef aya i d-sbedden tarrayt lqayen i weḥraz n tfekka (mummification), i yellan d tamhelt tasnujjant d tesɣanit deg yiwet n teswiɛt. Sseqdacen isafaren d yimengiyen yemgaraden akken ad ḥerzen tafekka n uferɛun ur tetteɣmay ara, iwakken ad teqqim tettwaḥrez i uɛeddi-s ɣer wamaḍal n ddaw-akal. Tamhelt-a ur telli ara d aḥraz kan n weksum, maca d tasekkirt lqayen yettwawellhen s tẓalliyin d yisefra akken ad sifsusen azaglu n tuɣalin n rruḥ. == Tizumag Tixatarin == Llant aṭas n tzamugin deg Maṣer, maca tiggi d tid i d-yufraren: * '''Tazamugt n Xufu (Khéops):''' D yiwet seg tmerwin n ddunit taqburt, d nettat i d tameqqrant akk. * '''Tizumag n Xafreɛ d Menkawreɛ:''' D tizumag i d-yezzin i tin n Xufu, d amur ameqqran deg tgemmi nsen. * '''Tazamugt n Djoser:''' D tazamugt tamezwarut akk, tesɛa talɣa n isurifen. 32bmoy0fg35hz30bzmi01scpub0e1dm 116694 116692 2026-06-22T17:00:34Z Gurzil90x 14292 seɣtiɣ kra n tucdiwin 116694 wikitext text/x-wiki [[Tugna:All Gizah Pyramids.jpg|vignette|Ameẓdu n tzumag n Giza.]] '''Tizumag''' (asuf: tazamugt ) n Maṣer taqbut d yiwen seg yizamulen (azamul ) imeqqranen n tɣerma tamiẓrant. Bnant zik s wudem n yijaddaren (ajaddar ) neɣ n tqerrabin (taqerrabt ) akken ad gen daxel-nsent igelliden (agellid ) n Maṣer, i wumi qqaren Iferɛunen. Akud ameqqran n lebni-nsent yella-d deg tallit taqburt n umezruy n Maṣer, ladɣa gar tasuta tis 3 d tis 6. D asenfar ameqqran i d-yewwin aṭas n tmusniwin d tezmert n wemdan. == Tasegda d Tusnakt == Deg wayen yeɛnan tasegda d usali n tzumagin, Iferɛunen sseqdacen tussniwin lqayen, ladɣa deg taɣult n tusnakt d tanzeggit. * Tazamugt tebna ɣef uzadur (lsas) yesɛan talɣa n umkuẓ. * Ɣef yidisan, tesɛa ukuẓ n yikerdisen (akerdis) i d-yemlilin deg yiwet n tqacuct. * Tizumag tiqburin sɛant tasekta d ubleɣ ameqqran aṭas, i d-yessawden ad fkent tahuski i lebni-nsent. * Iferɛunen sbedden tizumag-nsen s twelha yettwaqesden ɣer tneqqiḍin tigejdayin (Agafa, Anẓul, Amalu, Agmuḍ) s tseddi tameqqrant. Tasegda d tusnakt deg lebni n tzumag n Maṣer taqbut ur llint ara d ayen i d-yusan s wudem agacuran, maca d agemmuḍ n tmusniwin lqayen i sɛan yimaṣriyen n tallit-nni. Iferɛunen sseqdacen tanzeggit d tusnakt s telqayt akken ad sbedden iẓekwan-a imeqqranen. Azadur n tzamugt yebna ɣef umkuẓ imnekdi, anda tiɣemmar-is d tid i d-yemcabahen s tseddi tamagdazt. Yal idis seg ukuẓ-nni yesɛa talɣa n ukerdis i d-yemlilin ɣer yiwet n tqacuct. Ayen issewhamen ugar d akken talɣut d wazalen n tzamugin-a, ladɣa tin n Xufu, mtawan aṭas ɣer wazalen isnakiyen imeqqranen. Imnadiyen n umezruy mazal ttqelliben deg yisemliyen iqburen akken ad fehmen ugar ɣef tarrayin s wacu d-wwin asiḍen-a(leḥsab-a), d wamek i ssawḍen ad sbedden idɣaɣen s yiwen n uktili ur nesɛi amgirred. Ɣef wayen yeɛnan tasegda n lebni s timmad-is, taẓayt n yidɣaɣen d wamek i ten-sbedden d ayen yessutren asiḍen ameqqran. Akken ad ssawḍen idɣaɣen-nni ẓayen aṭas ɣer tqacuct, sseqdacen tarrayin n tmekanikt yecban tamṣukt n urfad d yikarkaren s wacu i d-jebbden iḥedran n yidɣaɣen. Tizumag ur llint ara d lebni awḥid i d-yezzin i yiman-is kan deg tneẓruft, maca d aḥric seg unagraw ameqqran n tzeɣwa. Ɣer tama n tzamugt, leqmen-d yidgan nniḍen i yesɛan azal ameqqran, am ufakan anda i d-ttilin yisaragen d usideg n tẓallit i ugellid-nni i d-yemmuten. Afakan-a yesɛa tuqqna tusridt ɣer tzamugt, yettili d tasurift tagejdant deg walluy n rruḥ n uferɛun ɣer yigenni. Deg taggara, ma nmuqel ɣer tuqqna yellan gar uẓayer n tzamugin d tesnallunt, ad naf belli imaṣriyen n Maṣer sbedden-tent s twelha yettwaqesden ɣer tneqqiḍin tigejdayin n wakal: Agafa, Anẓul, Amalu akked Ugmuḍ. Taseddi tamagdazt n uwelleh-a tebna ɣef tmusni n yetran akked wamek i d-tberrun yitran deg yigenni. S tmuɣli nsen i d-itezzin ɣef tfukt d yetran imeqqranen, ssawḍen ad rreṣṣin lsas n lebni-nsen. Asali n yijaddaren-a d ayen yessutren tamusni ur nfennu deg tsengama d tusnakt, ayen i d-yettbegginen tizemmar timassanin i d-yeǧǧa umezruy-nsen akken ad idiren i lebda deg tcfawt n talsa. == Asɣan d Tmettant == Deg tmetti n Maṣer taqburt, asɣan yesɛa azal ameqqran deg tudert n yal ass. * Tazamugt ur telli ara d aẓekka kan, maca d allal fakan i walluy n rruḥ n ugellid ɣer yigenni. * Iferɛunen uminen s tmeddurt deffir n tmettant. * Akken ad tedder rruḥ-nni, ilaq tafekka ad teqqim ur tenger ara, ɣef waya i tt-ḥerzen akken iwata send tanṭelt. Deg tɣerma n Maṣer taqburt, asɣan ur yelli ara d asfukel kan n wayen i d-yezzin i wemdan neɣ d ansayen s wacu d-ttmektayen iẓuran-nsen, maca d lsas ameqqran ɣef wacu tebna tmetti meṛṛa. Ayagi yettban-d s wudem lqayen deg wayen yerzan tamettant d tekti n wemdan ɣef taggara n tudert-is. Iferɛunen ur uminen ara belli tamettant d taggara n tudert neɣ d afna n wemdan. Ɣur-sen, d tasurift kan neɣ d abrid ara yawin agellid ɣer yiwet n tudert nniḍen i ten-yugaren deg tehri, yiwet n tudert yerzan tamagdazt n yigenni. Ɣef waya, ayen akk bnan, ayen akk farsen, d wayen akk xedmen yezzi ɣef tikti-a n tmeddurt deffir n tmettant, anda agellid ad yuɣal d aḥric seg yitran d yigelliden imeqqranen. Akken ad d-teḍru tuɣalin-a ɣer tudert tabadut, imaṣriyen n zik d yimassanen n usɣan fkan azal ameqqran i tfekka n wemdan. Uminen belli rruḥ n wemdan, i wumi qqaren "Ka" (tanezmart n tudert) akked "Ba" (timanit), yesri tafekka taɣarawt ɣer wacu ara d-yuɣal i lebda. Ma yella tenger tfekka-nni neɣ terka, rruḥ ad yijli deg tallunt ur yettissin ara amkan-is, yerna ur yezmir ara ad ikemmel abrid-is. Ɣef aya i d-sbedden tarrayt lqayen i weḥraz n tfekka (mummification), i yellan d tamhelt tasnujjant d tesɣanit deg yiwet n teswiɛt. Sseqdacen isafaren d yimengiyen yemgaraden akken ad ḥerzen tafekka n uferɛun ur tetteɣmay ara, iwakken ad teqqim tettwaḥrez i uɛeddi-s ɣer wamaḍal n ddaw-akal. Tamhelt-a ur telli ara d aḥraz kan n weksum, maca d tasekkirt lqayen yettwawellhen s tẓalliyin d yisefra akken ad sifsusen azaglu n tuɣalin n rruḥ. == Tizumag Tixatarin == Llant aṭas n tzamugin deg Maṣer, maca tiggi d tid i d-yufraren: * '''Tazamugt n Xufu (Khéops):''' D yiwet seg tmerwin n ddunit taqburt, d nettat i d tameqqrant akk. * '''Tizumag n Xafreɛ d Menkawreɛ:''' D tizumag i d-yezzin i tin n Xufu, d amur ameqqran deg tgemmi nsen. * '''Tazamugt n Djoser:''' D tazamugt tamezwarut akk, tesɛa talɣa n isurifen. hyhdl0flk7lca5vysvzudnd4slro6gr Kupriyan 0 25495 116706 116685 2026-06-23T11:28:38Z Gurzil90x 14292 Arniɣ-d ayen ilaqen 116706 wikitext text/x-wiki [[Tugna:Cyprian von Karthago2.jpg|vignette|Tarudemt s wudem usuneɣ n Kupriyan.]] '''Kupriyan'''<ref>Sqedceɣ "k" deg wemkan n "C" deg yisem-agi n "Cyprian" s lmend akken i t-id-qqaren s tlatinit n zik.</ref> (neɣ Kupriyanus) d yiwen seg yimasnakucen imeqqranen n tmasiḥit n zik deg Tefriqt n Ugafa. Ilul-d gar yiseggasen n 200 d 210 S.Ɛ. deg tama n [[Qerṭaj|Kartaj]], yemmut d amaɣras deg useggas n 258. D win yefkan azal ameqqran i umezruy n tsekla d tesnakuca tamasihit n tallit tarumanit, yerna yeǧǧa-d aṭas n yiḍrisen d tebratin i d-isbeggnen amek tella tmetti d wesɣan deg lqern wis kraḍ. == Tudert-is == * '''Talalit d Usinen:''' Kupriyan ilul-d deg yiwet n twacult tamerkantit, d tagetyakuct (païenne). Deg temẓi-s, yeɣra tasnukyest d uzref, yella d amennay yettwassnen aṭas deg Kartaj. Uqbel ad yekcem ɣer tmasiḥit, yella yettziyar ifakanen n Rruman, yettidir tudert n yimarkantiyen. Talalit-is teḍra-d deg temnaḍt n Kartaj, i yellan d yiwet seg temdinin timeqqranin yerna d tigensasin n Umenkad Aruman deg Tefriqt n Ugafa. Tawacult-is, imi tesɛa ccan d yisem ameqqran deg tmetti tarumanit, tefka-as tagnit iwatan akken ad yidir tudert n rreḥba d tbaɣur, yerna tewwi-t ɣer wiberdan n tussna d tɣuri lqayen. Deg temẓi-s, Kupriyan(neɣ Cyprian s tfranṣist) yesɛedda asinen-is deg yiɣerbazen ifazen akk n tallit-nni. Yefka lwelha-s s umata ɣer tesnukyest akked uzref, sin n yiḥricen i d-yettaken amkan ɛlayen i wemdan deg tsertit d tmetti. S tlatinit, i yellan d tutlayt idelsan d tutlayt n udabu n Kartaj deg lqern wis kraḍ, yelmed amek ara iseddu awal, amek ara yessewjed inawen yelhan, d wamek ara issekcem iman-is deg tlufa n teɣdemt. S usinen-a lqayen, yuɣal d amestan (abugaṭu) d umennay ameqqran i yettqadaren aṭas yemdanen. Yella yettekkay s wudem uzzig deg yisaragen d tzeɣwa n usenqed, yettḥadar ɣef yizerfan n yimarkantiyen d wid yesɛan adabu. Tussna-s deg wawal tessaweḍ-it ad yesɛu amkan d ameqqran gar yimawlan n tsertit n Kartaj, yerna isem-is yeffeɣ-d deg yal amkan n temdint. Send(Uqbel) anekcum-is ɣer wesɣan amasiḥi, Kupriyan yella yettidir akken tebɣa tmetti-s tagetyakuct. Yella yettekkay deg tfaskiwin d wansayen n Rruman, yettzuru ifakanen akken ad issefel i yikucen-nsen. Tudert-is tella tbedd ɣef zzhu, ayla d wazal amettan, ayen i t-yeǧǧan ad yidir i kra n yiseggasen d amdan yesɛan akk tiɣbula n ddunit, mebla ma yesḥassef ɣef wayen i t-irajan deg yimal s tmasiḥit i ibeddlen udem n tudert-is s lekmal. * '''Anekcum ɣer Tmasiḥit:''' Deg useggas n 246, yekcem ɣer tmasiḥit s ufus n yiwen uqessis isem-is ''Caecilianus''. Ibeddel tudert-is s lekmal: yefka ayla-s d tbaɣurin-is i yigellilen, yuɣal yettidir s teqneɛt d tẓallit. Tudert n Kupriyan tebded deg tazwara ɣef zzhu, ayla d ccan, maca deg daxel-is yella iḥuss s kra n lexṣaṣ d uɣurru n ddunit tarumanit i yettidiren deg-s. Ɣas akken yesɛa idrimen d wemkan ɛlayen deg tmetti n Kartaj, ur yufi ara talwit n wul, yerna iwala amek iruḥ wazal n tɣellist d tezdeg deg tsertit d wansayen n Rruman. D tagnit-a n ccekk d usteqsi i t-yeǧǧan ad yemlil d yiwen n uqessis amasiḥi awessar isem-is Caecilianus. Amdan-a yesɛa-d tazrirt tameqqrant ɣef tiktiwin n Kupriyan, yessaweḍ ad as-yegzem ccekk, ad t-issekcem ɣer ubrid n liman amaynut. Deg useggas n 246 S.Ɛ., Cyprian yewwi-d taɣtest ara ibeddlen amecwar n tudert-is s lekmal: yeǧǧa asɣan-is agetyakuc (païen) yerna yekcem ɣer wesɣan amasiḥi. Anekcum-is ɣer tmasiḥit ur yelli ara kan d awal yettwanṭeqen, maca d tigawt lqayen i yeswehmen akk imdanen i t-yessnen deg Kartaj. Akken kan yeqbel asirred (aɣḍas deg waman), Kupriyan yexdem ayen ur yebni yiwen fell-as: yezzenz ayla-s meṛṛa, tiferkiwin-is d tbaɣurin-is, yerna yefka idrimen-nni i yigellilen d wid yeḥwaǧen. Ayagi yessenɛet-d liman-is ameqqran d teqneɛt-is, imi yefren ad yidir ddaw n yisuraf n cceḥḥa d tẓallit, mebla zzhu d tmenɣiwt n zik. S leqder i uqessis-nni i t-iwellhen, yerna isem n "Caecilius" ɣer yisem-is anaṣli, yuɣal yettusemma s tlatinit ''Thascius Caecilius Cyprianus''. Seg tama n usinen d tektiwin, Kupriyan yezzi iman-is ɣef yidlisen d tsekla n yifakanen n Rruman i yella yeqqar d iseggasen, yuɣal yerra lwelha-s s lǧehd ɣer tɣuri n Yedlisen Iqedsen d tkatayin n tmasiḥit n tallit-nni. Yeqqel d anelmad wuzzig n Tertullien (Tertullianus), yiwen seg yimasnakucen (théologiens) imezwura n Tefriqt n Ugafa, i wumi yella yeqqar s leqder "Aselmad". Uɣal-a ɣer tɣuri d ubeddel n tikli-s rran-t d amdan yeṣfan, i yettwaqadren aṭas gar yimasiḥiyen n temnaḍt, ayen i as-yelldin abrid akken ad t-fernen d amasay ameqqran n teklizt n Kartaj kra n yiseggasen kan seld anekcum-is. * '''Amasay n Teklizt:''' Kra n yiseggasen kan seld anekcum-is ɣer wesɣan amaynut (deg 248), yettwafren d amasay ameqqran n teklizt n Kartaj s yisem n tegmat d yinaflasen. Kra n wakud kan seld anekcum-is ɣer wesɣan amaynut, Kupriyan yufa iman-is deg yiwen n wemkan ɛlayen aṭas ur yebni fell-as. Lǧehd n liman-is, tikli-s yeṣfan, d tmusni-s lqayen ssawḍen-t ad isebgen iman-is d amdan i d-yufraren gar yinaflasen. Deg useggas n 248 S.Ɛ., asmi yemmut umasay ameqqran n Kartaj, agdud amasiḥi akked tuget n yiqessisen franen Kupriyan akken ad yeṭṭef asɣim-nni. Ɣas akken ayagi yella d ayen issewhamen imi ur iɛeṭṭel ara deg tmasiḥit (d amaynut deg wesɣan), tayri n wegdud d tzemmar-is deg usegzi n wawal rran-t d amasay ameqqran n teklizt n Kartaj s wudem unsib. Maca, asali-ines ɣer wemkan-a ur yelli ara mebla uguren, imi yegla-d s wawal d nneqma. Yiwet n terbaɛt n yiqessisen iqdimen, i d-yewwin nnig n wul amek ara d-yufrar wemdan i d-ikecmen iḍelli kan ɣer wesɣan akken ad ten-iḥkem, bdan ttmagaren-t-id yerna ugin udabu-s. Ɣas akken yella uɣilif-a daxel n teklizt, Kupriyan yessebgen-d s tazzla lhiba-s d tsertit-is i yebnan ɣef tdukli. S tmusni n uzref i d-yewwi seg temẓi-s d tzemmar-is deg uheggi n yinawen, yessaweḍ ad iseddu lumuṛ n teklizt s tarrayt yelhan. Yefka azal ameqqran i tdukli gar yinaflasen, ḥader ɣef yilugan n tẓallit, yerna yessewseɛ tallalt i yigellilen d wid i d-tewwet lmeḥna, ayen i t-yessawḍen ad yuɣal d aqerru aḥeqqani i yettwaqadren deg Tefriqt n Ugafa meṛṛa. Deg useggas n 250 S.Ɛ., tiwawin rkant fell-as mi d-tekka yiwet n tiḥersi tameqqrant sɣur umenkad aṛumani ''Decius''. Aṭas n yimasiḥiyen i yettwanɣan neɣ i yettwaḥebbsen acku ugin ad sseflen i yikucen n Rruman. Deg tallit-a n ddiq, Kupriyan yewwi-d yiwet n taɣtest mgal-is amzun yessawlen i ccwal: yerwel seg Kartaj, yeffer iman-is akken ur t-tettaṭṭaf ara udabu arumani. Aṭas i t-ilumen ɣef waya, nnan-d iwacu yeffer d netta d amasay, maca netta yessegza-d d akken taɣtest-is d tin i d-yekkan seg yiwen uweḥḥi (tamuɣli seg usugen). Yenna-d yexdem ayagi akken ad ikemmel ad iseddu teknisa s tebratin deg wakud n wuguren, acku lmut-is imiren tella ad tḥaz s teknisa. S tuffra-s, iqqim yettaru-d tibratin i yiqessisen d yinaflasen, yettwellih-iten amek ara ssuksen iman-nsen d wamek ara ṭṭfen deg liman-nsen ɣas akken tuɣ-iten teswiɛt qessiḥet. * '''Tiḥersi d Lmut-is:''' Deg tallit n umenkad arumani Decius (250), tebda-d tiḥersi tameqqrant mgal imasiḥiyen. Kupriyan yerwel seg temdint akken ad iḥader ɣef teklizt d yinaflasen-is s tuffra. Ayagi yegla-d s wugur ameqqran ɣef wid yeǧǧan asɣan-nsen akken ad sseflen i yikucen irumaniyen. Deg useggas n 258, ddaw lḥekma n umenkad Valerian, ḥekmen fell-as s lmut, nɣan-t s tkuba(agestur), yuɣal d amaɣras. == Tiktiwin-is d Tesnakuca (Théologie) == Tiktiwin n Kupriyan rẓant aṭas n yiḥricen deg umezruy n wesɣan, ladɣa ayen yeɛnan asuddes n teklizt d wassaɣen gar yinaflasen: * '''Tadukli n Teknisa:''' Tikti-s tagejdant tella ɣef tdukli n wesɣan. Iwala d akken taknisa tewwi-d ad tili d yiwet, ur tebḍi ara. Yenna-d awal-is yettwassnen aṭas deg umezruy: ''"Ur yezmir ara ad yesɛu Yakuc d ababat, win ur nesɛi ara taknisa d tayemmat."'' * '''Ugur n wid yeɣlin (Lapsi):''' Deg tallit n tiḥersi, aṭas n yimasiḥiyen i yexdmen asfel deg yifakanen n Rruman akken ad menɛen ɣef tudert-nsen. Mi tɛedda ccda, bɣan ad d-uɣalen ɣer teklizt. Cyprian yufa-d yiwen wugur ameqqran: amek ara teg taknisa yid-sen? Yessebded-d tarrayt talemmast: wid yeɣlin deg ubekkaḍ tewwi-d ad stutben (ad ndmen), ad sɛeddin akud n tatubt uqbel ad d-uɣalen ɣer tdukli tamesɣant, war amdel fell-asen tiwwura s lekmal. * '''Aɣrudan mgal Tilelli Taglizant:''' Kupriyan yella yettḥadar ɣef tilelli n yimasayen n teklizt deg temnaḍin-nsen. Yella mgal usnas n udabu aɣrudan n Ruma ɣef tekliziwin n Tefriqt n Ugafa, ladɣa deg temsalt n ucehhed d wusirred n wid d-yekkan seg tɣerfiwin(sectes) tyettwaɛzlen. Iwala d akken imasayen n teklizt sɛan tagada gar-asen. * '''Asfel n Tẓallit:''' Iwala d akken taẓallit n temlilit (Eucharistie) d amedya n usfel n Ɛisa, d aḥric agejdan deg tezmart taruḥanit n yinaflasen. == Leqdec-is d Yidlisen-is == Cyprian yura aṭas n yiḍrisen s tlatinit, d tutlayt idelsan n tallit-nni deg Kartaj. Leqdec-is yebna ɣef uḥader n wesɣan d uwellih n yinaflasen: * '''De unitate ecclesiae (Ɣef tdukli n teklizt):''' D aḍris-is axatar akk. Deg-s i d-yessegza amek ara d-tili tdukli gar yimasnakucen d yimasiḥiyen, d wamek ara ḥadren ɣef tdukli n wesɣan mgal beṭṭu. * '''De lapsis (Ɣef wid yeɣlin):''' D aḍris anda i d-yefka tifrat i wugur n wid yeffɣen i wesɣan deg tallit n tiḥersi, d wamek ara d-uɣalen s tgerẓawt (repentir). * '''De dominica oratione (Ɣef tẓallit n Massi-nneɣ):''' D aḍris i d-yessegzayen azal n tẓallit n "Babat-nneɣ" d wamek i d-tettak tazmert i wanaflas deg talliyin n lmeḥna. * '''Tibratin (Épîtres):''' Yeǧǧa-d ammud n wugar n 80 n tebratin. Tibratin-a d agerruj i wid yettnadin ɣef umezruy n tsekla d tmetti n Tefriqt n Ugafa n lqern wis 3, imi skanayent-d s telqayt amek llan ttidiren, amek ttemsefhamen, d wuguren i d-ttmagaren. jgx4s5jkrvtgexuospy6y9zzb0bxbqg Tizamugin n Maṣer Taqbut 0 25497 116693 2026-06-22T16:59:45Z Gurzil90x 14292 Gurzil90x yebeddel isem n usebtar seg [[Tizamugin n Maṣer Taqbut]] ar [[Tizumag n Maṣer Taqbut]] : erreur dans la transcription de pluriel de "tazamugt" 116693 wikitext text/x-wiki #REDIRECTION [[Tizumag n Maṣer Taqbut]] 28mjek2qehvy0omqywtdm33j2787sr0 Module:Documentation/doc 828 25498 116697 2026-06-23T08:25:02Z ButterflyOFF 8191 Asebtar amaynut: {{Used in system|in [[MediaWiki:Scribunto-doc-page-show]], in [[MediaWiki:Scribunto-doc-page-does-not-exist]]}} {{Module rating|protected}} {{Lua|Module:Documentation/config|Module:Arguments|Module:Message box|Module:Module wikitext|Module:Protection banner}} {{Uses TemplateStyles|Module:Documentation/styles.css}} {{Infobox Lua | title = Documentation | description = Displays a green box containing documentation for [[Help:Template|templates]], [[Wikipedia:Lua|Lua modules]]... 116697 wikitext text/x-wiki {{Used in system|in [[MediaWiki:Scribunto-doc-page-show]], in [[MediaWiki:Scribunto-doc-page-does-not-exist]]}} {{Module rating|protected}} {{Lua|Module:Documentation/config|Module:Arguments|Module:Message box|Module:Module wikitext|Module:Protection banner}} {{Uses TemplateStyles|Module:Documentation/styles.css}} {{Infobox Lua | title = Documentation | description = Displays a green box containing documentation for [[Help:Template|templates]], [[Wikipedia:Lua|Lua modules]], or other pages. | status = stable | dependencies = * [[Module:Documentation/config]] * [[Module:Arguments]] * [[Module:Message box]] * [[Module:Module wikitext]] * [[Module:Protection banner]] }} This module displays a green box containing documentation for [[Help:Template|templates]], [[Wikipedia:Lua|Lua modules]], or other pages. The {{tl|documentation}} template invokes it. == Normal usage == For most uses, you should use the {{tl|documentation}} template; please see that template's page for its usage instructions and parameters. == Use in other modules == To use this module from another Lua module, first load it with <code>require</code>: <syntaxhighlight lang="lua"> local documentation = require('Module:Documentation').main </syntaxhighlight> Then you can simply call it using a table of arguments. <syntaxhighlight lang="lua"> documentation{content = 'Some documentation', ['link box'] = 'My custom link box'} </syntaxhighlight> Please refer to the [[Template:Documentation/doc|template documentation]] for usage instructions and a list of parameters. == Porting to other wikis == The module has a configuration file at [[Module:Documentation/config]] which is intended to allow easy translation and porting to other wikis. Please see the code comments in the config page for instructions. Also, links to Wikipedia within config strings, i.e. <code><nowiki>[[Wikipedia:Template documentation|documentation]]</nowiki></code> will point to non-existent Wikipedia pages if config is on another wiki. Either modify, remove it, or add the interwiki prefix like so: <code><nowiki>[[w:Wikipedia:Template documentation|documentation]]</nowiki></code>. If you have any questions, or you need a feature which is not currently implemented, please leave a message at <span class="plainlinks">[https://en.wikipedia.org/wiki/Template_talk:Documentation Template talk:Documentation]</span><!-- this link uses external link syntax because it is intended to direct users from third-party wikis to the Wikipedia template talk page; in this situation, an internal link would unhelpfully just point to their local template talk page, and the existence of any given interwiki prefix cannot be assumed --> to get the attention of a developer. The messages that need to be customized to display a documentation template/module at the top of module pages are [[MediaWiki:Scribunto-doc-page-show]] and [[MediaWiki:Scribunto-doc-page-does-not-exist]].<noinclude> [[Category:Module documentation pages]] </noinclude> kjuakkmjvj33xre7qcvf2lpvm6hhh8j Module:Documentation/styles.css 828 25499 116698 2026-06-23T08:26:47Z ButterflyOFF 8191 Asebtar amaynut: /* {{pp|small=yes}} */ .documentation, .documentation-metadata { border: 1px solid var( --border-color-base, #a2a9b1 ); background-color: #ecfcf4; color:inherit; clear: both; } .documentation { margin: 1em 0 0 0; padding: 1em; } .documentation-metadata { margin: 0.2em 0; /* same margin left-right as .documentation */ font-style: italic; padding: 0.4em 1em; /* same padding left-right as .documentation */ } .documentation-startbox { padding-bottom: 3px; bo... 116698 sanitized-css text/css /* {{pp|small=yes}} */ .documentation, .documentation-metadata { border: 1px solid var( --border-color-base, #a2a9b1 ); background-color: #ecfcf4; color:inherit; clear: both; } .documentation { margin: 1em 0 0 0; padding: 1em; } .documentation-metadata { margin: 0.2em 0; /* same margin left-right as .documentation */ font-style: italic; padding: 0.4em 1em; /* same padding left-right as .documentation */ } .documentation-startbox { padding-bottom: 3px; border-bottom: 1px solid var( --border-color-base, #a2a9b1 ); margin-bottom: 1ex; } .documentation-heading { font-weight: bold; font-size: 125%; } body.skin-minerva .documentation-startbox .mw-editsection-like a, body.skin-timeless .documentation-startbox .mw-editsection-like a { display: inline-block; margin-left: 0.3em; margin-right: 0.3em; } .documentation-clear { /* Don't want things to stick out where they shouldn't. */ clear: both; } .documentation-toolbar { font-style: normal; font-size: 85%; } @media screen { html.skin-theme-clientpref-night .documentation, html.skin-theme-clientpref-night .documentation-metadata { background-color: #0b1e1c; } } @media screen and ( prefers-color-scheme: dark ) { html.skin-theme-clientpref-os .documentation, html.skin-theme-clientpref-os .documentation-metadata { background-color: #0b1e1c; } } ohekqp4ao232tow40gho8bknn5qdpvd Module:Documentation/testcases 828 25500 116700 2026-06-23T08:28:19Z ButterflyOFF 8191 Asebtar amaynut: -- Test cases page for [[Module:Documentation]]. See talk page to run tests. local doc = require('Module:Documentation') local docConfig = require("Module:Documentation/config") local ScribuntoUnit = require('Module:ScribuntoUnit') local suite = ScribuntoUnit.new() -------------------------------------------------------------------------------- -- Sandbox run -------------------------------------------------------------------------------- function suite.runSandbox(...)... 116700 Scribunto text/plain -- Test cases page for [[Module:Documentation]]. See talk page to run tests. local doc = require('Module:Documentation') local docConfig = require("Module:Documentation/config") local ScribuntoUnit = require('Module:ScribuntoUnit') local suite = ScribuntoUnit.new() -------------------------------------------------------------------------------- -- Sandbox run -------------------------------------------------------------------------------- function suite.runSandbox(...) doc = require('Module:Documentation/sandbox') docConfig = require("Module:Documentation/config/sandbox") return suite.run(...) end -------------------------------------------------------------------------------------------- -- Test case helper functions -------------------------------------------------------------------------------------------- local function getEnv(page) -- Gets an env table using the specified page. return doc.getEnvironment{page = page} end -------------------------------------------------------------------------------------------- -- Test helper functions -------------------------------------------------------------------------------------------- function suite:testMessage() self:assertEquals('sandbox', doc.message('sandbox-subpage')) self:assertEquals('Subpages of this foobar', doc.message('subpages-link-display', {'foobar'})) self:assertEquals(true, doc.message('display-strange-usage-category', nil, 'boolean')) end function suite:testMakeToolbar() self:assertEquals(nil, doc.makeToolbar()) self:assertEquals('<span class="documentation-toolbar">(Foo)</span>', doc.makeToolbar('Foo')) self:assertEquals('<span class="documentation-toolbar">(Foo &#124; Bar)</span>', doc.makeToolbar('Foo', 'Bar')) end function suite:testMakeWikilink() self:assertEquals('[[Foo]]', doc.makeWikilink('Foo')) self:assertEquals('[[Foo|Bar]]', doc.makeWikilink('Foo', 'Bar')) end function suite:testMakeCategoryLink() self:assertEquals('[[Category:Foo]]', doc.makeCategoryLink('Foo')) self:assertEquals('[[Category:Foo|Bar]]', doc.makeCategoryLink('Foo', 'Bar')) end function suite:testMakeUrlLink() self:assertEquals('[Foo Bar]', doc.makeUrlLink('Foo', 'Bar')) end -------------------------------------------------------------------------------------------- -- Test env table -------------------------------------------------------------------------------------------- function suite:assertEnvFieldEquals(expected, page, field) local env = getEnv(page) self:assertEquals(expected, env[field], nil, 1) end function suite:assertEnvTitleEquals(expected, page, titleField) local env = getEnv(page) local title = env[titleField] self:assertEquals(expected, title.prefixedText, nil, 1) end function suite:testEnvTitle() self:assertEnvTitleEquals('Wikipedia:Sandbox', 'Wikipedia:Sandbox', 'title') self:assertEnvTitleEquals('Template:Example/sandbox', 'Template:Example/sandbox', 'title') end function suite:testEnvBadTitle() local env = doc.getEnvironment{page = 'Bad[]Title'} local title = env.title self:assertEquals(nil, title) end function suite:testEnvTemplateTitle() self:assertEnvTitleEquals('Template:Example', 'Template:Example', 'templateTitle') self:assertEnvTitleEquals('Template:Example', 'Template talk:Example', 'templateTitle') self:assertEnvTitleEquals('Template:Example', 'Template:Example/sandbox', 'templateTitle') self:assertEnvTitleEquals('Template:Example', 'Template talk:Example/sandbox', 'templateTitle') self:assertEnvTitleEquals('Template:Example', 'Template:Example/testcases', 'templateTitle') self:assertEnvTitleEquals('Template:Example/foo', 'Template:Example/foo', 'templateTitle') self:assertEnvTitleEquals('File:Example', 'File talk:Example', 'templateTitle') self:assertEnvTitleEquals('File:Example', 'File talk:Example/sandbox', 'templateTitle') end function suite:testEnvDocTitle() self:assertEnvTitleEquals('Template:Example/doc', 'Template:Example', 'docTitle') self:assertEnvTitleEquals('Template:Example/doc', 'Template talk:Example', 'docTitle') self:assertEnvTitleEquals('Template:Example/doc', 'Template:Example/sandbox', 'docTitle') self:assertEnvTitleEquals('Talk:Example/doc', 'Example', 'docTitle') self:assertEnvTitleEquals('File talk:Example.png/doc', 'File:Example.png', 'docTitle') self:assertEnvTitleEquals('File talk:Example.png/doc', 'File talk:Example.png/sandbox', 'docTitle') end function suite:testEnvSandboxTitle() self:assertEnvTitleEquals('Template:Example/sandbox', 'Template:Example', 'sandboxTitle') self:assertEnvTitleEquals('Template:Example/sandbox', 'Template talk:Example', 'sandboxTitle') self:assertEnvTitleEquals('Template:Example/sandbox', 'Template:Example/sandbox', 'sandboxTitle') self:assertEnvTitleEquals('Talk:Example/sandbox', 'Example', 'sandboxTitle') self:assertEnvTitleEquals('File talk:Example.png/sandbox', 'File:Example.png', 'sandboxTitle') end function suite:testEnvTestcasesTitle() self:assertEnvTitleEquals('Template:Example/testcases', 'Template:Example', 'testcasesTitle') self:assertEnvTitleEquals('Template:Example/testcases', 'Template talk:Example', 'testcasesTitle') self:assertEnvTitleEquals('Template:Example/testcases', 'Template:Example/testcases', 'testcasesTitle') self:assertEnvTitleEquals('Talk:Example/testcases', 'Example', 'testcasesTitle') self:assertEnvTitleEquals('File talk:Example.png/testcases', 'File:Example.png', 'testcasesTitle') end function suite:testEnvProtectionLevels() local pipeEnv = getEnv('Template:?') self:assertEquals('autoconfirmed', pipeEnv.protectionLevels.edit[1]) local sandboxEnv = getEnv('Wikipedia:Sandbox') local sandboxEditLevels = sandboxEnv.protectionLevels.edit if sandboxEditLevels then -- sandboxEditLevels may also be nil if the page is unprotected self:assertEquals(nil, sandboxEditLevels[1]) else self:assertEquals(nil, sandboxEditLevels) end end function suite:testEnvSubjectSpace() self:assertEnvFieldEquals(10, 'Template:Sandbox', 'subjectSpace') self:assertEnvFieldEquals(10, 'Template talk:Sandbox', 'subjectSpace') self:assertEnvFieldEquals(0, 'Foo', 'subjectSpace') self:assertEnvFieldEquals(0, 'Talk:Foo', 'subjectSpace') end function suite:testEnvDocSpace() self:assertEnvFieldEquals(10, 'Template:Sandbox', 'docSpace') self:assertEnvFieldEquals(828, 'Module:Sandbox', 'docSpace') self:assertEnvFieldEquals(1, 'Foo', 'docSpace') self:assertEnvFieldEquals(7, 'File:Example.png', 'docSpace') self:assertEnvFieldEquals(9, 'MediaWiki:Watchlist-details', 'docSpace') self:assertEnvFieldEquals(15, 'Category:Wikipedians', 'docSpace') end function suite:testEnvDocpageBase() self:assertEnvFieldEquals('Template:Example', 'Template:Example', 'docpageBase') self:assertEnvFieldEquals('Template:Example', 'Template:Example/sandbox', 'docpageBase') self:assertEnvFieldEquals('Template:Example', 'Template talk:Example', 'docpageBase') self:assertEnvFieldEquals('File talk:Example.png', 'File:Example.png', 'docpageBase') self:assertEnvFieldEquals('File talk:Example.png', 'File talk:Example.png', 'docpageBase') self:assertEnvFieldEquals('File talk:Example.png', 'File talk:Example.png/sandbox', 'docpageBase') end function suite:testEnvCompareUrl() -- We use "Template:Edit protected" rather than "Template:Example" here as it has a space in the title. local expected = 'https://en.wikipedia.org/w/index.php?title=Special%3AComparePages&page1=Template%3AEdit+protected&page2=Template%3AEdit+protected%2Fsandbox' self:assertEnvFieldEquals(expected, 'Template:Edit protected', 'compareUrl') self:assertEnvFieldEquals(expected, 'Template:Edit protected/sandbox', 'compareUrl') self:assertEnvFieldEquals(nil, 'Template:Non-existent template adsfasdg', 'compareUrl') self:assertEnvFieldEquals(nil, 'Template:Fact', 'compareUrl') -- Exists but doesn't have a sandbox. end -------------------------------------------------------------------------------------------- -- Test sandbox notice -------------------------------------------------------------------------------------------- function suite.getSandboxNoticeTestData(page) local env = getEnv(page) local templatePage = page:match('^(.*)/sandbox$') local image = '[[File:Edit In Sandbox Icon - Color.svg|50px|alt=|link=]]' local templateBlurb = 'This is the [[Wikipedia:Template test cases|template sandbox]] page for [[' .. templatePage .. ']]' local moduleBlurb = 'This is the [[Wikipedia:Template test cases|module sandbox]] page for [[' .. templatePage .. ']]' local otherBlurb = 'This is the sandbox page for [[' .. templatePage .. ']]' local diff = '[https://en.wikipedia.org/w/index.php?title=Special%3AComparePages&page1=' .. mw.uri.encode(templatePage) .. '&page2=' .. mw.uri.encode(page) .. ' diff]' local testcasesBlurb = 'See also the companion subpage for [[' .. templatePage .. '/testcases|test cases]].' local category = '[[Category:Template sandboxes]]' local clear = '<div class="documentation-clear"></div>' return env, image, templateBlurb, moduleBlurb, otherBlurb, diff, testcasesBlurb, category, clear end function suite:testSandboxNoticeNotSandbox() local env = getEnv('Template:Example') local notice = doc.sandboxNotice({}, env) self:assertEquals(nil, notice) end function suite:testSandboxNoticeStaticVals() local env, image, templateBlurb, moduleBlurb, otherBlurb, diff, testcasesBlurb, category, clear = suite.getSandboxNoticeTestData('Template:Example/sandbox') local notice = doc.sandboxNotice({}, env) -- Escape metacharacters (mainly '-') clear = clear:gsub( '%p', '%%%0' ) self:assertStringContains('^' .. clear, notice, false) self:assertStringContains(image, notice, true) self:assertStringContains(category, notice, true) end function suite:testSandboxNoticeTemplateBlurb() local env, image, templateBlurb, moduleBlurb, otherBlurb, diff, testcasesBlurb, category = suite.getSandboxNoticeTestData('Template:Example/sandbox') local notice = doc.sandboxNotice({}, env) self:assertStringContains(templateBlurb, notice, true) end function suite:testSandboxNoticeModuleBlurb() local env, image, templateBlurb, moduleBlurb, otherBlurb, diff, testcasesBlurb, category = suite.getSandboxNoticeTestData('Module:Math/sandbox') local notice = doc.sandboxNotice({}, env) self:assertStringContains(moduleBlurb, notice, true) end function suite:testSandboxNoticeOtherBlurb() local env, image, templateBlurb, moduleBlurb, otherBlurb, diff, testcasesBlurb, category = suite.getSandboxNoticeTestData('User:Mr. Stradivarius/sandbox') local notice = doc.sandboxNotice({}, env) self:assertStringContains(otherBlurb, notice, true) end function suite:testSandboxNoticeBlurbDiff() local env, image, templateBlurb, moduleBlurb, otherBlurb, diff, testcasesBlurb, category = suite.getSandboxNoticeTestData('Template:Example/sandbox') local notice = doc.sandboxNotice({}, env) if mw.title.getCurrentTitle().isTalk then -- This test doesn't work in the debug console due to the use of frame:preprocess({{REVISIONID}}). -- The frame test doesn't seem to be working for now, so adding a namespace hack. self:assertStringContains(diff, notice, true) end end function suite:testSandboxNoticeBlurbDiffNoBasePage() local env, image, templateBlurb, moduleBlurb, otherBlurb, diff, testcasesBlurb, category = suite.getSandboxNoticeTestData('Module:User:Mr. Stradivarius/sandbox') local notice = doc.sandboxNotice({}, env) if mw.title.getCurrentTitle().isTalk then -- This test doesn't work in the debug console due to the use of frame:preprocess({{REVISIONID}}). -- The frame test doesn't seem to be working for now, so adding a namespace hack. self:assertNotStringContains(diff, notice, true) end end function suite:testSandboxNoticeTestcases() local env, image, templateBlurb, moduleBlurb, otherBlurb, diff, testcasesBlurb, category = suite.getSandboxNoticeTestData('Template:Edit protected/sandbox') local notice = doc.sandboxNotice({}, env) self:assertStringContains(testcasesBlurb, notice, true) end function suite:testSandboxNoticeNoTestcases() local env, image, templateBlurb, moduleBlurb, otherBlurb, diff, testcasesBlurb, category = suite.getSandboxNoticeTestData('Template:Example/sandbox') local notice = doc.sandboxNotice({}, env) self:assertNotStringContains(testcasesBlurb, notice, true) end -------------------------------------------------------------------------------------------- -- Test protection template -- -- There's not much we can do with this until {{pp-meta}} gets rewritten in Lua. At the -- moment the protection detection only works for the current page, and the testcases pages -- will be unprotected. -------------------------------------------------------------------------------------------- function suite:testProtectionTemplateUnprotectedTemplate() local env = getEnv('Template:Example') self:assertEquals(nil, doc.protectionTemplate(env)) end function suite:testProtectionTemplateProtectedTemplate() local env = getEnv('Template:Navbox') -- Test whether there is some content. We don't care what the content is, as the protection level -- detected will be for the current page, not the template. self:assertTrue(doc.protectionTemplate(env)) end function suite:testProtectionTemplateUnprotectedModule() local env = getEnv('Module:Example') self:assertEquals(nil, doc.protectionTemplate(env)) end function suite:testProtectionTemplateProtectedModule() local env = getEnv('Module:Yesno') -- Test whether there is some content. We don't care what the content is, as the protection level -- detected will be for the current page, not the template. self:assertTrue(doc.protectionTemplate(env)) end -------------------------------------------------------------------------------------------- -- Test _startBox -------------------------------------------------------------------------------------------- function suite:testStartBoxContentArg() local pattern = '<div class="documentation%-startbox">\n<span class="documentation%-heading" id="documentation%-heading">.-</span></div>' local startBox = doc._startBox({content = 'some documentation'}, getEnv('Template:Example')) self:assertStringContains(pattern, startBox) end function suite:testStartBoxHtml() self:assertStringContains( '<div class="documentation%-startbox">\n<span class="documentation%-heading" id="documentation%-heading">.-</span><span class="mw%-editsection%-like plainlinks">.-</span></div>', doc._startBox({}, getEnv('Template:Example')) ) end -------------------------------------------------------------------------------------------- -- Test makeStartBoxLinksData -------------------------------------------------------------------------------------------- function suite:testMakeStartBoxLinksData() local env = getEnv('Template:Example') local data = doc.makeStartBoxLinksData({}, env) self:assertEquals('Template:Example', data.title.prefixedText) self:assertEquals('Template:Example/doc', data.docTitle.prefixedText) self:assertEquals('view', data.viewLinkDisplay) self:assertEquals('edit', data.editLinkDisplay) self:assertEquals('history', data.historyLinkDisplay) self:assertEquals('purge', data.purgeLinkDisplay) self:assertEquals('create', data.createLinkDisplay) self:assertEquals('override', data.overrideLinkDisplay) end function suite:testMakeStartBoxLinksDataTemplatePreload() local env = getEnv('Template:Example') local data = doc.makeStartBoxLinksData({}, env) self:assertEquals('Template:Documentation/preload', data.preload) end function suite:testMakeStartBoxLinksDataArgsPreload() local env = getEnv('Template:Example') local data = doc.makeStartBoxLinksData({preload = 'My custom preload'}, env) self:assertEquals('My custom preload', data.preload) end -------------------------------------------------------------------------------------------- -- Test renderStartBoxLinks -------------------------------------------------------------------------------------------- function suite.makeExampleStartBoxLinksData(exists) -- Makes a data table to be used with testRenderStartBoxLinksExists and testRenderStartBoxLinksDoesntExist. local data = {} if exists then data.title = mw.title.new('Template:Example') data.docTitle = mw.title.new('Template:Example/doc') else data.title = mw.title.new('Template:NonExistentTemplate') data.docTitle = mw.title.new('Template:NonExistentTemplate/doc') end data.viewLinkDisplay = 'view' data.editLinkDisplay = 'edit' data.historyLinkDisplay = 'history' data.purgeLinkDisplay = 'purge' data.createLinkDisplay = 'create' data.overrideLinkDisplay = 'override' data.preload = 'Template:MyPreload' return data end function suite:testRenderStartBoxLinksExists() local data = suite.makeExampleStartBoxLinksData(true) local expected = '&#91;[[Template:Example/doc|view]]&#93; &#91;[[Special:EditPage/Template:Example/doc|edit]]&#93; &#91;[[Special:PageHistory/Template:Example/doc|history]]&#93; &#91;[[Special:Purge/Template:Example|purge]]&#93;' self:assertEquals(expected, doc.renderStartBoxLinks(data)) end function suite:testRenderStartBoxLinksDoesntExist() local data = suite.makeExampleStartBoxLinksData(false) local expected = '&#91;[https://en.wikipedia.org/w/index.php?title=Template:NonExistentTemplate/doc&action=edit&preload=Template%3AMyPreload create]&#93; &#91;[[Special:Purge/Template:NonExistentTemplate|purge]]&#93;' self:assertEquals(expected, doc.renderStartBoxLinks(data)) end -------------------------------------------------------------------------------------------- -- Test makeStartBoxData -------------------------------------------------------------------------------------------- function suite:testStartBoxDataBlankHeading() local data = doc.makeStartBoxData({heading = ''}, {}) self:assertEquals(nil, data) end function suite:testStartBoxDataHeadingTemplate() local env = getEnv('Template:Example') local data = doc.makeStartBoxData({}, env) local expected = '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]] Template documentation' self:assertEquals(expected, data.heading) end function suite:testStartBoxDataHeadingModule() local env = getEnv('Module:Example') local data = doc.makeStartBoxData({}, env) local expected = '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]] Module documentation' self:assertEquals(expected, data.heading) end function suite:testStartBoxDataHeadingFile() local env = getEnv('File:Example.png') local data = doc.makeStartBoxData({}, env) local expected = 'Summary' self:assertEquals(expected, data.heading) end function suite:testStartBoxDataHeadingOther() local env = getEnv('User:Example') local data = doc.makeStartBoxData({}, env) local expected = 'Documentation' self:assertEquals(expected, data.heading) end function suite:testStartBoxDataHeadingStyle() local data = doc.makeStartBoxData({['heading-style'] = 'foo:bar'}, {}) self:assertEquals('foo:bar', data.headingStyleText) end function suite:testStartBoxDataHeadingStyleTemplate() local env = getEnv('Template:Example') local data = doc.makeStartBoxData({}, env) self:assertEquals(nil, data.headingStyleText) end function suite:testStartBoxDataHeadingStyleOther() local env = getEnv('User:Example') local data = doc.makeStartBoxData({}, env) self:assertEquals(nil, data.headingStyleText) end function suite:testStartBoxDataLinks() local env = getEnv('Template:Example') local data = doc.makeStartBoxData({}, env, 'some links') self:assertEquals('some links', data.links) self:assertEquals('mw-editsection-like plainlinks', data.linksClass) end function suite:testStartBoxDataNoLinks() local env = getEnv('Template:Example') local data = doc.makeStartBoxData({}, env) self:assertEquals(nil, data.links) self:assertEquals(nil, data.linksClass) self:assertEquals(nil, data.linksId) end -------------------------------------------------------------------------------------------- -- Test renderStartBox -------------------------------------------------------------------------------------------- function suite:testRenderStartBox() local expected = '<div class="documentation-startbox">\n<span id="documentation-heading"></span></div>' self:assertEquals(expected, doc.renderStartBox{}) end function suite:testRenderStartBoxHeadingStyleText() self:assertStringContains('\n<span id="documentation-heading" style="foo:bar">', doc.renderStartBox{headingStyleText = 'foo:bar'}, true) end function suite:testRenderStartBoxHeading() self:assertStringContains('\n<span id="documentation-heading">Foobar</span>', doc.renderStartBox{heading = 'Foobar'}, true) end function suite:testRenderStartBoxLinks() self:assertStringContains('<span>list of links</span>', doc.renderStartBox{links = 'list of links'}, true) end function suite:testRenderStartBoxLinksClass() self:assertStringContains('<span class="linksclass">list of links</span>', doc.renderStartBox{linksClass = 'linksclass', links = 'list of links'}, true) self:assertNotStringContains('linksclass', doc.renderStartBox{linksClass = 'linksclass'}, true) end function suite:testRenderStartBoxLinksId() self:assertStringContains('<span id="linksid">list of links</span>', doc.renderStartBox{linksId = 'linksid', links = 'list of links'}, true) self:assertNotStringContains('linksid', doc.renderStartBox{linksId = 'linksid'}, true) end -------------------------------------------------------------------------------------------- -- Test _content -------------------------------------------------------------------------------------------- function suite:testContentArg() self:assertEquals('\nsome documentation\n', doc._content({content = 'some documentation'}, {})) end function suite:testContentNoContent() local env = getEnv('Template:This is a non-existent template agauchvaiu') self:assertEquals(mw.text.killMarkers(mw.getCurrentFrame():preprocess('\n' .. (docConfig['no-documentation'] or '')) .. '\n'), mw.text.killMarkers(doc._content({}, env))) end function suite:testContentExists() local env = doc.getEnvironment{'Template:Documentation/testcases/test3'} local docs = mw.getCurrentFrame():preprocess('{{Template:Documentation/testcases/test3}}') local expected = '\n' .. docs .. '\n' self:assertEquals(expected, doc._content({}, env)) end -------------------------------------------------------------------------------------------- -- Test _endBox -------------------------------------------------------------------------------------------- function suite:testEndBoxLinkBoxOff() local env = getEnv() self:assertEquals(nil, doc._endBox({['link box'] = 'off'}, env)) end function suite:testEndBoxNoDocsOtherNs() local env = { subjectSpace = 4, docTitle = { exists = false } } self:assertEquals(nil, doc._endBox({}, env)) end function suite:testEndBoxAlwaysShowNs() self:assertTrue(doc._endBox({}, getEnv('Template:Non-existent template asdfalsdhaw'))) self:assertTrue(doc._endBox({}, getEnv('Module:Non-existent module asdhewbydcyg'))) self:assertTrue(doc._endBox({}, getEnv('User:Non-existent user ahfliwebalisyday'))) end function suite:testEndBoxStyles() local env = getEnv('Template:Example') local endBox = doc._endBox({}, env) self:assertStringContains('class="documentation-metadata plainlinks"', endBox, true) end function suite:testEndBoxLinkBoxArg() local env = getEnv() self:assertStringContains('Custom link box', doc._endBox({['link box'] = 'Custom link box'}, env)) end function suite:testEndBoxExperimentBlurbValidNs() local expected = 'Editors can experiment in this.-<br />' self:assertStringContains(expected, doc._endBox({}, getEnv('Template:Example'))) self:assertStringContains(expected, doc._endBox({}, getEnv('Module:Example'))) self:assertStringContains(expected, doc._endBox({}, getEnv('User:Example'))) end function suite:testEndBoxExperimentBlurbInvalidNs() local expected = 'Editors can experiment in this.-<br />' self:assertNotStringContains(expected, doc._endBox({}, getEnv('Wikipedia:Twinkle'))) -- Wikipedia:Twinkle has an existing /doc subpage end function suite:testEndBoxCategoriesBlurb() local expected = 'Add categories to the %[%[.-|/doc%]%] subpage%.' self:assertStringContains(expected, doc._endBox({}, getEnv('Template:Example'))) self:assertStringContains(expected, doc._endBox({}, getEnv('Module:Example'))) self:assertStringContains(expected, doc._endBox({}, getEnv('User:Example'))) self:assertNotStringContains(expected, doc._endBox({[1] = 'Foo'}, getEnv('Template:Example'))) self:assertNotStringContains(expected, doc._endBox({content = 'Bar'}, getEnv('Template:Example'))) self:assertNotStringContains(expected, doc._endBox({}, getEnv('Wikipedia:Twinkle'))) end -------------------------------------------------------------------------------------------- -- Test makeDocPageBlurb -------------------------------------------------------------------------------------------- function suite:testDocPageBlurbError() self:assertEquals(nil, doc.makeDocPageBlurb({}, {})) end function suite:testDocPageBlurbTemplateDocExists() local env = getEnv('Template:Documentation') local expected = 'The above [[Wikipedia:Template documentation|documentation]] is [[Help:Transclusion|transcluded]] from [[Template:Documentation/doc]]. <span class="documentation-toolbar">([[Special:EditPage/Template:Documentation/doc|edit]] &#124; [[Special:PageHistory/Template:Documentation/doc|history]])</span><br />' self:assertEquals(expected, doc.makeDocPageBlurb({}, env)) end function suite:testDocPageBlurbTemplateDocDoesntExist() local env = getEnv('Template:Non-existent template ajlkfdsa') self:assertEquals(nil, doc.makeDocPageBlurb({}, env)) end function suite:testDocPageBlurbModuleDocExists() local env = getEnv('Module:Example') local expected = 'The above [[Wikipedia:Template documentation|documentation]] is [[Help:Transclusion|transcluded]] from [[Module:Example/doc]]. <span class="documentation-toolbar">([[Special:EditPage/Module:Example/doc|edit]] &#124; [[Special:PageHistory/Module:Example/doc|history]])</span><br />' self:assertEquals(expected, doc.makeDocPageBlurb({}, env)) end function suite:testDocPageBlurbModuleDocDoesntExist() local env = getEnv('Module:Non-existent module ajlkfdsa') local expected = 'You might want to [https://en.wikipedia.org/w/index.php?title=Module:Non-existent_module_ajlkfdsa/doc&action=edit&preload=Template%3ADocumentation%2Fpreload-module-doc create] a documentation page for this [[Wikipedia:Lua|Scribunto module]].<br />' self:assertEquals(expected, doc.makeDocPageBlurb({}, env)) end -------------------------------------------------------------------------------------------- -- Test makeExperimentBlurb -------------------------------------------------------------------------------------------- function suite:testExperimentBlurbTemplate() local env = getEnv('Template:Example') self:assertStringContains("Editors can experiment in this template's .- and .- pages.", doc.makeExperimentBlurb({}, env), false) end function suite:testExperimentBlurbModule() local env = getEnv('Module:Example') self:assertStringContains("Editors can experiment in this module's .- and .- pages.", doc.makeExperimentBlurb({}, env), false) end function suite:testExperimentBlurbSandboxExists() local env = getEnv('Template:Edit protected') local pattern = '[[Template:Edit protected/sandbox|sandbox]] <span class="documentation-toolbar">([[Special:EditPage/Template:Edit protected/sandbox|edit]] &#124; [https://en.wikipedia.org/w/index.php?title=Special%3AComparePages&page1=Template%3AEdit+protected&page2=Template%3AEdit+protected%2Fsandbox diff])</span>' self:assertStringContains(pattern, doc.makeExperimentBlurb({}, env), true) end function suite:testExperimentBlurbSandboxDoesntExist() local env = getEnv('Template:Non-existent template sajdfasd') local pattern = 'sandbox <span class="documentation-toolbar">([https://en.wikipedia.org/w/index.php?title=Template:Non-existent_template_sajdfasd/sandbox&action=edit&preload=Template%3ADocumentation%2Fpreload-sandbox create] &#124; [https://en.wikipedia.org/w/index.php?title=Template:Non-existent_template_sajdfasd/sandbox&preload=Template%3ADocumentation%2Fmirror&action=edit&summary=Create+sandbox+version+of+%5B%5BTemplate%3ANon-existent+template+sajdfasd%5D%5D mirror])</span>' self:assertStringContains(pattern, doc.makeExperimentBlurb({}, env), true) end function suite:testExperimentBlurbTestcasesExist() local env = getEnv('Template:Edit protected') local pattern = '[[Template:Edit protected/testcases|testcases]] <span class="documentation-toolbar">([[Special:EditPage/Template:Edit protected/testcases|edit]])</span>' self:assertStringContains(pattern, doc.makeExperimentBlurb({}, env), true) end function suite:testExperimentBlurbTestcasesDontExist() local env = getEnv('Template:Non-existent template sajdfasd') local pattern = 'testcases <span class="documentation-toolbar">([https://en.wikipedia.org/w/index.php?title=Template:Non-existent_template_sajdfasd/testcases&action=edit&preload=Template%3ADocumentation%2Fpreload-testcases create])</span>' self:assertStringContains(pattern, doc.makeExperimentBlurb({}, env), true) end -------------------------------------------------------------------------------------------- -- Test makeCategoriesBlurb -------------------------------------------------------------------------------------------- function suite:testMakeCategoriesBlurb() local env = getEnv('Template:Example') self:assertEquals('Add categories to the [[Template:Example/doc|/doc]] subpage.', doc.makeCategoriesBlurb({}, env)) end -------------------------------------------------------------------------------------------- -- Test makeSubpagesBlurb -------------------------------------------------------------------------------------------- function suite:testMakeSubpagesBlurbTemplate() local env = getEnv('Template:Example') self:assertEquals('[[Special:PrefixIndex/Template:Example/|Subpages of this template]].', doc.makeSubpagesBlurb({}, env)) end function suite:testMakeSubpagesBlurbModule() local env = getEnv('Module:Example') self:assertEquals('[[Special:PrefixIndex/Module:Example/|Subpages of this module]].', doc.makeSubpagesBlurb({}, env)) end function suite:testMakeSubpagesBlurbOther() local env = getEnv('File:Example.png') self:assertEquals('[[Special:PrefixIndex/File:Example.png/|Subpages of this page]].', doc.makeSubpagesBlurb({}, env)) end -------------------------------------------------------------------------------------------- -- Test addTrackingCategories -------------------------------------------------------------------------------------------- function suite.getStrangeUsageCat() return '[[Category:Wikipedia pages with strange ((documentation)) usage]]' end function suite:testAddTrackingCategoriesTemplatePage() local env = getEnv('Template:Example') self:assertEquals('', doc.addTrackingCategories(env)) end function suite:testAddTrackingCategoriesDocPage() local env = getEnv('Template:Example/doc') self:assertEquals(self.getStrangeUsageCat(), doc.addTrackingCategories(env)) end function suite:testAddTrackingCategoriesTestcasesPage() local env = getEnv('Template:Example/testcases') self:assertEquals(self.getStrangeUsageCat(), doc.addTrackingCategories(env)) end function suite:testAddTrackingCategoriesModuleDoc() local env = getEnv('Module:Math/doc') self:assertEquals(self.getStrangeUsageCat(), doc.addTrackingCategories(env)) end function suite:testAddTrackingCategoriesModuleTestcases() local env = getEnv('Module:Math/testcases') self:assertEquals('', doc.addTrackingCategories(env)) end function suite:testAddTrackingCategoriesInvalidTitle() local env = getEnv('Template:Foo[]Bar') self:assertEquals(nil, doc.addTrackingCategories(env)) end -------------------------------------------------------------------------------------------- -- Whitespace tests -------------------------------------------------------------------------------------------- function suite:testNoTrailingWhitespace() self:assertStringContains('of this template%]%].</div></div>$', doc._main{page = 'Template:Example'}) end return suite 9v8jur740ta5kz5j3ey3q5bzf4wrog0 Talɣa:Infobox Lua 10 25501 116701 2026-06-23T08:30:05Z ButterflyOFF 8191 Asebtar amaynut: {{Infobox | bodyclass = infobox-lua | bodystyle = {{#ifeq: {{{styled|}}} | yes | border: 2px ridge #CAE1FF; width: 30em; padding-bottom: 0px; | <!-- nothing --> }} {{{bodystyle|}}} | title = {{{title|{{PAGENAME}}}}} | above = {{#ifeq: {{{styled|}}} | yes | {{{name|{{SUBPAGENAME}}}}} | <!-- nothing --> }} | titlestyle = {{#ifeq: {{{styled|}}} | yes | font-size: 0.95em; padding: 0px; margin: 0px | <!-- nothing --> }} | abovestyle = {{#ifeq:... 116701 wikitext text/x-wiki {{Infobox | bodyclass = infobox-lua | bodystyle = {{#ifeq: {{{styled|}}} | yes | border: 2px ridge #CAE1FF; width: 30em; padding-bottom: 0px; | <!-- nothing --> }} {{{bodystyle|}}} | title = {{{title|{{PAGENAME}}}}} | above = {{#ifeq: {{{styled|}}} | yes | {{{name|{{SUBPAGENAME}}}}} | <!-- nothing --> }} | titlestyle = {{#ifeq: {{{styled|}}} | yes | font-size: 0.95em; padding: 0px; margin: 0px | <!-- nothing --> }} | abovestyle = {{#ifeq: {{{styled|}}} | yes | background:#83C5DA; padding: 3px 0px | <!-- nothing --> }} | labelstyle = {{#ifeq: {{{styled|}}} | yes | background:#DFEFFF; padding: 0px 7px; vertical-align: middle | <!-- nothing --> }} | datastyle = {{#ifeq: {{{styled|}}} | yes | padding: 5px 5px; | <!-- nothing --> }} | image = {{{image|}}} | caption = {{{caption|}}} | label1 = Description | data1 = {{{description|}}} | label2 = Author(s) | data2 = {{{author|}}} | label3 = Code source | data3 = {{#if:{{{code|}}}|{{#ifeq:{{{code|}}}|{{{title|{{PAGENAME}}}}}||[[Module:{{{code|}}}]]}}}} | label4 = Status | data4 = {{#switch: {{lc:{{{status|}}}}} | pre-alpha | prealpha | pa | experimental = <div style="background-color:orangered;color:white;text-align:center;padding:3px;">Experimental</div> | alpha | a = <div style="background-color:orange;color:white;text-align:center;padding:3px;">Alpha</div> | beta | b = <div style="background-color:yellow;color:black;text-align:center;padding:3px;">Beta</div> | release | r | general | g | stable = <div style="background-color:green;color:white;text-align:center;padding:3px;">Release</div> | broken | br | unstable = <div style="background-color:red;color:white;text-align:center;padding:3px;">Broken</div> | deprecated | d | defunct = <div style="background-color:darkred;color:white;text-align:center;padding:3px;">Deprecated</div> | #default = <div style="background-color:gray;color:white;text-align:center;padding:3px;">Unknown</div> }} | label5 = Testcase Status | data5 = {{#ifexist:Module:{{{source|{{{title|{{PAGENAME}}}}}}}}/testcases|{{#switch:{{#invoke:{{{source|{{{title|{{PAGENAME}}}}}}}}/testcases|run|displayMode=enum}} | fail = <div style="background-color:red;color:white;text-align:center;padding:3px;">[[{{TALKPAGENAME:Module:{{{source|{{{title|{{PAGENAME}}}}}}}}/testcases}}|<span style="background-color:red;color:white;text-align:center;">Errors</span>]]</div> | skipped = <div style="background-color:gray;color:black;text-align:center;padding:3px;">[[{{TALKPAGENAME:Module:{{{source|{{{title|{{PAGENAME}}}}}}}}/testcases}}|<span style="background-color:gray;color:black;text-align:center;">Skipped</span>]]</div> | success = <div style="background-color:green;color:white;text-align:center;padding:3px;">[[{{TALKPAGENAME:Module:{{{source|{{{title|{{PAGENAME}}}}}}}}/testcases}}|<span style="background-color:green;color:white;text-align:center;">Passed</span>]]</div> | #default = <div style="background-color:gray;color:white;text-align:center;padding:3px;">Unknown</div> }}}} | label6 = Version | data6 = {{{version|}}} | label7 = Updated | data7 = {{#time:F j, Y|{{{updated|{{REVISIONTIMESTAMP:Module:{{{source|{{{title|{{PAGENAME}}}}}}}}}}}}}}} ({{time ago|1={{{updated|{{REVISIONTIMESTAMP:Module:{{{source|{{{title|{{PAGENAME}}}}}}}}}}}}}}}) | label8 = Dependencies | data8 = {{{dependencies|}}} | label9 = Skins | data9 = {{{skins|}}} | label10 = Using code by | data10 = {{{using code by|}}} | label11 = License | data11 = {{{license|}}} | label12 = Other attribution | data12 = {{{other attribution|}}} }}<noinclude> {{documentation}} </noinclude> 17w9hv9iwsg0anyttkk7tytxrvovlzt 116702 116701 2026-06-23T08:30:49Z ButterflyOFF 8191 116702 wikitext text/x-wiki {{Infobox | bodyclass = infobox-lua | bodystyle = {{#ifeq: {{{styled|}}} | yes | border: 2px ridge #CAE1FF; width: 30em; padding-bottom: 0px; | <!-- nothing --> }} {{{bodystyle|}}} | title = {{{title|{{PAGENAME}}}}} | above = {{#ifeq: {{{styled|}}} | yes | {{{name|{{SUBPAGENAME}}}}} | <!-- nothing --> }} | titlestyle = {{#ifeq: {{{styled|}}} | yes | font-size: 0.95em; padding: 0px; margin: 0px | <!-- nothing --> }} | abovestyle = {{#ifeq: {{{styled|}}} | yes | background:#83C5DA; padding: 3px 0px | <!-- nothing --> }} | labelstyle = {{#ifeq: {{{styled|}}} | yes | background:#DFEFFF; padding: 0px 7px; vertical-align: middle | <!-- nothing --> }} | datastyle = {{#ifeq: {{{styled|}}} | yes | padding: 5px 5px; | <!-- nothing --> }} | image = {{{image|}}} | caption = {{{caption|}}} | label1 = Description | data1 = {{{description|}}} | label2 = Author(s) | data2 = {{{author|}}} | label3 = Code source | data3 = {{#if:{{{code|}}}|{{#ifeq:{{{code|}}}|{{{title|{{PAGENAME}}}}}||[[Module:{{{code|}}}]]}}}} | label4 = Addad | data4 = {{#switch: {{lc:{{{status|}}}}} | pre-alpha | prealpha | pa | experimental = <div style="background-color:orangered;color:white;text-align:center;padding:3px;">Experimental</div> | alpha | a = <div style="background-color:orange;color:white;text-align:center;padding:3px;">Alpha</div> | beta | b = <div style="background-color:yellow;color:black;text-align:center;padding:3px;">Beta</div> | release | r | general | g | stable = <div style="background-color:green;color:white;text-align:center;padding:3px;">Release</div> | broken | br | unstable = <div style="background-color:red;color:white;text-align:center;padding:3px;">Broken</div> | deprecated | d | defunct = <div style="background-color:darkred;color:white;text-align:center;padding:3px;">Deprecated</div> | #default = <div style="background-color:gray;color:white;text-align:center;padding:3px;">Unknown</div> }} | label5 = Testcase Status | data5 = {{#ifexist:Module:{{{source|{{{title|{{PAGENAME}}}}}}}}/testcases|{{#switch:{{#invoke:{{{source|{{{title|{{PAGENAME}}}}}}}}/testcases|run|displayMode=enum}} | fail = <div style="background-color:red;color:white;text-align:center;padding:3px;">[[{{TALKPAGENAME:Module:{{{source|{{{title|{{PAGENAME}}}}}}}}/testcases}}|<span style="background-color:red;color:white;text-align:center;">Errors</span>]]</div> | skipped = <div style="background-color:gray;color:black;text-align:center;padding:3px;">[[{{TALKPAGENAME:Module:{{{source|{{{title|{{PAGENAME}}}}}}}}/testcases}}|<span style="background-color:gray;color:black;text-align:center;">Skipped</span>]]</div> | success = <div style="background-color:green;color:white;text-align:center;padding:3px;">[[{{TALKPAGENAME:Module:{{{source|{{{title|{{PAGENAME}}}}}}}}/testcases}}|<span style="background-color:green;color:white;text-align:center;">Passed</span>]]</div> | #default = <div style="background-color:gray;color:white;text-align:center;padding:3px;">Unknown</div> }}}} | label6 = Version | data6 = {{{version|}}} | label7 = Updated | data7 = {{#time:F j, Y|{{{updated|{{REVISIONTIMESTAMP:Module:{{{source|{{{title|{{PAGENAME}}}}}}}}}}}}}}} ({{time ago|1={{{updated|{{REVISIONTIMESTAMP:Module:{{{source|{{{title|{{PAGENAME}}}}}}}}}}}}}}}) | label8 = Dependencies | data8 = {{{dependencies|}}} | label9 = Skins | data9 = {{{skins|}}} | label10 = Using code by | data10 = {{{using code by|}}} | label11 = Turagt | data11 = {{{license|}}} | label12 = Other attribution | data12 = {{{other attribution|}}} }}<noinclude> {{documentation}} </noinclude> c99hm0jvxlfjourp3nigiq27ca7e7ab Talɣa:Infobox/styles.css 10 25502 116703 2026-06-23T08:33:07Z ButterflyOFF 8191 Asebtar amaynut: /* {{pp|small=y}} */ /* * This TemplateStyles sheet deliberately does NOT include the full set of * infobox styles. We are still working to migrate all of the manual * infoboxes. See [[MediaWiki talk:Common.css/to do#Infobox]] * DO NOT ADD THEM HERE */ /* NOTE: This is maintained both here and in [[MediaWiki:Common.css]] until migration is complete. * Starting with bare minimum for the benefit of [[mw:Manual:Safemode]]. */ @media (min-width: 640px) { .infobox { /*... 116703 sanitized-css text/css /* {{pp|small=y}} */ /* * This TemplateStyles sheet deliberately does NOT include the full set of * infobox styles. We are still working to migrate all of the manual * infoboxes. See [[MediaWiki talk:Common.css/to do#Infobox]] * DO NOT ADD THEM HERE */ /* NOTE: This is maintained both here and in [[MediaWiki:Common.css]] until migration is complete. * Starting with bare minimum for the benefit of [[mw:Manual:Safemode]]. */ @media (min-width: 640px) { .infobox { /* @noflip */ margin-left: 1em; /* @noflip */ float: right; /* @noflip */ clear: right; width: 22em; } } /* * not strictly certain these styles are necessary since the modules now * exclusively output infobox-subbox or infobox, not both * just replicating the module faithfully */ .infobox-subbox { padding: 0; border: none; margin: -3px; width: auto; min-width: 100%; font-size: 100%; clear: none; float: none; background-color: transparent; color:inherit; } .infobox-3cols-child { margin: -3px; } .infobox .navbar { font-size: 100%; } /* remove when infobox is not a table anymore */ .infobox-hiddenrow, /* we mean it, Minerva. but also Vector 2022 in the future at some point */ body.skin--responsive.skin--responsive .infobox .infobox-hiddenrow { display: none; } /* Dark theme: [[William Wragg]], [[Coral Castle]] */ @media screen { html.skin-theme-clientpref-night .infobox-full-data:not(.notheme) > div:not(.notheme)[style] { background: #1f1f23 !important; /* switch with var( --color-base ) when supported. */ color: #f8f9fa; } } @media screen and (prefers-color-scheme: dark) { html.skin-theme-clientpref-os .infobox-full-data:not(.notheme) > div:not(.notheme)[style] { background: #1f1f23 !important; /* switch with var( --color-base ) when supported. */ color: #f8f9fa; } } /* Since infobox is a table, many infobox templates take advantage of this to * add columns and rows to the infobox itself rather than as part of a new table * inside them. This class should be discouraged and removed on the long term, * but allows us to at least identify these tables going forward * Currently in use on: [[Module:Infobox3cols]] * Fixes issue described in [[phab:F55300125]] on Vector 2022. */ @media (min-width: 640px) { body.skin--responsive .infobox-table { display: table !important; } body.skin--responsive .infobox-table > caption { display: table-caption !important; } body.skin--responsive .infobox-table > tbody { display: table-row-group; } body.skin--responsive .infobox-table th, body.skin--responsive .infobox-table td { padding-left: inherit; padding-right: inherit; } } bi1nsztkx4350a55cuzjhaotvp5h216