الگو:Main

    از ویکی تراث
    نسخهٔ تاریخ ‏۴ اوت ۲۰۲۳، ساعت ۱۷:۲۰ توسط Admin (بحث | مشارکت‌ها) (۱ نسخه واردشده: الگو و پوددمانهای اصلاح شده)
    (تفاوت) → نسخهٔ قدیمی‌تر | نمایش نسخهٔ فعلی (تفاوت) | نسخهٔ جدیدتر ← (تفاوت)


    توضیحات الگو

    مثال‌ها

    {{Main}}
    
    مقالهٔ اصلی: M
    {{Main|Article 1}}
    
    مقالهٔ اصلی: Article 1
    {{Main|Article 1|Article 2|Article Something#3}}
    
    مقاله‌های اصلی: Article 1، Article 2 و Article Something#3

    الگو داده

    الگو:TemplateData header

    This template is used to display a note directing users to the main article about a subject. This should be used at the top of a section, usually directly below a section heading.

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

    استفاده از قالب‌بندی درون‌خطی برای پارامترهای این الگو ارجح است.

    پارامترتوضیحاتنوعوضعیت
    Page 11

    Page name of related article. It includes Special:MyLanguage prefix.

    نام صفحهضروری
    Label 1l1

    Custom label for the link to Page 1.

    پیش‌فرض
    Defaults to the name of Page 1.
    رشتهاختیاری
    Page 22

    بدون توصیف

    نام صفحهاختیاری
    Label 2l2

    بدون توصیف

    پیش‌فرض
    Defaults to the name of Page 2.
    رشتهاختیاری
    Page 33

    بدون توصیف

    نام صفحهاختیاری
    Label 3l3

    بدون توصیف

    پیش‌فرض
    Defaults to the name of Page 3.
    رشتهاختیاری

    [[Category:Templates{{#translation:}}]]

    [[Category:Templates{{#translation:}}]]