?????? : ????? ????

????? ???????? ?????????? ??

????? ???? (?????? ?????? ???????? , ?????????? ??? ???????? ???????? ??? ???) ???? ?????-?? ?? ?? ???????? ???, ?? ?????????? ?????????? ?? ???? ???? ???? ?? ??????? ????? ?? ???? ??? ??????????, ????? ?????? ?? ?????? ???????-???? (???? ??? ??????????) ?? ?????? ?? ???? ?????? ????? ????, ?????? ??? ?????? ?????? ???? ???? ???? ???????? ???????? ??????? ???? ???? ???? ???? ???

????? ?????? ?? ???? ?????? ?????? ?? ????? ?? ??????? ???? ?????? ???? ?????????? ??????? ?? ?????:


??????? ??????? [ ??????? ???? ]

??????? ??? ?????? ?? ????? ???? ???? ???:

  1. ????????? ????? / Behavior switches : ????? ???????????? ?? ???? ??? ????????? ?? ???? ??? ?? ????, ????, __NOTOC__ ?? ?????? ??????? ????????? ?????? ???? ??? ???? ????????
  2. ?????????? : ????? ???????? ?? ???? ????????? ?? ???? ??? ?? ???? (?? ????? ??????? ???), ????, {{PAGENAME}}
  3. ?????? ????????? : ????? ???????? ??? ???? ??? ????????, ?????? ?‘??? ?????? ???????? ???? ??? (??? # ?? ???? ???? ???) ????, {{#expr:2+2}}

??? ????? ???? ???-????????? ?????? ????????? ?? ???? ??? ?? ???? ?? ????? ??? ?? ????? ??? ??? ?? ???? ???? ????) ???? ???, ?????? ??? ???? ???? ????? ?????? ?? ????????? ?? ????? ?? ???? ?? ?????? ????? ?? ???????? ??? ?????????? ?? ?????? ?? ?????? ?? ??? ???? ???? ???

?????-?????? (???-???????????) ????? ???? ??????? ????? ?? ???? ??? ???? ???? ???? ?? ???????? ???? ???, ???? ???? ?? ???? ????????????????? ????? ?? ?????? ????? ??? ?? ?? ???? ?????? ????? ???? ???

??????? ?????????? ??? ?????? ?????????? ?? ???????????? ???? ??? ??? ?????? ???? ?? ????? ???????????? ???? ???? ??? ( subst: ?????? ?? ?????? ??????) ???? ??? ???? ???????????? ???? ??????? ??? (??????) ( ???? ?? ????????????? ?? ??? ???? ??? ??) ??????? ??? ???? ?? ???? ???

????????? ????? [ ??????? ???? ]

  • __NOTOC__ (??????? ??? ???? ?? ???? ?? ???? ??; ?? ?????? ???? ?? ??? ???? ???)
  • __FORCETOC__ (??????? ??? ???? ?? ???? ?? ???? ??; ??????? ???? ?? ???? ???????? ??????/????? ?? ????? ??????/?????? ?? ???/???? ??????? ?? ???? ???)
  • __TOC__ (??????? ?????/???? ?? ???? ?? ????? ?? ??? ???? ???)
  • __NOEDITSECTION__ (????? ?? ??? ???????? ?? ??? ?? ?????? ???? ???? ???? ??? ???? ???) (????? ?? ?????? ?? ??? ?? ?????? ???? ????? ???? <h2> ?? ?????? ????)
  • __NEWSECTIONLINK__ (???-"????????" ????? ?? ??? ????/?????? ?????? ???? ?? "+" ??????? ???? ???? ???? ???)
  • __NONEWSECTIONLINK__ (???-"????????" ??????? ?? "+" ??? ???? ???)
  • __NOGALLERY__ (?????? ????? ??, ??????? ?? ??????? ??????? ?? ??? ???? ???)
  • __HIDDENCAT__ (?????? ????? ?? ????? ?? ??? ?? ???? ?????? ??? ??? ???? ???)
  • __INDEX__ (??? ????? ?? ????? ??????? ?? ????? ???? ??)
  • __NOINDEX__ (??? ????? ?? ????? ??????? ? ???? ?? ????? ???? ??)
  • __STATICREDIRECT__ (????????? ??????? ??, ?????????? ?? ??????? ?? ????? ?????? ???? ?? ????? ??, ?? ??? ????? ?? ??????????? ???? ??, ?? ?????? ?? "Update any redirects that point to the original title", ??? ?? ??????????????? ?? ?? ????? ???? ?????? ???? ???? ??, ?? ?? ????????? ?? ??? ?? ??? ???? ?? ???? ??)
  • __DISAMBIG__ (?? ????? ?? ?????????? ????? ????? ???? ?? ?? ??? w:Special:DisambiguationPages??? ??? ???? ??, ??? ?? ???? ??????? ???? w:Special:DisambiguationPageLinks ??? ??? ???? ??)? ????? mw:Extension:Disambiguator .
  • {{DISPLAYTITLE: title }} (????? ?????? ?? ????????? ??? ?? ??? ???? ??)
  • {{DEFAULTSORT: sortkey }} (???????? ?????? ????? ?? ??? ???? ??)

