الگو:Catlist/doc

    از ویکی‌نور

    Usage

    This template creates a comma-separated list of categories formatted as links. By default, the last two categories are separated by "and".

    Examples

    Type this To get this
    {{Catlist|1989|1990|1991|1992|1993}} 1989، 1990، 1991، 1992 and 1993
    {{Catlist|1989|1990|1991|1992|1993|conjunction=comma}} 1989، 1990، 1991، 1992 and 1993
    {{Catlist|1989|1990|1991|1992|1993|conjunction=&}} 1989، 1990، 1991، 1992 and 1993
    {{Catlist|1989|1990|1991|1992|1993|separator=semicolon}} 1989199019911992; and 1993
    {{Catlist|1989|1990|1991|1992|1993|separator=dot}} 1989⧼dot-separator⧽1990⧼dot-separator⧽1991⧼dot-separator⧽1992⧼dot-separator⧽1993
    {{Catlist|1989|1990|1991|1992|1993|separator=dash}} 1989 – 1990 – 1991 – 1992 – 1993
    {{Catlist|1989|1990|1991|1992|1993|separator=slash}} 1989 / 1990 / 1991 / 1992 / 1993
    {{Catlist|1989|1990|1991|1992|1993|separator=none}} 1989 1990 1991 1992 1993

    Parameters

    This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

    TemplateData for Catlist

    This template creates a comma-separated list of pages formatted as links. The last two pages in the list are separated by "and" instead of a comma. Any number of pages may be included in the list.

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

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

    پارامترتوضیحاتنوعوضعیت
    Namespacenspace

    Namsespace on which the page is located, without the trailing colon (":"). Acceptable values are "Talk", "File", "File talk", "Category", "Category talk", "Help", "Help talk", "Wikipedia", "Wikipedia talk", "Portal", "Portal talk", "Template", "Template talk", "Module", "Module talk", "User", "User talk", and anything added in the future.

    مثال
    Template
    رشتهاختیاری
    Prefix (starting delimiter)delim

    Wikicode to insert before each page name. Default is nothing. If this parameter is specified and no suffix parameter is specified, the contents of this parameter would also be used as the suffix.

    ویکی‌متن نامتوازناختیاری
    Suffix (ending delimiter)edelim

    Wikicode to insert after each page name. If not specified, the default is the value of the prefix parameter.

    ویکی‌متن نامتوازناختیاری
    Separatorseparator

    The character(s) used to separate specified page names, excluding the last two. Default is comma.

    مثال
    ;
    رشتهاختیاری
    Conjunctionconjunction

    The character(s) used to separate the last two items. Default is "and".

    مثال
    or
    رشتهاختیاری
    Page name 11

    بدون توصیف

    ویکی‌متن نامتوازناختیاری
    Page name 22

    بدون توصیف

    ویکی‌متن نامتوازناختیاری
    Page name 33

    بدون توصیف

    ویکی‌متن نامتوازناختیاری
    Page name 44

    بدون توصیف

    ویکی‌متن نامتوازناختیاری
    Page name 55

    بدون توصیف

    ویکی‌متن نامتوازناختیاری
    Page name 66

    بدون توصیف

    ویکی‌متن نامتوازناختیاری
    Page name 77

    بدون توصیف

    ویکی‌متن نامتوازناختیاری
    Page name 88

    بدون توصیف

    ویکی‌متن نامتوازناختیاری
    Page name 99

    بدون توصیف

    ویکی‌متن نامتوازناختیاری
    Page name 1010

    بدون توصیف

    ویکی‌متن نامتوازناختیاری

    See also