پرش به محتوا

الگو:Italic dab/توضیحات

از ویکی‌پدیا، دانشنامهٔ آزاد

This template italicizes the disambiguation portion of page titles. Article titles cannot contain wiki-formatting, such as '', so cannot be italicized in the normal way. Instead, place this template in the article, normally at the very top. It will then have the following effect:

  • If the title contains parentheses () at the end, the text between the parentheses is italicized:
    • Foo (bar)Foo (bar)
    • Talk:Foo (bar)Talk:Foo (bar)
  • Titles with no قلاب (نشان‌گذاری متن) () are unaltered:
    • FooFoo
    • Talk:FooTalk:Foo

This template should only be used when the title disambiguation text meets the criteria for italic titles given in the ویکی‌پدیا:قواعد نام‌گذاری policy.

Basic usage

{{Italic dab}}

With error suppression

{{Italic dab|noerror}}

Parameters

[ویرایش]
  • 1: if this is set to "noerror", error messages are suppressed. See #Errors for more details.

Errors

[ویرایش]

Sometimes you may see red error messages like this at the top of the page:

Warning: Display title "<i>Article title</i> (disambiguation)" overrides earlier display title "Article title (<i>disambiguation</i>)".

This usually means that there is another instance of a title-italicizing template (e.g. {{italic title}}) on the page, usually added by one of the infoboxes. Certain infoboxes, for example {{infobox album}}, add {{عنوان مورب}} by default. Check the template documentation for any infobox used on the page; it may have instructions about how to deal with italic titles. You may be able to adjust the italics from the infobox instead of using {{عنوان مورب}} at the top of the article. Or if that doesn't work, you may be able to disable the infobox's italics code altogether.

If you are still having problems, try putting {{Italic dab}} after the infobox. You can suppress the error message by using the code {{Italic dab|noerror}}.

Technical details: this template uses the راهنما:کلمات جادویی to italicize the title. Error messages can be produced by any two templates which use this magic word, and are not limited to this template. If you are unsure why you are getting a particular error message, you can ask about it at ویکی‌پدیا:قهوه‌خانه/فنی.

TemplateData

[ویرایش]
این، توضیحاتِ الگوداده است که توسط TemplateWizard، ویرایشگر دیداری و دیگر ابزارها استفاده می‌شود. گزارش خطای ماهیانه برای این الگو را ببینید.

الگوداده Italic dab

A template to italicize disambiguation text in article titles

پارامترهای الگو

پارامترتوضیحاتنوعوضعیت
Error options1

If set to "noerror", suppresses error messages. Using this is a last-ditch fix - see the template documentation for other options.

رشتهاختیاری

See also

[ویرایش]
Template Involves Correct name Technical name
{{Italic title}} Title in italics Batman (1989 film) Batman (1989 film)
{{Lowercase title}} Lowercase first character eBay EBay
{{Correct title|reason=bracket}} < > [ ] { } Benzo[a]pyrene Benzo(a)pyrene
{{Correct title|reason=#}} # Pilot #5 Pilot No. 5
{{Correct title|reason=:}} / : DK: King of Swing DK King of Swing
{{DISPLAYTITLE}} Various