?????????? [ ??????? ???? ]

??????? ????, ????? ?????????? ????? ?? ?????????? ??????

  • {{FULLPAGENAME}} ( ??????????? ?? ??? ???????? )
  • {{PAGENAME}} (??????????? ???????? ??????)
  • {{BASEPAGENAME}} ( ??????? ??????? ??? ???????? ?? ?????? ????? ?????? ? ??????? ??? ?? ???????? ?? ???? ?????????)
  • {{SUBPAGENAME}} (?????? ?? ??????? ???)
  • {{SUBJECTPAGENAME}} (??????? ???-?????? ?????)
  • {{TALKPAGENAME}} (??????? ?????? ?????)
  • {{NAMESPACE}} (??????? ????? ?? ????????)
  • {{SUBJECTSPACE}}, {{ARTICLESPACE}} (??????? ???-?????? ????????)
  • {{TALKSPACE}} (??????? ?????? ????????)
  • {{FULLPAGENAMEE}}, {{NAMESPACEE}} ??????? (?????? ??????? ??????)

??? ??????? ?? ???????? ?? ???? ???, ??????? ????? ?? ????? ?? ???? ????? ?? ??????? ???? ?????

  • {{SITENAME}} (??????????)
  • {{SERVER}} (http://en.wikipedia.org)
  • {{SERVERNAME}} (hi.wikipedia.org)
  • {{SCRIPTPATH}} (/w)
  • {{CURRENTVERSION}} (??????? ?????????? ???????)
  • {{REVISIONID}} (??????? ????? ?? ?????? ??????)
  • {{REVISIONDAY}}, {{REVISIONDAY2}}, {{REVISIONMONTH}}, {{REVISIONYEAR}}, {{REVISIONTIMESTAMP}}, {{REVISIONUSER}} (????? ?????? ?? ??? ?? ??????, ??? ??? ??????)
  • {{CURRENTYEAR}}, {{CURRENTMONTH}}, {{CURRENTMONTHNAME}}, {{CURRENTMONTHABBREV}}, {{CURRENTDAY}}, {{CURRENTDAY2}}, {{CURRENTDOW}}, {{CURRENTDAYNAME}}, {{CURRENTTIME}}, {{CURRENTHOUR}}, {{CURRENTWEEK}}, {{CURRENTTIMESTAMP}} (??????? ??????/??? ??????????)
  • {{LOCALYEAR}} ??? (?????????????, ???? ?? ??????? ??? ?? ??????)
  • {{NUMBEROFPAGES}}, {{NUMBEROFARTICLES}}, {{NUMBEROFFILES}}, {{NUMBEROFEDITS}}, {{NUMBEROFVIEWS}}, {{NUMBEROFUSERS}}, {{NUMBEROFADMINS}}, {{NUMBEROFACTIVEUSERS}} (????????? ?????????? ?? ??????; ???? ??? ????? ?? ???????? ???? :R ??????)

?????? ???????? [ ??????? ???? ]

???? ??????? ????? ?????? ????? ?? ?? ???? ??? ??, ??? ?????? ???? ? ???

???????? [ ??????? ???? ]

  • {{PAGESIZE: page name }} (????? ?? ?????? ??? ????)
  • {{PROTECTIONLEVEL: action }} (??????? ????? ?? ?? ???? ??? ?????/????? ???? ??????? ????)
  • {{PAGESINCATEGORY: categoryname }} (?? ??? ?????? ??? ??????? ?? ??????)
  • {{NUMBERINGROUP: groupname }} (?? ??????? ???? ??? ????? ??????)

???????? ?? ???? ??? ????? ?? ???? ???? |R ???????

??????? [ ??????? ???? ]

???????????
  • {{lc: string }} (????? ??? ??? ?????)
  • {{lcfirst: string }} (????? ???????? ?? ????? ??? ??? ?????)
  • {{uc: string }} (???? ??? ??? ?????)
  • {{ucfirst: string }} (????? ???????? ?? ???? ??? ??? ?????)
  • {{formatnum: unformatted?num }} (format a number with comma separators; add |R to unformat a number)
  • {{#formatdate: date | format }} (formats a date according to user preferences; a default can be given as an optional case-sensitive second parameter for users without date preference; can convert a date from an existing format to any of dmy , mdy , ymd or ISO 8601 formats, with the user's preference overriding the specified format)
  • {{padleft:xyz| stringlength }} , {{padright:xyz| stringlength }} (pad with zeros to the right or left; an alternative padding string can be given as a third parameter)
  • {{plural: n | is | are }} (produces alternative text according to whether n is greater than 1)
  • {{#time: format string | date/time object }} (for date/time formatting; also #timel for local time. Covered at the extension documentation page .)
  • {{gender: username | masculine | female | neutral }} (produces alternate text according to the gender specified by the given user in his/her preferences)

?? [ ??????? ???? ]

  • {{localurl: page name }} , {{localurl: page name | query string }} (relative path to the title)
  • {{fullurl: page name }} , {{fullurl: page name | query_string }} (absolute path to the title)
  • {{filepath: file name }} (absolute URL to a media file)
  • {{urlhicode: string }} (input encoded for use in URLs)
  • {{anchorencode: string }} (input encoded for use in URL section anchors)
  • {{ns: n }} (name for the namespace with index n ; use {{nse:}} for URL-encoded equivalent)
  • {{#rel2abs: path }} (converts a relative file path to absolute; see the extension documentation )
  • {{#titleparts: pagename | number of segments to return | first segment to return }} (splits title into parts; see the extension documentation )

????? ?????????? [ ??????? ???? ]

????????? ????????????

These are covered at the extension documentation page . Some parameters are optional.

  • {{#expr: expression }} (evaluates the given expression; see Help:Calculation )
  • {{#if: test string | value if non-empty | value if empty }} (selects one of two values based on whether the test string is empty)
  • {{#ifeq: string 1 | string 2 | value if equal | value if unequal }} (selects one of two values based on whether the test strings are equal ? numerically if applicable)
  • {{#iferror: test string | value if error | value if correct }} (selects value based on whether the test string generates a parser error)
  • {{#ifexpr: expression | value if true | value if false }} (selects value based on evaluation of expression)
  • {{#ifexist: page title | value if exists | value if doesn't exist }} (selects value depending on whether a page title exists)
  • {{#switch: test | case1 = value for case 1 | ... | default }} (provides alternatives based on the value of the test string)

????? ??? ?? ???????? ?? ?????? ????, ????? [:w:[Wikipedia:Conditional tables|???????? ??????]]?

??????????????? [ ??????? ???? ]

????????? ?????????? ??