ويكي الاقتباس arwikiquote https://ar.wikiquote.org/wiki/%D8%A7%D9%84%D8%B5%D9%81%D8%AD%D8%A9_%D8%A7%D9%84%D8%B1%D8%A6%D9%8A%D8%B3%D9%8A%D8%A9 MediaWiki 1.48.0-wmf.1 first-letter ميديا خاص نقاش مستخدم نقاش المستخدم ويكي الاقتباس نقاش ويكي الاقتباس ملف نقاش الملف ميدياويكي نقاش ميدياويكي قالب نقاش القالب مساعدة نقاش المساعدة تصنيف نقاش التصنيف نص زمني نقاش النص الزمني وحدة نقاش الوحدة فعالية نقاش فعالية ميدياويكي:Monobook.css 8 46 277404 21809 2026-11-02T18:06:38Z Maintenance script 12260 Use thumb.wikimedia.org for thumbnails ([[phab:T427465]], Operator: Ladsgroup) 277404 css text/css /* <pre dir="ltr"> */ /* edit this file to customize the monobook skin for the entire site */ /* تصغير البنط الخاص بالعناوين من المستوى الثالث وما يليه */ h3 { font-size: 110%; } h4 { font-size: 100%; } h5 { font-size: 90%; } /* نهاية للعناوين */ form#userlogin { float: right; background-color: #ffffe6; border: 2px solid #fc6; color: #000; margin-left: 2em; width: 427px; padding: 1em; padding-left: .7em; } form#userlogin table { float: right; background-color: #ffffe6; color: #000; width: 427px; } #editpage-specialchars a { text-decoration: none; } #editpage-specialchars a:hover { text-decoration: underline; } p.error { font-weight: bold; } span#URLSource { font-size: 1.2em; font-weight: bold; direction: ltr; } body { font-size: 75%; letter-spacing: 0.001em; background: url(//upload.wikimedia.org/wikipedia/ar/2/26/Arabisc1.png) 0px 0px repeat ; } #edit-for-sysops { display: none; } @media print { #content{ text-align:right; direction: rtl; } .printfooter {display: none;} } .ns-0 * #content ul{ display: table; } fieldset { padding-right: 25px; } /* حل مشكل الأرقام في التصنيف */ #catlinks { width:100%; } /* لإضافة قالب خاص */ div.BoxenVerschmelzen, div.NavFrame { margin:0px; padding:2px; border:1px solid #AAAAAA; text-align:center; border-collapse:collapse; font-size:95%; } div.BoxenVerschmelzen div.NavFrame { border-style:none; border-style:hidden; } div.NavFrame + div.NavFrame { border-top-style:none; border-top-style:hidden; } div.NavPic { background-color:#FFFFFF; margin:0px; padding:2px; float:left; } div.NavFrame div.NavHead { height:1.6em; font-weight:bold; font-size:100%; background-color:#EFEFEF; } div.NavFrame p { font-size:100%; } div.NavFrame div.NavContent { font-size:100%; } div.NavFrame div.NavContent p { font-size:100%; } div.NavEnd { margin:0px; padding:0px; line-height:1px; clear:both; } /* تغيير علامة المقالة المختارة في قائمة المقالات باللغات الأخرى */ li.FA { list-style-image: url("//upload.wikimedia.org/wikipedia/en/d/d4/Monobook-bullet-star.png"); } li.GA { list-style-image: url("//thumb.wikimedia.org/wikipedia/commons/thumb/9/94/Symbol_support_vote.svg/13px-Symbol_support_vote.svg.png"); } /* Standard Navigationsleisten */ div.BoxenVerschmelzen, div.NavFrame { margin: 0px; padding: 2px; border: 1px solid #aaaaaa; text-align: center; border-collapse: collapse; font-size: 95%; } div.BoxenVerschmelzen div.NavFrame { border-style: none; border-style: hidden; } div.NavFrame + div.NavFrame { border-top-style: none; border-top-style: hidden; } div.NavPic { background-color: #ffffff; margin: 0px; padding: 2px; float: left; } div.NavFrame div.NavHead { height: 1.6em; font-weight: bold; font-size: 100%; background-color: #efefef; } div.NavFrame p { font-size: 100%; } div.NavFrame div.NavContent { font-size: 100%; } div.NavFrame div.NavContent p { font-size: 100%; } div.NavEnd { margin: 0px; padding: 0px; line-height: 1px; clear: both; } .NavToggle { font-size: x-small; float:right; } /* Änderungen in Fett markieren */ span.diffchange { font-weight: bold; } /* Links nicht unterstreichen */ a { text-decoration: none; } /* Großbuchstaben in den Navigationsbereichen */ .portlet h5, .portlet h6, #p-personal ul, #p-cactions li a { text-transform: none; } /* Fetter Bearbeiten-Link */ #ca-edit a { font-weight: bold !important; } /* Vermeide hässliche weiße Ränder bei Float-Objekten auf nicht-weißen Hintergründen. */ div.thumb { border: none; } div.tright { border: none; margin: 0.5em 0 0.8em 1.4em; } div.tleft { border: none; margin: 0.5em 1.4em 0.8em 0; } /* fromWikipedia */ #fromWikipedia { font-size: x-small; } /* block quotations */ #content blockquote { font-size: 93.75%; /* equivalent of 15px in 16px default */ margin: 1em 1.6em; /* same indent as an unordered list */ } #content blockquote p { line-height:inherit; } /* تغيير شكل تصنيفات الصفحات */ #catlinks { border: 0px; border-top: 2px dotted #aaaaaa; width: 98%; } /* Kategorienseite mit transparentem Hintergrund */ #mw-subcategories table { background-color: transparent; } #mw-pages table { background-color: transparent; } /* Tabellenüberschriften (mit |+) größer und fett */ caption { font-size: 105%; font-weight: bold; } ol.references { font-size:90%; } /* Abschnitt-Bearbeiten-Links */ .editsection { font-size:90%; } /* Display "From Wikipedia, the free encyclopedia" */ #siteSub { display: inline; font-size: 92%; font-weight: normal; } #bodyContent #siteSub a { color: #000; text-decoration: none; background-color: transparent; background-image: none; padding-right: 0; } /* Bold 'edit this page' link to encourage newcomers */ #ca-edit a { font-weight: bold !important; } /* Display "User $1, you are already logged in!" ([[MediaWiki:Alreadyloggedin]]) in red and bold */ div.alreadyloggedin { color: red; font-weight: bold; } @media print { /* Do not print edit link in templates using Template:Ed Do not print certain classes that shouldn't appear on paper */ .editlink, .noprint, .metadata, .dablink { display: none } #content { background: #FFFFFF; } /* white background on print */ } /* les nombre impairs représentent les espaces de discussion '0': 'مقالة', '1' : 'نقاش مقالة' '2': 'مستخدم', '3' : ' نقاش مستخدم' '4': 'ويكيبيديا ', '4' : ' نقاش ويكيبيديا ' '6': 'صورة', '5' : ' نقاش صورة ' '8': 'MediaWiki', '9' : 'Discussion MediaWiki' '10': 'Modèle', '10' : 'Discuter Modèle' '12': 'Aide', '13' : 'Discuter Aide' '14': 'Catégorie', '15' : 'Discuter Catégorie' '100': 'Portail', '101': 'Discussion Portail' '102': 'Projet', '103' : 'Discussion Projet' '104': 'Référence', '105': 'Discussion Référence' SOMMAIRE I aspect général (les choses concernant l'affichage de toute l'encyclopédie) I.1 Couleur de fond des différents namespace I.2 gestion de la coloration indentatique I.3 autre II Divers (ce qui concerne un projet, un portail ou un bandeau particulier) */ /************************************************************/ /* ASPECT GENERAL */ /************************************************************/ /*-----------------------------------------*/ /* COULEUR DE FOND */ /*-----------------------------------------*/ /* par défaut : la couleur des pages de discussion (ce qui évite donc d'avoir à redéfinir la couleur de la moitié des namespaces) */ #content, #p-cactions li, #p-cactions li a { background: #F8FCFF; } /* Special: (bleu ciel) */ .ns--1 #content, .ns--1 #p-cactions li, .ns--1 #p-cactions li a { background: #F8FCFF; } /* (main) */ .ns-0 * #content, .ns-0 * #p-cactions li, .ns-0 * #p-cactions li a { background : white; } /* Utilisateur: */ .ns-2 * #content, .ns-2 * #p-cactions li, .ns-2 * #p-cactions li a { background : #F8FCFF; } /* ويكيبيديا: */ .ns-4 * #content, .ns-4 * #p-cactions li, .ns-4 * #p-cactions li a { background: #F3F3FF; } /* Image: */ .ns-6 * #content, .ns-6 * #p-cactions li, .ns-6 * #p-cactions li a { background: white; } /* MediaWiki: */ .ns-8 * #content, .ns-8 * #p-cactions li, .ns-8 * #p-cactions li a { background: #EEEEFF; } /* قالب: */ .ns-10 * #content, .ns-10 * #p-cactions li, .ns-10 * #p-cactions li a { background: #F8FCFF; } /* مساعدة: */ .ns-12 * #content, .ns-12 * #p-cactions li, .ns-12 * #p-cactions li a { background: #F8FCFF; } /* تصنيف: */ .ns-14 * #content, .ns-14 * #p-cactions li, .ns-14 * #p-cactions li a { background: #F3F3FF; } /* بوابة: */ .ns-100 * #content, .ns-100 * #p-cactions li, .ns-100 * #p-cactions li a { background: #F8FCFF; } .mw-plusminus-pos { color: #006400; } .mw-plusminus-neg { color: #8b0000; } /* </pre> */ 75afj5kotzsaubd9o7od4d1h4oyvqbh ميدياويكي:Vector.css 8 5373 277406 85959 2026-11-02T18:06:41Z Maintenance script 12260 Use thumb.wikimedia.org for thumbnails ([[phab:T427465]], Operator: Ladsgroup) 277406 css text/css /* الأنماط المتراصة CSS المعروضة هنا ستؤثر على مستخدمي واجهة فكتور */ /* جعل خط المستخدم افتراضيا */ body, #firstHeading, #mw-content-text, .mw-content-rtl, button, select, option, input, div[lang=ar] { font-family: arial, sans-serif !important; } /* أيقونات للروابط بين المشاريع */ li.wb-otherproject-link { background-repeat: no-repeat; background-position: right center; } div.portal#p-wikibase-otherprojects div.body ul li.wb-otherproject-link { position: relative; leftt: -18px; padding-right: 18px; } li.wb-otherproject-commons { background-image: url("//thumb.wikimedia.org/wikipedia/commons/thumb/4/4a/Commons-logo.svg/14px-Commons-logo.svg.png"); } li.wb-otherproject-wikipedia { background-image: url("//thumb.wikimedia.org/wikipedia/commons/thumb/8/80/Wikipedia-logo-v2.svg/15px-Wikipedia-logo-v2.svg.png"); } li.wb-otherproject-wiktionary { background-image: url("//thumb.wikimedia.org/wikipedia/commons/thumb/f/f9/Wiktionary_small.svg/16px-Wiktionary_small.svg.png"); } li.wb-otherproject-wikibooks { background-image: url("//thumb.wikimedia.org/wikipedia/commons/thumb/f/fa/Wikibooks-logo.svg/16px-Wikibooks-logo.svg.png"); } li.wb-otherproject-wikiquote { background-image: url("//thumb.wikimedia.org/wikipedia/commons/thumb/f/fa/Wikiquote-logo.svg/15px-Wikiquote-logo.svg.png"); } li.wb-otherproject-wikisource { background-image: url("//thumb.wikimedia.org/wikipedia/commons/thumb/4/4c/Wikisource-logo.svg/15px-Wikisource-logo.svg.png"); } li.wb-otherproject-wikinews { background-image: url("//thumb.wikimedia.org/wikipedia/commons/thumb/c/c8/Wikinews_waves_Left.svg/15px-Wikinews_waves_Left.svg.png"); } li.wb-otherproject-wikispecies, li.wb-otherproject-species { background-image: url("//thumb.wikimedia.org/wikipedia/commons/thumb/d/df/Wikispecies-logo.svg/15px-Wikispecies-logo.svg.png"); } li.wb-otherproject-wikivoyage { background-image: url("//thumb.wikimedia.org/wikipedia/commons/thumb/8/8a/Wikivoyage-logo.svg/15px-Wikivoyage-logo.svg.png"); } li.wb-otherproject-wikiversity { background-image: url("//thumb.wikimedia.org/wikipedia/commons/thumb/9/91/Wikiversity-logo.svg/15px-Wikiversity-logo.svg.png"); } li.wb-otherproject-wikidata { background-image: url("//thumb.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/15px-Wikidata-logo.svg.png"); } li.wb-otherproject-meta { background-image: url("//thumb.wikimedia.org/wikipedia/commons/thumb/7/75/Wikimedia_Community_Logo.svg/15px-Wikimedia_Community_Logo.svg.png"); } li.wb-otherproject-incubator { background-image: url("//thumb.wikimedia.org/wikipedia/commons/thumb/e/e3/Incubator-logo.svg/15px-Incubator-logo.svg.png"); } li.wb-otherproject-mediawiki { background-image: url("//thumb.wikimedia.org/wikipedia/commons/thumb/3/3d/Mediawiki-logo.png/15px-Mediawiki-logo.png"); } li[class^='wb-otherproject'] { background-position: right center; margin-right: 5px; } div.portal#p-wikibase-otherprojects div.body ul li.wb-otherproject-link { right: -8px; padding-right: 25px; } qsbhrsx66voe0qy6i60m2j4razuwlsp ميدياويكي:Gadget-RefToolbarNoDialogs.js 8 27720 277403 261960 2026-11-02T18:06:37Z Maintenance script 12260 Use thumb.wikimedia.org for thumbnails ([[phab:T427465]], Operator: Ladsgroup) 277403 javascript text/javascript /* Suggested by ابوهايدي */ var numforms = 0; var wikEdAutoUpdateUrl; function refbuttons() { if (document.getElementById('toolbar') || document.getElementById('wikiEditor-ui-toolbar')) { if (document.getElementById('toolbar')) { button = document.createElement('a'); button.href = "javascript:easyCiteMain()"; button.title = "Insert citation"; buttonimage = document.createElement('img'); buttonimage.src = "//upload.wikimedia.org/wikipedia/commons/0/00/Button_easy_cite_%281%29.png"; buttonimage.alt = "Insert footnote"; button.appendChild(buttonimage); document.getElementById('toolbar').appendChild(button); } else { button = document.createElement('a'); button.href = "#"; button.title = "Insert citation"; button.id = 'reftoolbar-button'; buttonimage = document.createElement('img'); buttonimage.src = "//thumb.wikimedia.org/wikipedia/commons/thumb/9/9a/Curly_Brackets.svg/40px-Curly_Brackets.svg.png"; buttonimage.alt = "Insert citation"; button.classname = "tool tool-button"; buttonimage.style.width = "22px"; buttonimage.style.height = "17px"; buttonimage.style.paddingTop = "5px"; buttonimage.style.paddingLeft = "3px"; button.appendChild(buttonimage) document.getElementById('wikiEditor-ui-toolbar').childNodes[0].childNodes[1].appendChild(button); //document.getElementById('reftoolbar-button').onclick = easyCiteMain; $(document).on('click', '#reftoolbar-button', function() { easyCiteMain(); }); } if (navigator.userAgent.indexOf('MSIE') == -1) { citemain = document.createElement('div'); citemain.style.display = 'none'; citemain.setAttribute('Id', 'citeselect'); citemain.appendChild( addOption("citeWeb()", "مرجع موقع") ); citemain.appendChild( addOption("citeBook()", "مرجع كتاب") ); citemain.appendChild( addOption("citeJournal()", "مرجع صحيفة") ); citemain.appendChild( addOption("citeNews()", "استشهاد بخبر") ); citemain.appendChild( addOption("citeNamedRef()", "مرجع المسمى") ); citemain.appendChild( addOption("dispErrors()", "فحص الخطأ") ); citemain.appendChild( addOption("hideInitial()", "إلغاء") ); document.getElementById('wpTextbox1').parentNode.insertBefore(citemain, document.getElementById('wpTextbox1')); } else { selection = '<div id="citeselect" style="display:none"><input type="button" value="Cite web" onclick="citeWeb()" />'+ '<input type="button" value="Cite book" onclick="citeBook()" />'+ '<input type="button" value="Cite journal" onclick="citeJournal()" />'+ '<input type="button" value="Cite news" onclick="citeNews()" />'+ '<input type="button" value="Named ref" onclick="citeNamedRef()" />'+ '<input type="button" value="Error check" onclick="dispErrors()" />'+ '<input type="button" value="Cancel" onclick="hideInitial()" /></div>'; document.getElementById('editform').innerHTML = selection + document.getElementById('editform').innerHTML; } } } function addOption(script, text) { option = document.createElement('input'); option.setAttribute('type', 'button'); option.setAttribute('onclick', script); option.setAttribute("value", text); return option; } function hideInitial() { document.getElementById('citeselect').style.display = 'none'; oldFormHide(); } function oldFormHide() { if (numforms != 0) { document.getElementById('citediv'+numforms).style.display = 'none'; } if (document.getElementById('errorform') != null) { document.getElementById('citeselect').removeChild(document.getElementById('errorform')); } } function easyCiteMain() { document.getElementById('citeselect').style.display = ''; } var months = ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر']; var citeGlobalDateFormat = "<date> <monthname> <year>"; function getTime() { var datestr = ''; if (typeof citeUserDateFormat != 'undefined') { datestr = citeUserDateFormat; } else { datestr = citeGlobalDateFormat; } var DT = new Date(); var zmonth = ''; var month = DT.getUTCMonth()+1; if (month < 10) { zmonth = "0"+month.toString(); } else { zmonth = month.toString(); } month = month.toString(); var zdate = ''; var date = DT.getUTCDate() if (date < 10) { zdate = "0"+date.toString(); } else { zdate = date.toString(); } date = date.toString() datestr = datestr.replace('<date>', date); datestr = datestr.replace('<month>', month); datestr = datestr.replace('<zdate>', zdate); datestr = datestr.replace('<zmonth>', zmonth); datestr = datestr.replace('<monthname>', months[DT.getUTCMonth()]); datestr = datestr.replace('<year>', DT.getUTCFullYear().toString()); return (datestr); } function citeWeb() { citeNewsWeb("cite web"); } function citeNews() { citeNewsWeb("cite news"); } function citeNewsWeb(templatename) { oldFormHide(); template = templatename; var legend; if (template == "cite web") { legend = "Cite web source"; } else { legend = "Cite news source"; } newtime = getTime(); numforms++; form = '<div id="citediv'+numforms+'">'+ '<fieldset><legend>'+legend+'</legend>'+ '<table cellspacing="5">'+ '<input type="hidden" value="'+template+'" id="template">'+ '<tr><td width="120"><label for="url">&nbsp;الرابط: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="url"></td>'+ '<td width="120"><label for="title">&nbsp; عنوان الصفحة: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="title"></td></tr>'+ '<tr><td width="120"><label for="last">&nbsp;الاسم الأخير: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="last"></td>'+ '<td width="120"><label for="first">&nbsp;الاسم الأول: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="first"></td></tr>'+ '<tr><td width="120"><label for="coauthors">&nbsp;المؤلفون المشاركون: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="coauthors"></td>'+ '<td width="120"><label for="date">&nbsp;تاريخ النشر: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="date"></td></tr>'+ '<tr><td width="120"><label for="work">&nbsp;عمل: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="work"></td>'+ '<td width="120"><label for="publisher">&nbsp;الناشر: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="publisher"></td></tr>'+ '<tr><td width="120"><label for="pages">&nbsp;صفحات: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="pages"></td>'+ '<td width="120"><label for="language">&nbsp;اللغة: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="language"></td></tr>'+ '<tr><td width="120"><label for="accessdate">&nbsp;تاريخ الوصول: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="accessdate" value="'+ newtime +'"></td>'+ '<td width="120"><label for="location">&nbsp;مكان: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="location"></td></tr>'+ '<tr><td width="120"><label for="refname">&nbsp;اسم المرجع: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="refname"></td></tr>'+ '</table>'+ '<input type="button" value="إضافة المرجع" onClick="addcites()">'+ '</fieldset></div>'; document.getElementById('citeselect').innerHTML += form; } function citeBook() { oldFormHide(); template = "cite book"; numforms++; form = '<div id="citediv'+numforms+'">'+ '<fieldset><legend>Cite book source</legend>'+ '<table cellspacing="5">'+ '<input type="hidden" value="'+template+'" id="template">'+ '<tr><td width="120"><label for="last">&nbsp;الاسم الأخير: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="last"></td>'+ '<td width="120"><label for="first">&nbsp;الاسم الأول: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="first"></td></tr>'+ '<tr><td width="120"><label for="coauthors">&nbsp;المؤلفون المشاركون: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="coauthors"></td>'+ '<td width="120"><label for="others">&nbsp;Others: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="others"></td></tr>'+ '<tr><td width="120"><label for="title">&nbsp;عنوان: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="title"></td>'+ '<td width="120"><label for="editor">&nbsp;محرر: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="editor"></td></tr>'+ '<tr><td width="120"><label for="publisher">&nbsp;الناشر: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="publisher"></td>'+ '<td width="120"><label for="location">&nbsp;مكان: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="location"></td></tr>'+ '<tr><td width="120"><label for="date">&nbsp;تاريخ النشر: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="date"></td>'+ '<td width="120"><label for="edition">&nbsp;طبعة: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="edition"></td></tr>'+ '<tr><td width="120"><label for="series">&nbsp;Series: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="series"></td>'+ '<td width="120"><label for="volume">&nbsp;Volume: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="volume"></td></tr>'+ '<tr><td width="120"><label for="pages">&nbsp;صفحات: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="pages"></td>'+ '<td width="120"><label for="chapter">&nbsp;فصل: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="chapter"></td></tr>'+ '<tr><td width="120"><label for="isbn">&nbsp;ISBN: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="isbn"></td>'+ '<td width="120"><label for="oclc">&nbsp;OCLC: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="oclc"></td></tr>'+ '<tr><td width="120"><label for="url">&nbsp;الرابط: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="url"></td>'+ '<td width="120"><label for="accessdate">&nbsp;تاريخ الوصول: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="accessdate"></td></tr>'+ '<tr><td width="120"><label for="language">&nbsp;اللغة: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="language"></td>'+ '<td width="120"><label for="refname">&nbsp;اسم المرجع: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="refname"></td></tr>'+ '</table>'+ '<input type="button" value="إضافة المرجع" onClick="addcites()">'+ '</fieldset></div>'; document.getElementById('citeselect').innerHTML += form; } function citeJournal() { oldFormHide(); template = "cite journal"; numforms++; form = '<div id="citediv'+numforms+'">'+ '<fieldset><legend>Cite book source</legend>'+ '<table cellspacing="5">'+ '<input type="hidden" value="'+template+'" id="template">'+ '<tr><td width="120"><label for="last">&nbsp;الاسم الأخير: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="last"></td>'+ '<td width="120"><label for="first">&nbsp;الاسم الأول: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="first"></td></tr>'+ '<tr><td width="120"><label for="coauthors">&nbsp;المؤلفون المشاركون: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="coauthors"></td>'+ '<td width="120"><label for="date">&nbsp;تاريخ النشر: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="date"></td></tr>'+ '<tr><td width="120"><label for="title">&nbsp;عنوان: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="title"></td>'+ '<td width="120"><label for="journal">&nbsp;صحيفة: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="journal"></td></tr>'+ '<tr><td width="120"><label for="publisher">&nbsp;الناشر: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="publisher"></td>'+ '<td width="120"><label for="location">&nbsp;مكان: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="location"></td></tr>'+ '<tr><td width="120"><label for="volume">&nbsp;Volume: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="volume"></td>'+ '<td width="120"><label for="issue">&nbsp;Issue: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="issue"></td></tr>'+ '<tr><td width="120"><label for="pages">&nbsp;صفحات: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="pages"></td>'+ '<td width="120"><label for="issn">&nbsp;ISSN: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="issn"></td></tr>'+ '<tr><td width="120"><label for="oclc">&nbsp;OCLC: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="oclc"></td>'+ '<td width="120"><label for="language">&nbsp;اللغة: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="language"></td></tr>'+ '<tr><td width="120"><label for="url">&nbsp;الرابط: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="url"></td>'+ '<td width="120"><label for="accessdate">&nbsp;تاريخ الوصول: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="accessdate"></td></tr>'+ '<tr><td width="120"><label for="refname">&nbsp;اسم المرجع: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="refname"></td></tr>'+ '</table>'+ '<input type="button" value="إضافة المرجع" onClick="addcites()">'+ '</fieldset></div>'; document.getElementById('citeselect').innerHTML += form; } function addcites(template) { cites = document.getElementById('citediv'+numforms).getElementsByTagName('input'); var citebegin = '<ref'; var citename = ''; var citeinner = ''; for (var i=0; i<cites.length-1; i++) { if (cites[i].value != '' && cites[i].id != "refname" && cites[i].id != "template") { citeinner += "|" + cites[i].id + "=" + cites[i].value; } else if (cites[i].value != '' && cites[i].id == "refname" && cites[i].id != "template") { citebegin += ' name="' + cites[i].value + '"'; } else if (cites[i].value != '' && cites[i].id != "refname" && cites[i].id == "template") { citename = '>{{' + cites[i].value; } } cite = citebegin + citename + citeinner + "}}</ref>"; $("#wpTextbox1").focus(); insertTags(cite, '', ''); document.getElementById('citediv'+numforms).style.display = 'none'; } function getNamedRefs(calls) { if (typeof(wikEdUseWikEd) != 'undefined') { if (wikEdUseWikEd == true) { WikEdUpdateTextarea(); } } text = document.getElementById('wpTextbox1').value; var regex; if (calls) { regex = /< *?ref +?name *?= *?(('([^']*?)')|("([^"]*?)")|([^'"\s]*?[^\/]\b)) *?\/ *?>/gi //' } else { regex = /< *?ref +?name *?= *?(('([^']*?)')|("([^"]*?)")|([^'"\s]*?[^\/]\b)) *?>/gi //' } var namedrefs = []; var i=0; var nr=true; do { ref = regex.exec(text); if(ref != null){ if (ref[5]) { namedrefs[i] = ref[5]; } else if (ref[3]) { namedrefs[i] = ref[3]; } else { namedrefs[i] = ref[6]; } i++; } else { nr=false; } } while (nr==true); return namedrefs; } function citeNamedRef() { namedrefs = getNamedRefs(false); if (namedrefs == '') { oldFormHide(); numforms++; out = '<div id="citediv'+numforms+'"><fieldset>'+ '<legend>References in text</legend>There are no named refs (<tt>&lt;ref name="Name"&gt;</tt>) in the text</fieldset></div>'; document.getElementById('citeselect').innerHTML += out; } else { oldFormHide(); numforms++; form = '<div id="citediv'+numforms+'">'+ '<fieldset><legend>References in article</legend>'+ '<table cellspacing="5">'+ '<tr><td><label for="namedrefs">&nbsp;Named references in text</label></td>'+ '<td><select name="namedrefs" id="namedrefs">'; for (var i=0;i<namedrefs.length;i++) { form+= '<option value="'+namedrefs[i]+'">'+namedrefs[i]+'</option>'; } form+= '</select>'+ '</td></tr></table>'+ '<input type="button" value="إضافة المرجع" onClick="addnamedcite()">'+ '</fieldset></div>'; document.getElementById('citeselect').innerHTML += form; } } function addnamedcite() { name = document.getElementById('citediv'+numforms).getElementsByTagName('select')[0].value; ref = '<ref name="'+name+'" />'; $("#wpTextbox1").focus(); insertTags(ref, '', ''); document.getElementById('citediv'+numforms).style.display = 'none'; } function getAllRefs() { if (typeof(wikEdUseWikEd) != 'undefined') { if (wikEdUseWikEd == true) { WikEdUpdateTextarea(); } } text = document.getElementById('wpTextbox1').value; regex = /< *?ref( +?name *?= *?(('([^']*?)')|("([^"]*?)")|([^'"\s]*?[^\/]\b)))? *?>((.|\n)*?)< *?\/? *?ref *?>/gim //" var allrefs = []; var i=0; var nr=true; do { ref = regex.exec(text); if(ref != null){ if (ref[0].search(/[^\s]{150}/) != -1) { ref[0] = ref[0].replace(/\|([^\s])/g, "| $1"); } ref[0] = ref[0].replace(/</g, "&lt;"); ref[0] = ref[0].replace(/>/g, "&gt;"); allrefs[i] = ref[0]; i++; } else { nr=false; } } while (nr==true); return allrefs; } function NRcallError(namedrefs, refname) { for (var i=0; i<namedrefs.length; i++) { if (namedrefs[i] == refname) { return true; } } return false; } function errorCheck() { var allrefs = getAllRefs(); var allrefscontent = []; var samecontentexclude = []; var sx=0; var templateexclude = []; var tx=0; var skipcheck = false; var namedrefcalls = getNamedRefs(true); for (var i=0; i<allrefs.length; i++) { allrefscontent[i] = allrefs[i].replace(/&lt; *?ref( +?name *?= *?(('([^']*?)')|("([^"]*?)")|([^'"\s]*?[^\/]\b)))? *?&gt;((.|\n)*?)&lt; *?\/? *?ref *?&gt;/gim, "$8"); //" } var namedrefs = getNamedRefs(false); var errorlist = []; var q=0; unclosed = document.getElementById('unclosed').checked; samecontent = document.getElementById('samecontent').checked; templates = document.getElementById('templates').checked; repeated = document.getElementById('repeated').checked; undef = document.getElementById('undef').checked; for (var i=0; i<allrefs.length; i++) { if (allrefs[i].search(/&lt; *?\/ *?ref *?&gt;/) == -1 && unclosed) { errorlist[q] = '<tr><td width="75%"><tt>'+allrefs[i]+'</tt></td>'; errorlist[q] += '<td width="25%">Unclosed <tt>&lt;ref&gt;</tt> tag</td></tr>'; q++; } if (samecontent) { for (var d=0; d<samecontentexclude.length; d++) { if (allrefscontent[i] == samecontentexclude[d]) { skipcheck = true; } } var p=0; while (p<allrefs.length && !skipcheck) { if (allrefscontent[i] == allrefscontent[p] && i != p) { errorlist[q] = '<tr><td width="75%"><tt>'+allrefscontent[i]+'</tt></td>'; errorlist[q] += '<td width="25%">Multiple refs contain this content, a <a href="//en.wikipedia.org/wiki/Wikipedia:Footnotes#Naming_a_ref_tag_so_it_can_be_used_more_than_once">named reference</a> should be used instead</td></tr>'; q++; samecontentexclude[sx] = allrefscontent[i] sx++; break; } p++; } skipcheck=false; } if (templates) { if (allrefscontent[i].search(/\{\{cite/i) == -1 && allrefscontent[i].search(/\{\{citation/i) == -1 && allrefscontent[i].search(/\{\{Comic (book|strip) reference/i) == -1 && allrefscontent[i].search(/\{\{Editorial cartoon reference/i) == -1 && allrefscontent[i].search(/\{\{harv/i) == -1) { for (var x=0; x<templateexclude.length; x++) { if (allrefscontent[i] == templateexclude[x]) { skipcheck = true; } } if (!skipcheck) { errorlist[q] = '<tr><td width="75%"><tt>'+allrefs[i]+'</tt></td>'; errorlist[q] += '<td width="25%">Does not use a <a href="//en.wikipedia.org/wiki/Wikipedia:Citation_templates">citation template</a></td></tr>'; q++; templateexclude[tx] = allrefscontent[i]; tx++; } skipcheck = false; } } } if (repeated) { var repeatnameexclude = []; var rx=0; for (var k=0; k<namedrefs.length; k++) { for (var d=0; d<repeatnameexclude.length; d++) { if (namedrefs[k] == repeatnameexclude[d]) { skipcheck = true; } } var z=0; while (z<namedrefs.length && !skipcheck) { if (namedrefs[k] == namedrefs[z] && k != z) { errorlist[q] = '<tr><td width="75%"><tt>'+namedrefs[k]+'</tt></td>'; errorlist[q] += '<td width="25%">Multiple references are given the same <a href="//en.wikipedia.org/wiki/Wikipedia:Footnotes#Naming_a_ref_tag_so_it_can_be_used_more_than_once">name</a></td></tr>'; q++; repeatnameexclude[rx] = namedrefs[z]; rx++; break; } z++; } skipcheck = false; } } if (undef) { var undefexclude = []; var ux=0; for (var p=0; p<namedrefcalls.length; p++) { for (var d=0; d<undefexclude.length; d++) { if (allrefscontent[i] == undefexclude[d]) { skipcheck = true; } } if (!skipcheck) { if (!NRcallError(namedrefs, namedrefcalls[p])) { errorlist[q] = '<tr><td width="75%"><tt>'+namedrefcalls[p]+'</tt></td>'; errorlist[q] += '<td width="25%">A <a href="//en.wikipedia.org/wiki/Wikipedia:Footnotes#Naming_a_ref_tag_so_it_can_be_used_more_than_once">named reference</a> is used but not defined</td></tr>'; q++; undefexclude[ux] = namedrefs[p]; ux++; } } skipcheck = false; } } if (q > 0) { return errorlist; } else { return 0; } } function dispErrors() { oldFormHide(); form = '<div id="errorform"><fieldset>'+ '<legend>Error checking</legend>'+ '<b>Check for:</b><br/>'+ '<input type="checkbox" id="unclosed" /> Unclosed <tt>&lt;ref&gt;</tt> tags<br/>'+ '<input type="checkbox" id="samecontent" /> References with the same content<br/>'+ '<input type="checkbox" id="templates" /> References not using a <a href="//en.wikipedia.org/wiki/Wikipedia:Citation_templates">citation template</a><br/>'+ '<input type="checkbox" id="repeated" /> Multiple references with the same name<br/>'+ '<input type="checkbox" id="undef" /> Usage of undefined named references<br/>'+ '<input type="button" id="errorchecksubmit" value="Check for selected errors" onclick="doErrorCheck()"/>'+ '</fieldset></div>'; document.getElementById('citeselect').innerHTML += form; } function doErrorCheck() { var errors = errorCheck(); document.getElementById('citeselect').removeChild(document.getElementById('errorform')); if (errors == 0) { if (numforms != 0) { document.getElementById('citediv'+numforms).style.display = 'none'; } numforms++; out = '<div id="citediv'+numforms+'"><fieldset>'+ '<legend>Error checking</legend>No errors found.</fieldset></div>'; document.getElementById('citeselect').innerHTML += out; } else { if (numforms != 0) { document.getElementById('citediv'+numforms).style.display = 'none'; } numforms++; form = '<div id="citediv'+numforms+'">'+ '<fieldset><legend>Error checking</legend>'+ '<table border="1px">'; for (var i=0; i<errors.length; i++) { form+=errors[i]; } form+= '</table>'+ '</fieldset></div>'; document.getElementById('citeselect').innerHTML += form; } } $( refbuttons ); h5jd7x18svupw8enb2ey1b5iltxgsoi ميدياويكي:RefToolbarNoDialogs.js 8 27721 277405 261961 2026-11-02T18:06:40Z Maintenance script 12260 Use thumb.wikimedia.org for thumbnails ([[phab:T427465]], Operator: Ladsgroup) 277405 javascript text/javascript var numforms = 0; var wikEdAutoUpdateUrl; function refbuttons() { if ((document.getElementById('toolbar') || document.getElementById('wikiEditor-ui-toolbar'))/* && wikEdAutoUpdateUrl == null*/) { if (document.getElementById('toolbar')) { button = document.createElement('a'); button.href = "javascript:easyCiteMain()"; button.title = "Insert citation"; buttonimage = document.createElement('img'); buttonimage.src = "//upload.wikimedia.org/wikipedia/commons/0/00/Button_easy_cite_%281%29.png"; buttonimage.alt = "Insert footnote"; button.appendChild(buttonimage); document.getElementById('toolbar').appendChild(button); } else { button = document.createElement('a'); button.href = "#"; button.title = "Insert citation"; button.id = 'reftoolbar-button'; buttonimage = document.createElement('img'); buttonimage.src = "//thumb.wikimedia.org/wikipedia/commons/thumb/9/9a/Curly_Brackets.svg/40px-Curly_Brackets.svg.png"; buttonimage.alt = "Insert citation"; button.classname = "tool tool-button"; buttonimage.style.width = "22px"; buttonimage.style.height = "17px"; buttonimage.style.paddingTop = "5px"; buttonimage.style.paddingLeft = "3px"; button.appendChild(buttonimage) document.getElementById('wikiEditor-ui-toolbar').childNodes[0].childNodes[1].appendChild(button); //document.getElementById('reftoolbar-button').onclick = easyCiteMain; $(document).on('click', '#reftoolbar-button', function() { easyCiteMain(); }); } if (navigator.userAgent.indexOf('MSIE') == -1) { citemain = document.createElement('div'); citemain.style.display = 'none'; citemain.setAttribute('Id', 'citeselect'); citemain.appendChild( addOption("citeWeb()", "Cite web") ); citemain.appendChild( addOption("citeBook()", "Cite book") ); citemain.appendChild( addOption("citeJournal()", "Cite journal") ); citemain.appendChild( addOption("citeNews()", "Cite news") ); citemain.appendChild( addOption("citeNamedRef()", "Named ref") ); citemain.appendChild( addOption("dispErrors()", "Error check") ); citemain.appendChild( addOption("hideInitial()", "Cancel") ); document.getElementById('wpTextbox1').parentNode.insertBefore(citemain, document.getElementById('wpTextbox1')); } else { selection = '<div id="citeselect" style="display:none"><input type="button" value="Cite web" onclick="citeWeb()" />'+ '<input type="button" value="Cite book" onclick="citeBook()" />'+ '<input type="button" value="Cite journal" onclick="citeJournal()" />'+ '<input type="button" value="Cite news" onclick="citeNews()" />'+ '<input type="button" value="Named ref" onclick="citeNamedRef()" />'+ '<input type="button" value="Error check" onclick="dispErrors()" />'+ '<input type="button" value="Cancel" onclick="hideInitial()" /></div>'; document.getElementById('editform').innerHTML = selection + document.getElementById('editform').innerHTML; } } } function addOption(script, text) { option = document.createElement('input'); option.setAttribute('type', 'button'); option.setAttribute('onclick', script); option.setAttribute("value", text); return option; } function hideInitial() { document.getElementById('citeselect').style.display = 'none'; oldFormHide(); } function oldFormHide() { if (numforms != 0) { document.getElementById('citediv'+numforms).style.display = 'none'; } if (document.getElementById('errorform') != null) { document.getElementById('citeselect').removeChild(document.getElementById('errorform')); } } function easyCiteMain() { document.getElementById('citeselect').style.display = ''; } var months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']; var citeGlobalDateFormat = "<date> <monthname> <year>"; function getTime() { var datestr = ''; if (typeof citeUserDateFormat != 'undefined') { datestr = citeUserDateFormat; } else { datestr = citeGlobalDateFormat; } var DT = new Date(); var zmonth = ''; var month = DT.getUTCMonth()+1; if (month < 10) { zmonth = "0"+month.toString(); } else { zmonth = month.toString(); } month = month.toString(); var zdate = ''; var date = DT.getUTCDate() if (date < 10) { zdate = "0"+date.toString(); } else { zdate = date.toString(); } date = date.toString() datestr = datestr.replace('<date>', date); datestr = datestr.replace('<month>', month); datestr = datestr.replace('<zdate>', zdate); datestr = datestr.replace('<zmonth>', zmonth); datestr = datestr.replace('<monthname>', months[DT.getUTCMonth()]); datestr = datestr.replace('<year>', DT.getUTCFullYear().toString()); return (datestr); } function citeWeb() { citeNewsWeb("cite web"); } function citeNews() { citeNewsWeb("cite news"); } function citeNewsWeb(templatename) { oldFormHide(); template = templatename; var legend; if (template == "cite web") { legend = "Cite web source"; } else { legend = "Cite news source"; } newtime = getTime(); numforms++; form = '<div id="citediv'+numforms+'">'+ '<fieldset><legend>'+legend+'</legend>'+ '<table cellspacing="5">'+ '<input type="hidden" value="'+template+'" id="template">'+ '<tr><td width="120"><label for="url">&nbsp;URL: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="url"></td>'+ '<td width="120"><label for="title">&nbsp;Title: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="title"></td></tr>'+ '<tr><td width="120"><label for="last">&nbsp;Last name: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="last"></td>'+ '<td width="120"><label for="first">&nbsp;First name: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="first"></td></tr>'+ '<tr><td width="120"><label for="coauthors">&nbsp;Coauthors: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="coauthors"></td>'+ '<td width="120"><label for="date">&nbsp;Publication date: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="date"></td></tr>'+ '<tr><td width="120"><label for="work">&nbsp;Work: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="work"></td>'+ '<td width="120"><label for="publisher">&nbsp;Publisher: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="publisher"></td></tr>'+ '<tr><td width="120"><label for="pages">&nbsp;Pages: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="pages"></td>'+ '<td width="120"><label for="language">&nbsp;Language: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="language"></td></tr>'+ '<tr><td width="120"><label for="accessdate">&nbsp;Access date: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="accessdate" value="'+ newtime +'"></td>'+ '<td width="120"><label for="location">&nbsp;Location: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="location"></td></tr>'+ '<tr><td width="120"><label for="refname">&nbsp;Reference name: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="refname"></td></tr>'+ '</table>'+ '<input type="button" value="Add citation" onClick="addcites()">'+ '</fieldset></div>'; document.getElementById('citeselect').innerHTML += form; } function citeBook() { oldFormHide(); template = "cite book"; numforms++; form = '<div id="citediv'+numforms+'">'+ '<fieldset><legend>Cite book source</legend>'+ '<table cellspacing="5">'+ '<input type="hidden" value="'+template+'" id="template">'+ '<tr><td width="120"><label for="last">&nbsp;Last name: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="last"></td>'+ '<td width="120"><label for="first">&nbsp;First name: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="first"></td></tr>'+ '<tr><td width="120"><label for="coauthors">&nbsp;Coauthors: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="coauthors"></td>'+ '<td width="120"><label for="others">&nbsp;Others: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="others"></td></tr>'+ '<tr><td width="120"><label for="title">&nbsp;Title: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="title"></td>'+ '<td width="120"><label for="editor">&nbsp;Editor: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="editor"></td></tr>'+ '<tr><td width="120"><label for="publisher">&nbsp;Publisher: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="publisher"></td>'+ '<td width="120"><label for="location">&nbsp;Location: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="location"></td></tr>'+ '<tr><td width="120"><label for="date">&nbsp;Publication date: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="date"></td>'+ '<td width="120"><label for="edition">&nbsp;Edition: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="edition"></td></tr>'+ '<tr><td width="120"><label for="series">&nbsp;Series: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="series"></td>'+ '<td width="120"><label for="volume">&nbsp;Volume: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="volume"></td></tr>'+ '<tr><td width="120"><label for="pages">&nbsp;Pages: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="pages"></td>'+ '<td width="120"><label for="chapter">&nbsp;Chapter: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="chapter"></td></tr>'+ '<tr><td width="120"><label for="isbn">&nbsp;ISBN: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="isbn"></td>'+ '<td width="120"><label for="oclc">&nbsp;OCLC: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="oclc"></td></tr>'+ '<tr><td width="120"><label for="url">&nbsp;URL: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="url"></td>'+ '<td width="120"><label for="accessdate">&nbsp;Access date: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="accessdate"></td></tr>'+ '<tr><td width="120"><label for="language">&nbsp;Language: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="language"></td>'+ '<td width="120"><label for="refname">&nbsp;Reference name: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="refname"></td></tr>'+ '</table>'+ '<input type="button" value="Add citation" onClick="addcites()">'+ '</fieldset></div>'; document.getElementById('citeselect').innerHTML += form; } function citeJournal() { oldFormHide(); template = "cite journal"; numforms++; form = '<div id="citediv'+numforms+'">'+ '<fieldset><legend>Cite book source</legend>'+ '<table cellspacing="5">'+ '<input type="hidden" value="'+template+'" id="template">'+ '<tr><td width="120"><label for="last">&nbsp;Last name: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="last"></td>'+ '<td width="120"><label for="first">&nbsp;First name: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="first"></td></tr>'+ '<tr><td width="120"><label for="coauthors">&nbsp;Coauthors: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="coauthors"></td>'+ '<td width="120"><label for="date">&nbsp;Publication date: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="date"></td></tr>'+ '<tr><td width="120"><label for="title">&nbsp;Title: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="title"></td>'+ '<td width="120"><label for="journal">&nbsp;Journal: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="journal"></td></tr>'+ '<tr><td width="120"><label for="publisher">&nbsp;Publisher: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="publisher"></td>'+ '<td width="120"><label for="location">&nbsp;Location: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="location"></td></tr>'+ '<tr><td width="120"><label for="volume">&nbsp;Volume: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="volume"></td>'+ '<td width="120"><label for="issue">&nbsp;Issue: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="issue"></td></tr>'+ '<tr><td width="120"><label for="pages">&nbsp;Pages: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="pages"></td>'+ '<td width="120"><label for="issn">&nbsp;ISSN: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="issn"></td></tr>'+ '<tr><td width="120"><label for="oclc">&nbsp;OCLC: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="oclc"></td>'+ '<td width="120"><label for="language">&nbsp;Language: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="language"></td></tr>'+ '<tr><td width="120"><label for="url">&nbsp;URL: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="url"></td>'+ '<td width="120"><label for="accessdate">&nbsp;Access date: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="accessdate"></td></tr>'+ '<tr><td width="120"><label for="refname">&nbsp;Reference name: </label></td>'+ '<td width="400"><input type="text" tabindex=1 style="width:100%" id="refname"></td></tr>'+ '</table>'+ '<input type="button" value="Add citation" onClick="addcites()">'+ '</fieldset></div>'; document.getElementById('citeselect').innerHTML += form; } function addcites(template) { cites = document.getElementById('citediv'+numforms).getElementsByTagName('input'); var citebegin = '<ref'; var citename = ''; var citeinner = ''; for (var i=0; i<cites.length-1; i++) { if (cites[i].value != '' && cites[i].id != "refname" && cites[i].id != "template") { citeinner += "|" + cites[i].id + "=" + cites[i].value; } else if (cites[i].value != '' && cites[i].id == "refname" && cites[i].id != "template") { citebegin += ' name="' + cites[i].value + '"'; } else if (cites[i].value != '' && cites[i].id != "refname" && cites[i].id == "template") { citename = '>{{' + cites[i].value; } } cite = citebegin + citename + citeinner + "}}</ref>"; $("#wpTextbox1").focus(); insertTags(cite, '', ''); document.getElementById('citediv'+numforms).style.display = 'none'; } function getNamedRefs(calls) { if (typeof(wikEdUseWikEd) != 'undefined') { if (wikEdUseWikEd == true) { WikEdUpdateTextarea(); } } text = document.getElementById('wpTextbox1').value; var regex; if (calls) { regex = /< *?ref +?name *?= *?(('([^']*?)')|("([^"]*?)")|([^'"\s]*?[^\/]\b)) *?\/ *?>/gi //' } else { regex = /< *?ref +?name *?= *?(('([^']*?)')|("([^"]*?)")|([^'"\s]*?[^\/]\b)) *?>/gi //' } var namedrefs = []; var i=0; var nr=true; do { ref = regex.exec(text); if(ref != null){ if (ref[5]) { namedrefs[i] = ref[5]; } else if (ref[3]) { namedrefs[i] = ref[3]; } else { namedrefs[i] = ref[6]; } i++; } else { nr=false; } } while (nr==true); return namedrefs; } function citeNamedRef() { namedrefs = getNamedRefs(false); if (namedrefs == '') { oldFormHide(); numforms++; out = '<div id="citediv'+numforms+'"><fieldset>'+ '<legend>References in text</legend>There are no named refs (<tt>&lt;ref name="Name"&gt;</tt>) in the text</fieldset></div>'; document.getElementById('citeselect').innerHTML += out; } else { oldFormHide(); numforms++; form = '<div id="citediv'+numforms+'">'+ '<fieldset><legend>References in article</legend>'+ '<table cellspacing="5">'+ '<tr><td><label for="namedrefs">&nbsp;Named references in text</label></td>'+ '<td><select name="namedrefs" id="namedrefs">'; for (var i=0;i<namedrefs.length;i++) { form+= '<option value="'+namedrefs[i]+'">'+namedrefs[i]+'</option>'; } form+= '</select>'+ '</td></tr></table>'+ '<input type="button" value="Add citation" onClick="addnamedcite()">'+ '</fieldset></div>'; document.getElementById('citeselect').innerHTML += form; } } function addnamedcite() { name = document.getElementById('citediv'+numforms).getElementsByTagName('select')[0].value; ref = '<ref name="'+name+'" />'; $("#wpTextbox1").focus(); insertTags(ref, '', ''); document.getElementById('citediv'+numforms).style.display = 'none'; } function getAllRefs() { if (typeof(wikEdUseWikEd) != 'undefined') { if (wikEdUseWikEd == true) { WikEdUpdateTextarea(); } } text = document.getElementById('wpTextbox1').value; regex = /< *?ref( +?name *?= *?(('([^']*?)')|("([^"]*?)")|([^'"\s]*?[^\/]\b)))? *?>((.|\n)*?)< *?\/? *?ref *?>/gim //" var allrefs = []; var i=0; var nr=true; do { ref = regex.exec(text); if(ref != null){ if (ref[0].search(/[^\s]{150}/) != -1) { ref[0] = ref[0].replace(/\|([^\s])/g, "| $1"); } ref[0] = ref[0].replace(/</g, "&lt;"); ref[0] = ref[0].replace(/>/g, "&gt;"); allrefs[i] = ref[0]; i++; } else { nr=false; } } while (nr==true); return allrefs; } function NRcallError(namedrefs, refname) { for (var i=0; i<namedrefs.length; i++) { if (namedrefs[i] == refname) { return true; } } return false; } function errorCheck() { var allrefs = getAllRefs(); var allrefscontent = []; var samecontentexclude = []; var sx=0; var templateexclude = []; var tx=0; var skipcheck = false; var namedrefcalls = getNamedRefs(true); for (var i=0; i<allrefs.length; i++) { allrefscontent[i] = allrefs[i].replace(/&lt; *?ref( +?name *?= *?(('([^']*?)')|("([^"]*?)")|([^'"\s]*?[^\/]\b)))? *?&gt;((.|\n)*?)&lt; *?\/? *?ref *?&gt;/gim, "$8"); //" } var namedrefs = getNamedRefs(false); var errorlist = []; var q=0; unclosed = document.getElementById('unclosed').checked; samecontent = document.getElementById('samecontent').checked; templates = document.getElementById('templates').checked; repeated = document.getElementById('repeated').checked; undef = document.getElementById('undef').checked; for (var i=0; i<allrefs.length; i++) { if (allrefs[i].search(/&lt; *?\/ *?ref *?&gt;/) == -1 && unclosed) { errorlist[q] = '<tr><td width="75%"><tt>'+allrefs[i]+'</tt></td>'; errorlist[q] += '<td width="25%">Unclosed <tt>&lt;ref&gt;</tt> tag</td></tr>'; q++; } if (samecontent) { for (var d=0; d<samecontentexclude.length; d++) { if (allrefscontent[i] == samecontentexclude[d]) { skipcheck = true; } } var p=0; while (p<allrefs.length && !skipcheck) { if (allrefscontent[i] == allrefscontent[p] && i != p) { errorlist[q] = '<tr><td width="75%"><tt>'+allrefscontent[i]+'</tt></td>'; errorlist[q] += '<td width="25%">Multiple refs contain this content, a <a href="//en.wikipedia.org/wiki/Wikipedia:Footnotes#Naming_a_ref_tag_so_it_can_be_used_more_than_once">named reference</a> should be used instead</td></tr>'; q++; samecontentexclude[sx] = allrefscontent[i] sx++; break; } p++; } skipcheck=false; } if (templates) { if (allrefscontent[i].search(/\{\{cite/i) == -1 && allrefscontent[i].search(/\{\{citation/i) == -1 && allrefscontent[i].search(/\{\{Comic (book|strip) reference/i) == -1 && allrefscontent[i].search(/\{\{Editorial cartoon reference/i) == -1 && allrefscontent[i].search(/\{\{harv/i) == -1) { for (var x=0; x<templateexclude.length; x++) { if (allrefscontent[i] == templateexclude[x]) { skipcheck = true; } } if (!skipcheck) { errorlist[q] = '<tr><td width="75%"><tt>'+allrefs[i]+'</tt></td>'; errorlist[q] += '<td width="25%">Does not use a <a href="//en.wikipedia.org/wiki/Wikipedia:Citation_templates">citation template</a></td></tr>'; q++; templateexclude[tx] = allrefscontent[i]; tx++; } skipcheck = false; } } } if (repeated) { var repeatnameexclude = []; var rx=0; for (var k=0; k<namedrefs.length; k++) { for (var d=0; d<repeatnameexclude.length; d++) { if (namedrefs[k] == repeatnameexclude[d]) { skipcheck = true; } } var z=0; while (z<namedrefs.length && !skipcheck) { if (namedrefs[k] == namedrefs[z] && k != z) { errorlist[q] = '<tr><td width="75%"><tt>'+namedrefs[k]+'</tt></td>'; errorlist[q] += '<td width="25%">Multiple references are given the same <a href="//en.wikipedia.org/wiki/Wikipedia:Footnotes#Naming_a_ref_tag_so_it_can_be_used_more_than_once">name</a></td></tr>'; q++; repeatnameexclude[rx] = namedrefs[z]; rx++; break; } z++; } skipcheck = false; } } if (undef) { var undefexclude = []; var ux=0; for (var p=0; p<namedrefcalls.length; p++) { for (var d=0; d<undefexclude.length; d++) { if (allrefscontent[i] == undefexclude[d]) { skipcheck = true; } } if (!skipcheck) { if (!NRcallError(namedrefs, namedrefcalls[p])) { errorlist[q] = '<tr><td width="75%"><tt>'+namedrefcalls[p]+'</tt></td>'; errorlist[q] += '<td width="25%">A <a href="//en.wikipedia.org/wiki/Wikipedia:Footnotes#Naming_a_ref_tag_so_it_can_be_used_more_than_once">named reference</a> is used but not defined</td></tr>'; q++; undefexclude[ux] = namedrefs[p]; ux++; } } skipcheck = false; } } if (q > 0) { return errorlist; } else { return 0; } } function dispErrors() { oldFormHide(); form = '<div id="errorform"><fieldset>'+ '<legend>Error checking</legend>'+ '<b>Check for:</b><br/>'+ '<input type="checkbox" id="unclosed" /> Unclosed <tt>&lt;ref&gt;</tt> tags<br/>'+ '<input type="checkbox" id="samecontent" /> References with the same content<br/>'+ '<input type="checkbox" id="templates" /> References not using a <a href="//en.wikipedia.org/wiki/Wikipedia:Citation_templates">citation template</a><br/>'+ '<input type="checkbox" id="repeated" /> Multiple references with the same name<br/>'+ '<input type="checkbox" id="undef" /> Usage of undefined named references<br/>'+ '<input type="button" id="errorchecksubmit" value="Check for selected errors" onclick="doErrorCheck()"/>'+ '</fieldset></div>'; document.getElementById('citeselect').innerHTML += form; } function doErrorCheck() { var errors = errorCheck(); document.getElementById('citeselect').removeChild(document.getElementById('errorform')); if (errors == 0) { if (numforms != 0) { document.getElementById('citediv'+numforms).style.display = 'none'; } numforms++; out = '<div id="citediv'+numforms+'"><fieldset>'+ '<legend>Error checking</legend>No errors found.</fieldset></div>'; document.getElementById('citeselect').innerHTML += out; } else { if (numforms != 0) { document.getElementById('citediv'+numforms).style.display = 'none'; } numforms++; form = '<div id="citediv'+numforms+'">'+ '<fieldset><legend>Error checking</legend>'+ '<table border="1px">'; for (var i=0; i<errors.length; i++) { form+=errors[i]; } form+= '</table>'+ '</fieldset></div>'; document.getElementById('citeselect').innerHTML += form; } } $( refbuttons ); 6lyxslwb3hwl9w7ng3n8k6i9137c6b6 ويكي الاقتباس:GUS2Wiki 4 51277 277402 277286 2026-11-02T15:31:22Z Alexis Jazz 25037 Updating gadget usage statistics from [[Special:GadgetUsage]] ([[phab:T121049]]) 277402 wikitext text/x-wiki {{#ifexist:Project:GUS2Wiki/top|{{/top}}|This page provides a historical record of [[Special:GadgetUsage]] through its page history. To get the data in CSV format, see wikitext. To customize this message or add categories, create [[/top]].}} البيانات التالية مخزنة، وكان آخر تحديث لها في 2026-11-01T05:05:50Z. العدد الأقصى للنتائج المخزنة هو {{PLURAL:5000||نتيجة واحدة|نتيجتان|5000 نتائج|5000 نتيجة}}. {| class="sortable wikitable" ! الإضافة !! data-sort-type="number" | عدد المستخدمين !! data-sort-type="number" | مستخدمين نشطين |- |CatMaker || 36 || 2 |- |HotCat || 99 || 6 |} * [[خاص:GadgetUsage]] * [[m:Meta:GUS2Wiki/Script|GUS2Wiki]] <!-- data in CSV format: CatMaker,36,2 HotCat,99,6 --> 893kn61v4nddshz8jfvvqglabpwadq8 قالب:بطاقة/icones.css 10 58070 277407 248644 2026-11-02T18:06:43Z Maintenance script 12260 Use thumb.wikimedia.org for thumbnails ([[phab:T427465]], Operator: Ladsgroup) 277407 sanitized-css text/css .entete.aerostat { background: url(//upload.wikimedia.org/wikipedia/commons/7/7e/Picto_infobox_aerostat.png) no-repeat top right; } .entete.aikido { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/1/1b/Aikido_pictogram.svg/40px-Aikido_pictogram.svg.png) no-repeat top right; } .entete.alpinisme { background: url(//upload.wikimedia.org/wikipedia/commons/d/df/Picto_infobox_alpinisme.png) no-repeat top right; } .entete.arbitre { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/a/a7/Referee_football_pictogram.svg/35px-Referee_football_pictogram.svg.png) no-repeat top right; } .entete.arc { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/8/8e/Archery_pictogram.svg/35px-Archery_pictogram.svg.png) no-repeat top right; } .entete.archives2 { background: url(//upload.wikimedia.org/wikipedia/commons/d/d6/Picto_infobox_archives.png) no-repeat top right; } .entete.arduino, .entete.electro { background: url(//upload.wikimedia.org/wikipedia/commons/c/ce/Arduino_ftdi_chip-1.png) no-repeat top right; } .entete.artiste { background: url(//upload.wikimedia.org/wikipedia/commons/f/f3/Picto_infobox_artiste.png) no-repeat top right; } .entete.artsmartiauxjap { background: url(//upload.wikimedia.org/wikipedia/commons/8/81/Picto_infobox_samourai.png) no-repeat top right; } .entete.association { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/e/ea/Collaboration_logo_infobox.svg/50px-Collaboration_logo_infobox.svg.png) no-repeat top right; } .entete.athletisme { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/8/8f/Athletics_pictogram.svg/40px-Athletics_pictogram.svg.png) no-repeat top right; } .entete.audio { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/35px-Gnome-speakernotes.png) no-repeat top right; } .entete.auteur { background: url(//upload.wikimedia.org/wikipedia/commons/1/1e/Picto_infobox_auteur.png) no-repeat top right; } .entete.autogire { background: url(//upload.wikimedia.org/wikipedia/commons/e/e6/Picto_Autogyro.png) no-repeat top right; } .entete.automobile { background: url(//upload.wikimedia.org/wikipedia/commons/9/99/Picto_infobox_automobil.png) no-repeat top right; } .entete.avion { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/f/f1/Airplane_silhouette_white.svg/40px-Airplane_silhouette_white.svg.png) no-repeat top right; } .entete.aviron { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/5/57/Rowing_pictogram.svg/35px-Rowing_pictogram.svg.png) no-repeat top right; } .entete.badminton { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/9/90/Badminton_pictogram.svg/35px-Badminton_pictogram.svg.png) no-repeat top right; } .entete.baseball { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/3/3c/Baseball_pictogram.svg/35px-Baseball_pictogram.svg.png) no-repeat top right; } .entete.basket-ball { background: url(//upload.wikimedia.org/wikipedia/commons/f/f4/Picto_Infobox_Basketball.png) no-repeat top right; } .entete.bd { background: url(//upload.wikimedia.org/wikipedia/commons/2/2c/Picto_infobox_comicballoon.png) no-repeat top right; } .entete.biathlon { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/0/00/Biathlon_pictogram.svg/40px-Biathlon_pictogram.svg.png) no-repeat top right; } .entete.biere { background: url(//upload.wikimedia.org/wikipedia/commons/0/04/Picto_infobox_beer.png) no-repeat top right; } .entete.book, .entete.universite { background: url(//upload.wikimedia.org/wikipedia/commons/4/42/Picto_infobox_book.png) no-repeat top right; } .entete.boxe { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/c/c2/Boxing_pictogram.svg/35px-Boxing_pictogram.svg.png) no-repeat top right; } .entete.calendrier { background: url(//upload.wikimedia.org/wikipedia/commons/4/4a/Almanacco.png) no-repeat top right; } .entete.camera { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/8/80/Camera-photo.svg/120px-Camera-photo.svg.png) no-repeat top right; } .entete.canada { background: url(//upload.wikimedia.org/wikipedia/commons/6/6a/Picto_infobox_Canada.png) no-repeat top right; } .entete.cardinal { background: url(//upload.wikimedia.org/wikipedia/commons/0/03/Picto_infobox_cardinal.png) no-repeat top right; } .entete.catch { background: url(//upload.wikimedia.org/wikipedia/commons/7/79/Picto_infobox_catch.png) no-repeat top right; } .entete.chateau { background: url(//upload.wikimedia.org/wikipedia/commons/5/5c/Picto_infobox_chateau.png) no-repeat top right; } .entete.chimie { background: url(//upload.wikimedia.org/wikipedia/commons/c/ce/Picto_infobox_chemistry_HUN.png) no-repeat top right; } .entete.cinema { background: url(//upload.wikimedia.org/wikipedia/commons/e/ea/Picto_infobox_cinema.png) no-repeat top right; } .entete.commonwealth { background: url(//upload.wikimedia.org/wikipedia/commons/d/db/Picto_infobox_Commonwealth.png) no-repeat top right; } .entete.communication { background: url(//upload.wikimedia.org/wikipedia/commons/a/a2/Picto_infobox_antenna.png) no-repeat top right; } .entete.cyclisme { background: url("//thumb.wikimedia.org/wikipedia/commons/thumb/8/86/Cycling_%28road%29_pictogram.svg/45px-Cycling_%28road%29_pictogram.svg.png") no-repeat top right; } .entete.deportation { background: url(//upload.wikimedia.org/wikipedia/commons/e/e0/Picto_Infobox_deportation.png) no-repeat top right; } .entete.diplomatie { background: url(//upload.wikimedia.org/wikipedia/commons/e/e0/Picto_infobox_ambassade.png) no-repeat top right; } .entete.disney { background: url(//upload.wikimedia.org/wikipedia/commons/d/d3/Picto_infobox_Disney.png) no-repeat top right; } .entete.droit { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/1/17/Balance%2C_by_David.svg/40px-Balance%2C_by_David.svg.png) no-repeat top right; } .entete.drone-civil { background: url(//upload.wikimedia.org/wikipedia/commons/c/ce/Picto_infobox_civil_drone.png) no-repeat top right; background-size: 45px 45px; } .entete.egypte-antique { background: url(//upload.wikimedia.org/wikipedia/commons/c/cc/Picto_infobox_ancient_Egypt.png) no-repeat top right; } .entete.entreprise { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/1/19/Factory_black.png/40px-Factory_black.png) no-repeat top right; } .entete.entreprise-blanc { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/0/0e/Factory_white.png/40px-Factory_white.png) no-repeat top right; } .entete.equitation { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/2/24/Equestrian_pictogram.svg/35px-Equestrian_pictogram.svg.png) no-repeat top right; } .entete.escalade { background: url(//upload.wikimedia.org/wikipedia/commons/e/e1/Picto_infobox_escalade.png) no-repeat top right; } .entete.escalade { background: url(//upload.wikimedia.org/wikipedia/commons/f/f4/Picto_infobox_alpinisme-escalade.png) no-repeat top right; } .entete.escrime { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/0/02/Fencing_pictogram.svg/35px-Fencing_pictogram.svg.png) no-repeat top right; } .entete.espagne { background: url(//upload.wikimedia.org/wikipedia/commons/1/11/Picto_Infobox_Coat_of_Arms_of_Spain.png) no-repeat top right; } .entete.eveque { background: url(//upload.wikimedia.org/wikipedia/commons/b/b3/Picto_infobox_bishop.png) no-repeat top right; } .entete.factory { background: url(//upload.wikimedia.org/wikipedia/commons/f/ff/Picto_infobox_enterprise.png) no-repeat top right; } .entete.floorball { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/e/e9/Floorball_pictogram.svg/35px-Floorball_pictogram.svg.png) no-repeat top right; } .entete.fondeur { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/6/6c/Cross_country_skiing_pictogram.svg/40px-Cross_country_skiing_pictogram.svg.png) no-repeat top right; } .entete.football { background: url(//upload.wikimedia.org/wikipedia/commons/f/f8/Infobox_Football_pictogram.png) no-repeat top right; } .entete.footballblack { background: url(//upload.wikimedia.org/wikipedia/commons/8/86/Picto_infobox_fotbal_2.png) no-repeat top right; } .entete.footUS { background: url(//upload.wikimedia.org/wikipedia/commons/4/4e/Picto_Foot_US.png) no-repeat top right; } .entete.futsal { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/b/b0/Futsal_pictogram.svg/35px-Futsal_pictogram.svg.png) no-repeat top right; } .entete.golf { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/5/5f/Golf_pictogram.svg/35px-Golf_pictogram.svg.png) no-repeat top right; } .entete.grappe { background: url(//upload.wikimedia.org/wikipedia/commons/7/73/Icone_oenobox.png) no-repeat top right; } .entete.gymnastique { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/1/12/Gymnastics_%28artistic%29_pictogram.svg/35px-Gymnastics_%28artistic%29_pictogram.svg.png) no-repeat top right; } .entete.handball { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/3/37/Handball_pictogram_white.svg/35px-Handball_pictogram_white.svg.png) no-repeat top right; } .entete.handballblack { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/5/52/Handball_pictogram.svg/35px-Handball_pictogram.svg.png) no-repeat top right; } .entete.helicoptere { background: url(//upload.wikimedia.org/wikipedia/commons/f/fa/Picto_infobox_helicopter.png) no-repeat top right; } .entete.hockey { background: url(//upload.wikimedia.org/wikipedia/commons/e/ee/Picto_Infobox_Ice_hockey.png) no-repeat top right; } .entete.hockey-sur-gazon { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/6/6b/Field_hockey_pictogram.svg/35px-Field_hockey_pictogram.svg.png) no-repeat top right; } .entete.hospitaliers { background: url(//upload.wikimedia.org/wikipedia/commons/1/1e/Picto_infobox_Hospitaliers.png) no-repeat top right; } .entete.humain { background: url(//upload.wikimedia.org/wikipedia/commons/8/82/Picto_infobox_manwoman.png) no-repeat top right; } .entete.informatique { background: url(//upload.wikimedia.org/wikipedia/commons/a/ae/Picto-infoboxinfo.png) no-repeat top right; } .entete.internet { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/2/2c/Web-browser-openclipart.svg/45px-Web-browser-openclipart.svg.png) no-repeat top right; } .entete.israel-judaisme { background: url(//upload.wikimedia.org/wikipedia/commons/a/a5/Picto_infobox_israel-judaisme.png) no-repeat top right; } .entete.jeu { background: url(//upload.wikimedia.org/wikipedia/commons/9/90/Picto_infobox_Game.png) no-repeat top right; } .entete.jeu-role { background: url("//upload.wikimedia.org/wikipedia/commons/d/d8/Picto_infobox_Jeu_de_rôle.png") no-repeat top right; } .entete.jeuvideo , .entete.jeuvideov3 { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/6/69/Kontrollikon_1.0d_-_Grey.svg/35px-Kontrollikon_1.0d_-_Grey.svg.png) no-repeat top right; } .entete.judo { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/f/fa/Judo_pictogram.svg/40px-Judo_pictogram.svg.png) no-repeat top right; } .entete.karate { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/4/4e/Karate_pictogram.svg/40px-Karate_pictogram.svg.png) no-repeat top right; } .entete.kayak { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/3/3c/Canoeing_%28flatwater%29_pictogram.svg/35px-Canoeing_%28flatwater%29_pictogram.svg.png) no-repeat top right; } .entete.kickboxing { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/f/f1/Kickboxing_pictogram.svg/40px-Kickboxing_pictogram.svg.png) no-repeat top right; } .entete.lutte { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/1/12/Wrestling_pictogram.svg/40px-Wrestling_pictogram.svg.png) no-repeat top right; } .entete.macintosh { background: url(//upload.wikimedia.org/wikipedia/commons/2/20/Picto_infobox_Macintosh.png) no-repeat top right; } .entete.malte { background: url(//upload.wikimedia.org/wikipedia/commons/e/e4/Picto_infobox_Malte.png) no-repeat top right; } .entete.map { background: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png) no-repeat top right; } .entete.medecine { background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Picto_infobox_med.png) no-repeat top right; } .entete.mets { background: url(//upload.wikimedia.org/wikipedia/commons/a/aa/Picto_infobox_mets.png) no-repeat top right; } .entete.militaire { background: url(//upload.wikimedia.org/wikipedia/commons/0/03/Picto_infobox_military.png) no-repeat top right; background-size: 45px 45px; } .entete.money, .entete.money_coin { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/6/67/Money_Coin_Icon.svg/40px-Money_Coin_Icon.svg.png) no-repeat top right; } .entete.montreal-metro, .entete.metro { background: url(//upload.wikimedia.org/wikipedia/commons/b/ba/Picto_infobox_Mtl_metro.png) no-repeat top right; } .entete.montreal-train { background: url(//upload.wikimedia.org/wikipedia/commons/9/99/Picto_infobox_Mtl_train.png) no-repeat top right; } .entete.moteur-avion { background: url(//upload.wikimedia.org/wikipedia/commons/9/9c/Picto_Infobox_moteur_d%27avion.png) no-repeat top right; } .entete.mosque { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/4/49/Picto_infobox_Mosque.svg/35px-Picto_infobox_Mosque.svg.png) no-repeat top right; } .entete.musee, .entete.museum, .entete.papyrus { background: url("//upload.wikimedia.org/wikipedia/commons/1/1b/Picto_infobox_papyrus.png") no-repeat top right; } .entete.musique, .entete.music { background: url(//upload.wikimedia.org/wikipedia/commons/6/60/Picto_infobox_music.png) no-repeat top right; } .entete.natation { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/0/0a/Swimming_pictogram_white.png/35px-Swimming_pictogram_white.png) no-repeat top right; } .entete.nations-unies { background: url(//upload.wikimedia.org/wikipedia/commons/3/3a/Picto_infobox_UN.png) no-repeat top right; } .entete.omnisports { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/5/5e/Sport3_icone.svg/35px-Sport3_icone.svg.png) no-repeat top right; } .entete.palace { background: url(//upload.wikimedia.org/wikipedia/commons/5/5e/Pictogram_infobox_palace.png) no-repeat top right; } .entete.paralympique { background: url(//upload.wikimedia.org/wikipedia/commons/5/5e/Picto_infobox_Paralympics.png) no-repeat top right; } .entete.persofiction { background: url(//upload.wikimedia.org/wikipedia/commons/3/37/Picto_infobox_masks.png) no-repeat top right; } .entete.petrole { background: url(//upload.wikimedia.org/wikipedia/commons/b/ba/Picto_Infobox_Oil.png) no-repeat top right; } .entete.planeur { background: url(//upload.wikimedia.org/wikipedia/commons/5/54/Picto_infobox_planeur.png) no-repeat top right; } .entete.plateforme { background: url(//upload.wikimedia.org/wikipedia/commons/5/5d/Picto_Infobox_Oil_Platform.png) no-repeat top right; } .entete.poker { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/7/7d/Crystal_Clear_app_Cardgame-3.svg/50px-Crystal_Clear_app_Cardgame-3.svg.png) no-repeat top right; } .entete.presse { background: url(//upload.wikimedia.org/wikipedia/commons/3/39/Picto_infobox_journal-ar.png) no-repeat top right; } .entete.pretendant { background: url(//upload.wikimedia.org/wikipedia/commons/5/5f/Picto_infobox_pr%C3%A9tendant_%C3%A0_un_tr%C3%B4ne.png) no-repeat top right; } .entete.projet, .entete.project { background: url(//upload.wikimedia.org/wikipedia/commons/c/cb/Picto_infobox_tools.png) no-repeat top right; } .entete.psychologie { background: url(//upload.wikimedia.org/wikipedia/commons/7/77/Picto_infobox_psycho.png) no-repeat top right; } .entete.quebec { background: url(//upload.wikimedia.org/wikipedia/commons/2/21/Picto_infobox_Quebec.png) no-repeat top right; } .entete.recherche { background: url(//upload.wikimedia.org/wikipedia/commons/c/c1/Picto_infobox_detective.png) no-repeat top right; } .entete.rinkhockey { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/3/3b/Roller_hockey_pictogram.svg/35px-Roller_hockey_pictogram.svg.png) no-repeat top right; } .entete.rome-antique { background: url(//upload.wikimedia.org/wikipedia/commons/3/3c/Picto_infobox_Roman_military_banner.png) no-repeat top right; } .entete.route { background: url(//upload.wikimedia.org/wikipedia/commons/e/e7/Infobox_road_pictogram.png) no-repeat top right; } .entete.rugby { background: url(//upload.wikimedia.org/wikipedia/commons/0/06/Picto_Infobox_Rugby.png) no-repeat top right; } .entete.rugbyblack { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/f/f4/Rugby_union_pictogram.svg/35px-Rugby_union_pictogram.svg.png) no-repeat top right; } .entete.satellite { background: url("//upload.wikimedia.org/wikipedia/commons/8/8d/Picto_infobox_satellite.png") no-repeat top right; } .entete.sautski { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/3/3d/Ski_jumping_pictogram.svg/40px-Ski_jumping_pictogram.svg.png) no-repeat top right; } .entete.science-fiction { background: url(//upload.wikimedia.org/wikipedia/commons/e/ed/Picto_infobox_fliyingsaucer.png) no-repeat top right; } .entete.serie-video { background: url("//upload.wikimedia.org/wikipedia/commons/e/e0/Logo_television_blanc.png") no-repeat top right; background-size: 45px 45px; } .entete.ski-alpin { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/a/a1/Alpine_skiing_pictogram.svg/40px-Alpine_skiing_pictogram.svg.png) no-repeat top right; } .entete.snooker { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/0/0d/Cue_sports_pictogram.svg/40px-Cue_sports_pictogram.svg.png) no-repeat top right; } .entete.software { background: url(//upload.wikimedia.org/wikipedia/commons/f/fe/Picto_infobox_software.png) no-repeat top right; } .entete.sport { background: url(//upload.wikimedia.org/wikipedia/commons/8/8e/Picto_infobox_Olympic.png) no-repeat top right; } .entete.sport-automobile { background: url(//upload.wikimedia.org/wikipedia/commons/a/af/Picto_infobox_sport_auto.png) no-repeat top right; } .entete.squash { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/d/da/Squash_pictogram.svg/35px-Squash_pictogram.svg.png) no-repeat top right; } .entete.stadium { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/f/fd/Stadium.svg/40px-Stadium.svg.png) no-repeat top right; } .entete.starwars { background: url(//upload.wikimedia.org/wikipedia/commons/f/f7/Star_Wars_Infobox_Pictogram.png) no-repeat top right; } .entete.surf { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/f/fa/Surfing_pictogram.svg/35px-Surfing_pictogram.svg.png) no-repeat top right; } .entete.taekwondo { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/d/d3/Taekwondo_pictogram.svg/40px-Taekwondo_pictogram.svg.png) no-repeat top right; } .entete.television { background: url(//upload.wikimedia.org/wikipedia/commons/a/a6/Picto_infobox_TV-T%26PC.png) no-repeat top right; } .entete.templiers { background: url(//upload.wikimedia.org/wikipedia/commons/3/30/Picto_infobox_Templiers.png) no-repeat top right; } .entete.tennis { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/e/ed/Tennis_pictogram_white.svg/35px-Tennis_pictogram_white.svg.png) no-repeat top right; } .entete.tennis-de-table { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/9/9a/Table_tennis_pictogram_white.svg/40px-Table_tennis_pictogram_white.svg.png) no-repeat top right; } .entete.tennis-de-tableblack { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/8/85/Table_tennis_pictogram.svg/35px-Table_tennis_pictogram.svg.png) no-repeat top right; } .entete.timbre { background: url(//upload.wikimedia.org/wikipedia/commons/b/b3/Picto_infobox_Stamps.png) no-repeat top right; } .entete.train { background: url(//upload.wikimedia.org/wikipedia/commons/3/3f/Infobox_train.png) no-repeat top right; } .entete.triathlon { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/b/b1/Triathlon_pictogram.svg/40px-Triathlon_pictogram.svg.png) no-repeat top right; } .entete.ultimate { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/e/e7/Ultimate_pictogram.svg/70px-Ultimate_pictogram.svg.png) no-repeat top right; } .entete.union-europeenne { background: url(//upload.wikimedia.org/wikipedia/commons/c/c0/Picto_Infobox_Europe.png) no-repeat top right; } .entete.video { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/2/20/Tango-video-x-generic.png/35px-Tango-video-x-generic.png) no-repeat top right; } .entete.voile { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/c/c1/Sailing_pictogram.svg/40px-Sailing_pictogram.svg.png) no-repeat top right; } .entete.volleyball { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/c/ca/Volleyball_%28indoor%29_pictogram.svg/35px-Volleyball_%28indoor%29_pictogram.svg.png) no-repeat top right; } .entete.water-polo { background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/0/0e/Water_polo_pictogram.svg/40px-Water_polo_pictogram.svg.png) no-repeat top right; } kz5gy5kmxds5zrr0mxu59z879qdpp8n قالب:بطاقة/infobox v3/styles.css 10 58071 277408 248728 2026-11-02T18:06:45Z Maintenance script 12260 Use thumb.wikimedia.org for thumbnails ([[phab:T427465]], Operator: Ladsgroup) 277408 sanitized-css text/css @media screen and (prefers-color-scheme: dark) { html.skin-theme-clientpref-os .infobox_v3 { background-color: #212529 !important; border: solid 1px #4b5156 !important; color: #ffffff !important; } html.skin-theme-clientpref-os .infobox_v3 .entete { background-color: #303540 !important; color: #ffffff !important; } html.skin-theme-clientpref-os .infobox_v3 td { background-color: #212529 !important; color: #ffffff !important; } html.skin-theme-clientpref-os .infobox_v3 caption { background-color: #343a40 !important; color: #ffffff !important; } html.skin-theme-clientpref-os .infobox_v3 th[scope="row"] { background-color: #2c3034 !important; color: #ffffff !important; } html.skin-theme-clientpref-os .infobox_v3 .navigation-only { border-top: 2px #E1E1E1 dotted !important; } html.skin-theme-clientpref-os .infobox_v3 a:link { text-decoration: initial !important; color: var(--color-progressive) !important } } @media screen { html.skin-theme-clientpref-night .infobox_v3 { background-color: #212529 !important; border: solid 1px #4b5156 !important; color: #ffffff !important; } html.skin-theme-clientpref-night .infobox_v3 .entete { background-color: #303540 !important; color: #ffffff !important; } html.skin-theme-clientpref-night .infobox_v3 td { background-color: #212529 !important; color: #ffffff !important; } html.skin-theme-clientpref-night .infobox_v3 caption { background-color: #343a40 !important; color: #ffffff !important; } html.skin-theme-clientpref-night .infobox_v3 th[scope="row"] { background-color: #2c3034 !important; color: #ffffff !important; } html.skin-theme-clientpref-night .infobox_v3 .navigation-only { border-top: 2px #E1E1E1 dotted !important; } html.skin-theme-clientpref-night .infobox_v3 a:link { text-decoration: initial !important; color: var(--color-progressive) !important } } /* Infobox V3 */ div.infobox_v3 { padding: 4px; width: 25em !important; background-color: #f9f9f9; color: var(--color-emphasized, #000); border: 1px solid #aaa; clear: left; float: left; font-size: 0.9em; line-height: 1.4; margin: 0 0 0.5em 1em; max-width: 325px; word-wrap: break-word; } .infobox_v3 .secTable{ border-radius: unset; color: inherit; margin: unset !important; border: unset; } .infobox_v3 .entete { display: table; height: 45px; width: 100%; font-weight: bold; text-align: center; font-size: 1.4em; line-height: 1.1; margin-bottom: 10px; background-color: #dfedff; } .infobox_v3 .entete > div { display: table-cell; vertical-align: middle; padding: 3px; } .infobox_v3:not(.large) .entete.icon > div { padding: 3px 48px; } /* الصور */ .infobox_v3 .images { text-align: center; display: flex; justify-content: space-around; align-items: center; } .infobox_v3 .images a { max-width: 100%; flex: 0 0 auto; /* be kind ie11 */ } .infobox_v3 .deux-images a { max-width: 48%; } .infobox_v3 .images img { max-width: 100%; height: auto; } .infobox_v3 .legend { font-size: 0.9em; text-align: center; margin: 5px 0 8px 0; } /* الجداول */ .infobox_v3 table , .secTable{ width: 100%; margin: 2px 0; table-layout: fixed; border-collapse: separate; } .infobox_v3 th[scope="col"] { text-align: center; word-wrap: normal; } .infobox_v3 th[scope=row] { text-align: right; padding-right: 10px; width: 8em; max-width: 140px; word-wrap: normal; background-color:#F3F3F3; } .infobox_v3 th[scope=row], .infobox_v3 td { padding-top: 4px; vertical-align: super; } .infobox_v3 th[scope=row].middle { vertical-align: middle; } .infobox_v3.bordered th[scope=row], .infobox_v3.bordered td { padding-bottom: 4px; border-top: 1px solid #dfedff; } .infobox_v3.bordered caption.bordered { margin: 0 0 -1px 0; } .infobox_v3 tr.left td { text-align: right; } .infobox_v3 tr.vborder td { border-left: 1px dotted #aaa; } .infobox_v3 tr.vborder td:first-child { border-left: none; } .infobox_v3 td.data { text-align: center; } .infobox_v3 tr:first-child ul:first-child { margin-top: 0; } .infobox_v3 .url { direction: ltr; text-align: left; font-size: 0.9em; } /* عناوين الأقسام والجداول */ .infobox_v3 p.bloc, .infobox_v3 caption { font-weight: bold; text-align: center; line-height: 1.1; margin: 0 0 2px 0; padding: 4px; background: #dfedff; } .infobox_v3 p.bloc { margin: 5px 0; } .infobox_v3 caption.bordered, .infobox_v3 p.bordered { border-top: 1px solid #dfedff; border-bottom: 1px solid #dfedff; background: transparent; } .infobox_v3 .bordered.navbar, .infobox_v3 .bordered.nav { padding-top: 4px; border-bottom: 0; } .infobox_v3 caption.hidden { margin: 0 !important; padding: 0 !important; } /* Séparateur */ .infobox_v3 .hr { font-size: 1px; line-height: 1px; margin: 5px 0; background-color: #dfedff; clear: both; } .infobox_v3 .hr.collapse { margin: 5px 0 -8px 0; } /* Tnavbar */ .infobox_v3 .navbar { text-align: right; font-size: 0.8em !important; line-height: 1.1; margin: 8px 0 0; } .infobox_v3 .navbar .plainlinks { float: right; } /* Navigateur */ .infobox_v3 .overflow { overflow: hidden; width: 100% } .infobox_v3 .prev a, .infobox_v3 .prev_bloc { background: url("//thumb.wikimedia.org/wikipedia/commons/thumb/1/10/ArrowRightNavbox.svg/12px-ArrowRightNavbox.svg.png") no-repeat right center; float: right; max-width:70%; /* 40%;*/ padding: 3px 18px 3px 3px; text-align: right; background-color:#F3F3F3; margin : 3px; } .infobox_v3 .next a, .infobox_v3 .next_bloc { background: url("//thumb.wikimedia.org/wikipedia/commons/thumb/4/49/ArrowLeftNavbox.svg/12px-ArrowLeftNavbox.svg.png") no-repeat left center; float: left; max-width:70%; /* 40%;*/ padding: 3px 3px 3px 18px; text-align: left; background-color:#F3F3F3; direction:ltr; margin : 3px; } /* Divers */ .infobox_v3 table.maillot-equipe td { padding: 0; } .infobox_v3 table.maillot-equipe { table-layout: auto; } .infobox_v3 a.NavToggle { position: unset; } .mwe-math-mathml-a11y { width: auto !important; height: auto !important; } rgnk8rigyd9lpmcjvis7omdbq1oxu20