<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ar">
	<id>https://3rabica.org/index.php?action=history&amp;feed=atom&amp;title=%D9%82%D8%A7%D9%84%D8%A8%3ACitation_Style_documentation%2Fanchors</id>
	<title>قالب:Citation Style documentation/anchors - تاريخ المراجعة</title>
	<link rel="self" type="application/atom+xml" href="https://3rabica.org/index.php?action=history&amp;feed=atom&amp;title=%D9%82%D8%A7%D9%84%D8%A8%3ACitation_Style_documentation%2Fanchors"/>
	<link rel="alternate" type="text/html" href="https://3rabica.org/index.php?title=%D9%82%D8%A7%D9%84%D8%A8:Citation_Style_documentation/anchors&amp;action=history"/>
	<updated>2026-06-06T03:10:12Z</updated>
	<subtitle>تاريخ التعديل لهذه الصفحة في الويكي</subtitle>
	<generator>MediaWiki 1.43.7</generator>
	<entry>
		<id>https://3rabica.org/index.php?title=%D9%82%D8%A7%D9%84%D8%A8:Citation_Style_documentation/anchors&amp;diff=696438&amp;oldid=prev</id>
		<title>عبد العزيز: بوت: إصلاح أخطاء فحص أرابيكا من 1 إلى 104</title>
		<link rel="alternate" type="text/html" href="https://3rabica.org/index.php?title=%D9%82%D8%A7%D9%84%D8%A8:Citation_Style_documentation/anchors&amp;diff=696438&amp;oldid=prev"/>
		<updated>2023-06-29T13:36:13Z</updated>

		<summary type="html">&lt;p&gt;بوت: إصلاح أخطاء فحص أرابيكا من 1 إلى 104&lt;/p&gt;
