الگو:توضیحات الگوهای سرنویس: تفاوت میان نسخهها
صفحهای تازه حاوی «{{Navbar|style=float:right;|text=This overview:|Hatnote templates documentation}} {{#switch:{{{toc|}}} |omit|off|no|false=__NOTOC__ |{{#if:{{{toclimit<includeonly>|</includeonly>}}}|{{TOClimit|{{{toclimit}}}}} }} }} == الگوهای سرنویس == {{برای|دستورالعمل کامل سرنویس|:en:Wikipedia:Hatnote}} جای سرنویسها بالای صفحه یا بخش است. ===دستور عمومی سرنویس===...» ایجاد کرد |
بدون خلاصۀ ویرایش |
||
خط ۱۵: | خط ۱۵: | ||
===="''Main article: …''"==== | ===="''Main article: …''"==== | ||
{{الگوب|Main}} is used to make [[ | {{الگوب|Main}} is used to make [[ویکیهزاره:شیوه خلاصهنویسی]] explicit, when used in a summary section for which there is also a separate article on the subject: | ||
* {{الگوب|Main|Main Article}} → {{اصلی|}} | * {{الگوب|Main|Main Article}} → {{اصلی|}} | ||
* {{الگوب|Main|Main Article|Article2}} → {{اصلی|Main Article|Article2}} | * {{الگوب|Main|Main Article|Article2}} → {{اصلی|Main Article|Article2}} | ||
خط ۴۵: | خط ۴۵: | ||
{{الگوب|About}} is the main template for noting other uses. | {{الگوب|About}} is the main template for noting other uses. | ||
''Note. When used in [[ | ''Note. When used in [[ویکیهزاره:مقاله چیست؟]], the word "page" in the following hatnotes is replaced by "article".'' | ||
* {{الگوب|About|USE1}} → {{درباره|USE1}} | * {{الگوب|About|USE1}} → {{درباره|USE1}} | ||
خط ۵۲: | خط ۵۲: | ||
* {{الگوب|About|USE1|USE2|PAGE2|and|PAGE3}} (Two pages for USE2) → {{درباره|USE1|USE2|PAGE2|and|PAGE3}} | * {{الگوب|About|USE1|USE2|PAGE2|and|PAGE3}} (Two pages for USE2) → {{درباره|USE1|USE2|PAGE2|and|PAGE3}} | ||
* {{الگوب|About|USE1|USE2|PAGE2#SUBSECTION{{پیوند الگو با پیوند خاموش|!}}PAGE2TITLE}} (Using the {{پیوند الگو با پیوند خاموش|!}} magic word to give the link a different title) → {{درباره|USE1|USE2|PAGE2#SUBSECTION{{!}}PAGE2TITLE}} | * {{الگوب|About|USE1|USE2|PAGE2#SUBSECTION{{پیوند الگو با پیوند خاموش|!}}PAGE2TITLE}} (Using the {{پیوند الگو با پیوند خاموش|!}} magic word to give the link a different title) → {{درباره|USE1|USE2|PAGE2#SUBSECTION{{!}}PAGE2TITLE}} | ||
* {{الگوب|About|USE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}} (When there are up to four other uses – You should generally create a [[ | * {{الگوب|About|USE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}} (When there are up to four other uses – You should generally create a [[ویکیهزاره:ابهامزدایی]] at this point) → {{درباره|USE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}} | ||
* {{الگوب|About|USE1|USE2|PAGE2|USE3|PAGE3|other uses}} (When there are several standard other uses and also a disambiguation page with default name – Note that the last page name is not specified) → {{درباره|USE1|USE2|PAGE2|USE3|PAGE3|other uses}} | * {{الگوب|About|USE1|USE2|PAGE2|USE3|PAGE3|other uses}} (When there are several standard other uses and also a disambiguation page with default name – Note that the last page name is not specified) → {{درباره|USE1|USE2|PAGE2|USE3|PAGE3|other uses}} | ||
* {{الگوب|About|USE1|USE2|PAGE2|USE3|PAGE3|other uses|PAGE4}} (When there are several standard other uses and also a disambiguation page with non-default name) →{{درباره|USE1|USE2|PAGE2|USE3|PAGE3|other uses|PAGE4}} | * {{الگوب|About|USE1|USE2|PAGE2|USE3|PAGE3|other uses|PAGE4}} (When there are several standard other uses and also a disambiguation page with non-default name) →{{درباره|USE1|USE2|PAGE2|USE3|PAGE3|other uses|PAGE4}} | ||
خط ۲۳۰: | خط ۲۳۰: | ||
==Notes== | ==Notes== | ||
{{هرگز جانشانی نشود|1='''Do not use [[ | {{هرگز جانشانی نشود|1='''Do not use [[ویکیهزاره:جانشینی]] with these templates''', as that will prevent: | ||
# propagating changes as the template is modified; and the | # propagating changes as the template is modified; and the | ||
# ''[[Special:Whatlinkshere/{{NAMESPACE}}:{{PAGENAME}}|What links here]]'' (WLH) listing.}} | # ''[[Special:Whatlinkshere/{{NAMESPACE}}:{{PAGENAME}}|What links here]]'' (WLH) listing.}} | ||
خط ۲۳۶: | خط ۲۳۶: | ||
These templates are used in thousands of articles; therefore, changing the syntax could break thousands of articles. If you wish to create or edit a disambiguation or redirection template, first ask yourself the following questions: | These templates are used in thousands of articles; therefore, changing the syntax could break thousands of articles. If you wish to create or edit a disambiguation or redirection template, first ask yourself the following questions: | ||
# Is there already a template that will do this job? Since many disambiguation and redirection templates have already been created, first check: [[:رده:الگو:ابهامزدایی و تغییرمسیر]]. | # Is there already a template that will do this job? Since many disambiguation and redirection templates have already been created, first check: [[:رده:الگو:ابهامزدایی و تغییرمسیر]]. | ||
# Do I really need a new template for this? Will it likely be used on any other articles or should I just use {{پیوند الگو|Hatnote}} instead? Before creating a new template, see the [[ | # Do I really need a new template for this? Will it likely be used on any other articles or should I just use {{پیوند الگو|Hatnote}} instead? Before creating a new template, see the [[ویکیهزاره:فضای نام الگو]] guideline. | ||
# If I change the parameters around on an existing template, do I know what the result will be? Will it break existing uses of the template and if so, can I fix all of the errors? Before making any changes, see [[ | # If I change the parameters around on an existing template, do I know what the result will be? Will it break existing uses of the template and if so, can I fix all of the errors? Before making any changes, see [[ویکیهزاره:تمرین و نمونههای آزمایشی الگو]]. | ||
{{الگوهای سرنویس|state=collapsed}}<noinclude> | {{الگوهای سرنویس|state=collapsed}}<noinclude> |