<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fa">
	<id>https://wiki.nebeshtar.com/index.php?action=history&amp;feed=atom&amp;title=%D8%A7%D9%84%DA%AF%D9%88%3A%D8%B3%D8%B1%D9%86%D9%88%DB%8C%D8%B3%2F%D8%AA%D9%88%D8%B6%DB%8C%D8%AD%D8%A7%D8%AA</id>
	<title>الگو:سرنویس/توضیحات - تاریخچهٔ نسخه‌ها</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nebeshtar.com/index.php?action=history&amp;feed=atom&amp;title=%D8%A7%D9%84%DA%AF%D9%88%3A%D8%B3%D8%B1%D9%86%D9%88%DB%8C%D8%B3%2F%D8%AA%D9%88%D8%B6%DB%8C%D8%AD%D8%A7%D8%AA"/>
	<link rel="alternate" type="text/html" href="https://wiki.nebeshtar.com/index.php?title=%D8%A7%D9%84%DA%AF%D9%88:%D8%B3%D8%B1%D9%86%D9%88%DB%8C%D8%B3/%D8%AA%D9%88%D8%B6%DB%8C%D8%AD%D8%A7%D8%AA&amp;action=history"/>
	<updated>2026-05-04T20:14:33Z</updated>
	<subtitle>تاریخچهٔ نسخه‌ها برای این صفحه در ویکی</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.nebeshtar.com/index.php?title=%D8%A7%D9%84%DA%AF%D9%88:%D8%B3%D8%B1%D9%86%D9%88%DB%8C%D8%B3/%D8%AA%D9%88%D8%B6%DB%8C%D8%AD%D8%A7%D8%AA&amp;diff=1474&amp;oldid=prev</id>
		<title>محمد: صفحه‌ای تازه حاوی «{{زیرصفحه توضیحات}} &lt;includeonly&gt;{{High-risk|470,000+}}&lt;/includeonly&gt; {{لوآ|پودمان:Hatnote}} {{چپ‌چین}} This template produces formatted text, following the guideline for a &#039;&#039;&#039;Wikipedia hatnote&#039;&#039;&#039;. :&lt;code&gt;&lt;nowiki&gt;{{سرنویس|Example hatnote text.}}&lt;/nowiki&gt;&lt;/code&gt; &amp;rarr;&lt;br&gt;&lt;!-- a construct to show hatnote as expected (using newline) --&gt; {{سرنویس|Example hatn...» ایجاد کرد</title>
		<link rel="alternate" type="text/html" href="https://wiki.nebeshtar.com/index.php?title=%D8%A7%D9%84%DA%AF%D9%88:%D8%B3%D8%B1%D9%86%D9%88%DB%8C%D8%B3/%D8%AA%D9%88%D8%B6%DB%8C%D8%AD%D8%A7%D8%AA&amp;diff=1474&amp;oldid=prev"/>
		<updated>2025-01-25T09:50:56Z</updated>

		<summary type="html">&lt;p&gt;صفحه‌ای تازه حاوی «{{زیرصفحه توضیحات}} &amp;lt;includeonly&amp;gt;{{High-risk|470,000+}}&amp;lt;/includeonly&amp;gt; {{لوآ|پودمان:Hatnote}} {{چپ‌چین}} This template produces formatted text, following the guideline for a &amp;#039;&amp;#039;&amp;#039;&lt;a href=&quot;/index.php?title=%D9%88%DB%8C%DA%A9%DB%8C%E2%80%8C%D9%87%D8%B2%D8%A7%D8%B1%D9%87:%D8%B3%D8%B1%D9%86%D9%88%DB%8C%D8%B3&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;ویکی‌هزاره:سرنویس (صفحه وجود ندارد)&quot;&gt;Wikipedia hatnote&lt;/a&gt;&amp;#039;&amp;#039;&amp;#039;. :&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{سرنویس|Example hatnote text.}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; →&amp;lt;br&amp;gt;&amp;lt;!-- a construct to show hatnote as expected (using newline) --&amp;gt; {{سرنویس|Example hatn...» ایجاد کرد&lt;/p&gt;