&lt;p&gt;&lt;b&gt;صفحة جديدة&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== الاقتباسات المرتبطة ==&lt;br /&gt;
This citation template can be used in {{sfnote}} أو {{paren}}. It does this by creating an [[عنصر (لغة ترميز النص الفائق)#Anchor|HTML anchor]] containing an ID that can be linked to from within the body of the article. This is done by use of the &amp;#039;&amp;#039;&amp;#039;ref&amp;#039;&amp;#039;&amp;#039; parameter.&lt;br /&gt;
&lt;br /&gt;
By default, this template does not generate an ID. For most purposes, {{وسيط قالب|ref|harv}} is used to created an ID from the term {{em|CITEREF}}, plus last names of the first four authors, or the last names of the first four editors, plus the year or date. Examples:&lt;br /&gt;
&lt;br /&gt;
{{توصيف|t2=ID&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{{استشهاد بكتاب|last=Harwood |first=William B |title=Raise Heaven and Earth |year=1993 }}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|CITEREFHarwood1993&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{{استشهاد بكتاب|last1=Brett |first1=Daniel |last2=Hardman |first2=George |last3=Ratycz |first3=Rostyslaw |title=Pershing: ST-120 Stabilizing Platform Familiarization |year=1964 }}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|CITEREFBrettHardmanRatycz1964&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Some editors may choose to place multiple authors into one parameter. Punctuation is encoded thus the output is not as expected. مثال :&lt;br /&gt;
{{توصيف|t2=ID&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{{استشهاد بكتاب|authors=Daniel; Hardman, George; Ratycz, Rostyslaw |title=Pershing: ST-120 Stabilizing Platform Familiarization |year=1964 }}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|CITEREFDaniel.3B_Hardman.2C_George.3B_Ratycz.2C_Rostyslaw1964&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
It is highly recommended that the &amp;#039;&amp;#039;&amp;#039;last1&amp;#039;&amp;#039;&amp;#039; through &amp;#039;&amp;#039;&amp;#039;last9&amp;#039;&amp;#039;&amp;#039; أو &amp;#039;&amp;#039;&amp;#039;editor1-last&amp;#039;&amp;#039;&amp;#039; through &amp;#039;&amp;#039;&amp;#039;editor1-last4&amp;#039;&amp;#039;&amp;#039; parameters be used when anchors are desired.&lt;br /&gt;
&lt;br /&gt;
Where there may not be an author or date, then {{وسيط قالب|ref|&amp;lt;var&amp;gt;ID&amp;lt;/var&amp;gt;}} is used to generate a user defined ID.&lt;br /&gt;
&lt;br /&gt;
{{توصيف|t2=ID&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{{Cite journal|title=Pershing Rockets for Europe |journal=Interavia |year=1961 |ref=CITEREFInteravia1961}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|CITEREFInteravia1961&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
It is highly recommended that the ID begin with CITEREF, as this will allow error checking tools to function. A custom ID must follow these rules:&lt;br /&gt;
* Names may not start with a number.&lt;br /&gt;
* The only characters that may be used unencoded are letters A–Z, a–z, and digits 0–9.&lt;br /&gt;
* Inclusion of any other characters will result in them being dot encoded.&lt;br /&gt;
::It is recommended that names be kept simple and restricted to the standard [[أبجدية إنجليزية]] and numerals.&lt;br /&gt;
&lt;br /&gt;
=== التواريخ ===&lt;br /&gt;
This templates supports &amp;#039;&amp;#039;&amp;#039;date&amp;#039;&amp;#039;&amp;#039;، &amp;#039;&amp;#039;&amp;#039;year&amp;#039;&amp;#039;&amp;#039; و &amp;#039;&amp;#039;&amp;#039;month&amp;#039;&amp;#039;&amp;#039;. It is important to use these parameters properly to prevent a malformed ID.&lt;br /&gt;
* Month, day, year: Use &amp;#039;&amp;#039;&amp;#039;date&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Year only: Use &amp;#039;&amp;#039;&amp;#039;year&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Year and month: Use &amp;#039;&amp;#039;&amp;#039;year&amp;#039;&amp;#039;&amp;#039; و &amp;#039;&amp;#039;&amp;#039;month&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If a year only is used in &amp;#039;&amp;#039;&amp;#039;date&amp;#039;&amp;#039;&amp;#039;, then it may be interpreted as a time, and the ID will not be as expected.&lt;br /&gt;
&lt;br /&gt;
{{توصيف&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
. The special parameter {{وسيط قالب|ref|harv}} generates an ID suitable for [[Harvard referencing]] templates such as {{قا|Harvard citation}} as specified in the next section; this is the default for the {{قا|citation}} template. If an empty {{وسيط قالب|ref}} is given, no anchor is generated; this is the default for the Cite templates such as {{قا|مرجع كتاب}} و {{قا|استشهاد بخبر}}. You can also specify the ID directly, using the {{وسيط قالب|ref|&amp;lt;var&amp;gt;ID&amp;lt;/var&amp;gt;}} parameter. على سبيل المثال, suppose an article&amp;#039;s &amp;#039;&amp;#039;References&amp;#039;&amp;#039; section contains the markup:&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{استشهاد |author=Sigmund Freud |title=Civilization and Its Discontents |year=1930 |ref=CivDis}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
which generates the citation:&lt;br /&gt;
* {{استشهاد |author=Sigmund Freud |title=Civilization and Its Discontents |year=1930 |ref=CivDis}}&lt;br /&gt;
Then, the markup &amp;quot;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;([[#CivDis|Freud 1930]])&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;quot; generates a parenthetical reference &amp;quot;([[#CivDis|Freud 1930]])&amp;quot; containing a wikilink to the citation (try clicking on the wikilink).&lt;br /&gt;
&lt;br /&gt;
=== Anchors لقوالب مرجعية هارفارد ===&lt;br /&gt;
IDs compatible with Harvard referencing templates such as {{قا|Harvard citation}} are computed from the last names of the authors and the year of the cited source. على سبيل المثال, the markup &amp;quot;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Harvard citation|Wright|Evans|1851|p=ix}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;quot; generates the Harvard reference &amp;quot;{{Harvard citation|Wright|Evans|1851|p=ix}}&amp;quot;, which wikilinks to the citation whose markup and appearance are shown below:&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{استشهاد |last1=Wright |first1=Thomas |last2=Evans |first2=R. H. |title=Historical and Descriptive Account of the Caricatures of James Gillray |location=London |publisher=Henry G. Bohn |year=1851 |oclc=59510372}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* {{استشهاد |last1=Wright |first1=Thomas |last2=Evans |first2=R. H. |title=Historical and Descriptive Account of the Caricatures of James Gillray |location=London |publisher=Henry G. Bohn |year=1851 |oclc=59510372}}&lt;br /&gt;
In this example the {{قا|citation}} template defines, and the {{قا|Harvard citation}} template uses, the HTML ID &amp;quot;&amp;lt;code&amp;gt;CITEREFWrightEvans1851&amp;lt;/code&amp;gt;&amp;quot;, composed by concatenating the string &amp;quot;&amp;lt;code&amp;gt;CITEREF&amp;lt;/code&amp;gt;&amp;quot; with the last names of the authors and the year. The {{قا|SfnRef}} template can be used to generate such IDs, على سبيل المثال, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{SfnRef|Wright|Evans|1851}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; generates &amp;quot;&amp;lt;code&amp;gt;{{SfnRef|Wright|Evans|1851}}&amp;lt;/code&amp;gt;&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Related methods which leave only a number in the text are to use the {{قا|استشهاد بهارفارد دون أقواس}} template enclosed in the &amp;lt;nowiki&amp;gt;&amp;lt;ref&amp;gt;&amp;lt;/ref&amp;gt;&amp;lt;/nowiki&amp;gt; html code, or to use the {{قا|sfn}} template alone. The example above would be &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;ref&amp;gt;{{استشهاد بهارفارد دون أقواس|Wright|Evans|1851|p=ix}}&amp;lt;/ref&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; أو &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{sfn|Wright|Evans|1851|p=ix}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; both of which generate a footnote, such as&lt;br /&gt;
:17. {{استشهاد بهارفارد دون أقواس|Wright|Evans|1851|p=ix}}&lt;br /&gt;
&lt;br /&gt;
The names of only the first four authors are used; other author names are not concatenated to the ID. If no author names are given, editor names are used instead. For [[#Citing patents|patents]]، inventor names are used instead of authors or editors. If these names are not given, this template does not generate an anchor.&lt;br /&gt;
&lt;br /&gt;
Last names are used, as specified by the parameters {{وسيط قالب|last1}} (or {{وسيط قالب|last}}), {{وسيط قالب|last2}}، {{وسيط قالب|last3}}, and {{وسيط قالب|last4}}, and similarly for {{وسيط قالب|editor1-last}} etc. and for {{وسيط قالب|inventor1-last}} etc. If a full name is given but no last name is specified, this template falls back on the full name, but this usage is not recommended. على سبيل المثال, in &amp;quot;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{استشهاد | author = Sigmund Freud | title = The Ego and the Id | year = 1923}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;quot; no last name is given, so this citation cannot be combined with the Harvard reference &amp;quot;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Harvard citation|Freud|1923}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;quot;. To make these {{قا|citation}} و {{قا|Harvard citation}} invocations compatible, either replace &amp;quot;{{وسيط قالب|author|Sigmund Freud}}&amp;quot; with &amp;quot;{{وسيط قالب|first|Sigmund}} {{وسيط قالب|last|Freud}}&amp;quot;, or add &amp;quot;{{وسيط قالب|ref|&amp;lt;nowiki&amp;gt;{{SfnRef|Freud|1923}}&amp;lt;/nowiki&amp;gt;}}&amp;quot; to the {{قا|citation}} invocation, or add the same ref parameter (say, &amp;quot;{{وسيط قالب|ref|EgoId}}&amp;quot;) to both the {{قا|citation}} and the {{قا|Harvard citation}} invocations.&lt;br /&gt;
&lt;br /&gt;
Similarly, the year is used, as specified by {{وسيط قالب|year}}. If no year is given, this template attempts to derive the year from {{وسيط قالب|date}} (or, if no date is given, from {{وسيط قالب|publication-date}}) by applying the [[mw:Help:Extension:ParserFunctions##time|MediaWiki#time function]]. This heuristic works with many common date formats (American, International and ISO standard format YYYY-MM-DD as listed in [[أرابيكا:دليل الأسلوب|WP:MOS]]), but may not work as expected with other formats, so when in doubt it may be safer to use {{وسيط قالب|year}}. Note that if only a year, say 2005, is known you must use {{وسيط قالب|year|2005}} rather than {{وسيط قالب|date|2005}}.&lt;br /&gt;
&lt;br /&gt;
=== يجب أن تكون المعرفات فريدة ===&lt;br /&gt;
يجب اختيار الأسماء والسنوات والمعرفات المحددة يدويًا بحيث تكون المعرفات فريدة داخل الصفحة؛ وإلا فإن HTML لن يتوافق مع معايير W3C, وأي إشارات إلى الاستشهادات لن تعمل بشكل موثوق. على سبيل المثال، لنفترض أن الصفحة تحتوي على الاستشهاد التاليين بـ {{قا|Harvard citation}}-معرفات متوافقة:&lt;br /&gt;
* {{استشهاد |last1=Montes |first1=G. |last2=Halterman |first2=J. S. |year=2008a |journal=Pediatrics |volume=121 |issue=4 |pages=e821–6 |title=Association of Childhood Autism Spectrum Disorders and Loss of Family Income |doi=10.1542/peds.2007-1594 |pmid=18381511 |url= http://pediatrics.aappublications.org/cgi/content/full/121/4/e821 }}&lt;br /&gt;
* {{استشهاد |last1=Montes |first1=G. |last2=Halterman |first2=J. S. |year=2008b |journal=Pediatrics |volume=122 |issue=1 |pages=e202–8 |title=Child Care Problems and Employment Among Families with Preschool-aged Children with Autism in the United States |doi=10.1542/peds.2007-3037 |pmid=18595965 |url= http://pediatrics.aappublications.org/cgi/content/full/122/1/e202 }}&lt;br /&gt;
&lt;br /&gt;
إذا تم تغيير هذه الاستشهادات لتقول &amp;quot;2008&amp;quot; بدلاً من &amp;quot;2008a&amp;quot; و &amp;quot;2008b&amp;quot;، لن تعمل الصفحة الناتجة، لأن كلا الاستشهادين المختلفين سيحاولان استخدام نفس المعرف &amp;quot;&amp;lt;code&amp;gt;CITEREFMontesHalterman2008&amp;lt;/code&amp;gt;&amp;quot;.لتجنب هذه المشكلة، .لتجنب هذه المشكلة، التمييز بين الاستشهادات بإضافة اللواحق إلى السنوات &amp;#039;&amp;#039;مثال&amp;#039;&amp;#039;: &amp;quot;{{وسيط قالب|year|2008a}}&amp;quot; و&amp;quot;{{وسيط قالب|year|2008b}}&amp;quot;، كما تم أعلاه. ويجب أن تستخدم السنوات بنفس اللواحق عند استخدام أي إشارات هارفارد.&lt;br /&gt;
&lt;br /&gt;
من الممارسات الجيدة التحقق من أن الصفحة لا تحتوي على معرفات مكررة باستخدام [[W3C Markup Validation Service]]؛ طالع &amp;#039;&amp;#039;[[#وصلات خارجية|وصلات خارجية]]&amp;#039;&amp;#039;.&lt;/div&gt;</summary>
		<author><name>عبد العزيز</name></author>
	</entry>
</feed>