&lt;p&gt;&lt;b&gt;صفحهٔ تازه&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{زیرصفحه توضیحات}}&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{High-risk|470,000+}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
{{لوآ|پودمان:Hatnote}}&lt;br /&gt;
{{چپ‌چین}}&lt;br /&gt;
This template produces formatted text, following the guideline for a &amp;#039;&amp;#039;&amp;#039;[[ویکی‌هزاره:سرنویس|Wikipedia hatnote]]&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{سرنویس|Example hatnote text.}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; &amp;amp;rarr;&amp;lt;br&amp;gt;&amp;lt;!-- a construct to show hatnote as expected (using newline) --&amp;gt;&lt;br /&gt;
{{سرنویس|Example hatnote text.}}&lt;br /&gt;
&lt;br /&gt;
Broadly speaking, a hatnote should answer a readers&amp;#039; question (maybe preemptively): &amp;#039;&amp;#039;Am I on the right page?&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{TOClimit}}&lt;br /&gt;
&lt;br /&gt;
== Function ==&lt;br /&gt;
This template is primarily used to add a correctly formatted &amp;#039;&amp;#039;hatnote&amp;#039;&amp;#039; to a page. Often, but not always, this is a &amp;#039;&amp;#039;disambiguation link&amp;#039;&amp;#039; at the top of article pages. It places an HTML &amp;lt;code&amp;gt;div-&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;div&amp;lt;/code&amp;gt; block around the text entered as its only argument, which provides standardized formatting (contents are indented and italicized in most displays); it also isolates the contained code to make sure that it is interpreted correctly.&lt;br /&gt;
&lt;br /&gt;
This template is also used as the &amp;quot;meta-template&amp;quot; for additional specialized disambiguation link templates; see [[:رده:الگو:سرنویس]] for a list.&lt;br /&gt;
&lt;br /&gt;
The template does not automatically create links of any kind. Links and other desired formatting must be explicitly added, using normal [[ویکی‌هزاره:آموزش سریع|Wikipedia markup]].&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
; Basic usage:&lt;br /&gt;
 &amp;amp;#123;{hatnote|&amp;#039;&amp;#039;text&amp;#039;&amp;#039;}}&lt;br /&gt;
&lt;br /&gt;
; All parameters:&lt;br /&gt;
 &amp;amp;#123;{hatnote|&amp;#039;&amp;#039;text&amp;#039;&amp;#039;|extraclasses=&amp;#039;&amp;#039;extra classes&amp;#039;&amp;#039;|selfref=&amp;#039;&amp;#039;yes&amp;#039;&amp;#039;|category=&amp;#039;&amp;#039;no&amp;#039;&amp;#039;}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
This template accepts the following parameters:&lt;br /&gt;
* &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; - the hatnote text. (required)&lt;br /&gt;
* &amp;lt;code&amp;gt;extraclasses&amp;lt;/code&amp;gt; - any extra CSS classes to be added. For example, the {{الگو|see also}} template adds the classes {{پارا|extraclasses|boilerplate seealso}}.&lt;br /&gt;
* &amp;lt;code&amp;gt;selfref&amp;lt;/code&amp;gt; - if set to &amp;quot;yes&amp;quot;, &amp;quot;y&amp;quot;, &amp;quot;true&amp;quot; or &amp;quot;1&amp;quot;, adds the CSS class &amp;quot;selfref&amp;quot;. This is used to denote self-references to Wikipedia. See [[الگو:Selfref]] for more information.&lt;br /&gt;
* &amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt; - if set to &amp;quot;no&amp;quot;, &amp;quot;n&amp;quot;, &amp;quot;false&amp;quot;, or &amp;quot;0&amp;quot;, suppresses the error tracking category ([[:رده:الگو:سرنویس همراه خطا]]). This only has an effect if the first positional parameter (the hatnote text) is omitted.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{سرنویس|Example hatnote text}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; &amp;amp;rarr; {{سرنویس|Example hatnote text}}&lt;br /&gt;
&lt;br /&gt;
== Errors ==&lt;br /&gt;
&lt;br /&gt;
If no hatnote text is supplied, the template will output the following message:&lt;br /&gt;
* {{سرنویس|category=no}}&lt;br /&gt;
&lt;br /&gt;
If you see this error message, it is for one of four reasons:&lt;br /&gt;
# No parameters were specified (the template code was &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{سرنویس}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;). Please use &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{سرنویس|&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;text&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; instead.&lt;br /&gt;
# Some parameters were specified, but the hatnote text wasn&amp;#039;t included. For example, the template text &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{سرنویس|extraclasses=seealso}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; will produce this error. Please use (for example) &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{سرنویس|&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;text&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;|extraclasses=seealso}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; instead.&lt;br /&gt;
# The hatnote text was specified, but that text contains an equals sign (&amp;quot;=&amp;quot;). The equals sign has a special meaning in template code, and because of this it cannot be used in template parameters that do not specify a parameter name. For example, the template code &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{سرنویس|2+2=4}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; will produce this error. To work around this, you can specify the parameter name explictly by using &amp;lt;code&amp;gt;1=&amp;lt;/code&amp;gt; before the hatnote text, like this: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{سرنویس|1=2+2=4}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
# You tried to access [[پودمان:Hatnote]] directly by using &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:hatnote|hatnote|&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;text&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. Use of #invoke in this way has been disabled for performance reasons. Please use &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{سرنویس|&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;text&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; instead.&lt;br /&gt;
&lt;br /&gt;
If you see this error message and are unsure of what to do, please post a message on [[Template talk:Hatnote]], and someone should be able to help you.&lt;br /&gt;
&lt;br /&gt;
Pages that contain this error message are tracked in [[:رده:الگو:سرنویس همراه خطا]].&lt;br /&gt;
&lt;br /&gt;
== Technical details ==&lt;br /&gt;
&lt;br /&gt;
The HTML code produced by this template looks like this:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;div class=&amp;quot;hatnote&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;hatnote text&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The code is produced by [[پودمان:Hatnote]].&lt;br /&gt;
&lt;br /&gt;
{{Hatnote templates documentation}}&lt;br /&gt;
{{بالای تاشو|TemplateData}}&lt;br /&gt;
{{TemplateDataHeader}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;description&amp;quot;: &amp;quot;Template for creating a standard Wikipedia hatnote. A hatnote is a short note placed at the top of an article to provide disambiguation of closely related terms or summarise a topic, explaining its boundaries.&amp;quot;,&lt;br /&gt;
  &amp;quot;params&amp;quot;: {&lt;br /&gt;
    &amp;quot;1&amp;quot;: {&lt;br /&gt;
      &amp;quot;label&amp;quot;: &amp;quot;Text&amp;quot;,&lt;br /&gt;
      &amp;quot;description&amp;quot;: &amp;quot;This field should contain the text that will be displayed in the hatnote.&amp;quot;,&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
      &amp;quot;required&amp;quot;: true&lt;br /&gt;
    },&lt;br /&gt;
    &amp;quot;extraclasses&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;string/line&amp;quot;,&lt;br /&gt;
      &amp;quot;label&amp;quot;: &amp;quot;Extra classes&amp;quot;,&lt;br /&gt;
      &amp;quot;description&amp;quot;: &amp;quot;Extra CSS classes to be added to the &amp;lt;div&amp;gt; tags surrounding the hatnote text.&amp;quot;&lt;br /&gt;
    },&lt;br /&gt;
    &amp;quot;selfref&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;string/line&amp;quot;,&lt;br /&gt;
      &amp;quot;label&amp;quot;: &amp;quot;Self reference&amp;quot;,&lt;br /&gt;
      &amp;quot;description&amp;quot;: &amp;quot;Set to \&amp;quot;yes\&amp;quot; if the hatnote text is a self-reference to Wikipedia that would not make sense on mirrors or forks of the Wikipedia site. (E.g. \&amp;quot;For the Wikipedia Sandbox, see [[ویکی‌هزاره:صفحه تمرین]]\&amp;quot;.)&amp;quot;&lt;br /&gt;
    },&lt;br /&gt;
    &amp;quot;category&amp;quot;: {&lt;br /&gt;
      &amp;quot;label&amp;quot;: &amp;quot;Category&amp;quot;,&lt;br /&gt;
      &amp;quot;description&amp;quot;: &amp;quot;Set to \&amp;quot;no\&amp;quot;, \&amp;quot;n\&amp;quot;, \&amp;quot;false\&amp;quot;, or \&amp;quot;0\&amp;quot; to suppresses the error tracking category (Category:Hatnote templates with errors). This only has an effect if the hatnote text is omitted.&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
{{پایین تاشو}}&lt;br /&gt;
{{پایان چپ‌چین}}&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|تمرین||&lt;br /&gt;
[[رده:الگو:سرنویس| ]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>محمد</name></author>
	</entry>
</feed>