قالب:Title number
This template is used on many pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page قبل تنفيذهم. |
Uses Lua: |
Usage
{{Title number|match|nomatch|page=}}
or
{{Title number|match=|nomatch=|page=}}
TemplateData
This is the بيانات القالب documentation for this template used by المحرر المرئي وأدوات أخرى.
See the monthly error report for this template.
TemplateData for Title number
Extracts an integer number from the current page title. All parameters are optional.
وسيط | وصف | نوع | حالة | |
---|---|---|---|---|
Match Instance | 1 match | If multiple numbers are found, this specifies which match to return, where the first match is match= 1. If a negative number is specified then a match is returned counting from the last match. Hence match = -1 is the same as requesting the last match. Defaults to 1.
| رقم | اختياري |
No match text | 2 nomatch | If no numbers are found, output the "nomatch" value. Defaults to blank. | نص | اختياري |
Override page title | page | Specified a page title to use other than the current page. If left blank, the template will use the title of the current page
| اسم الصفحة | اختياري |
See also
- Template:Title year
- Template:Title year+1
- Template:Title year-1
- Template:Title year range
- Template:Title year2range
- Template:Title year2range+1
- Template:Title year2range-1
- Template:Title monthname
- Template:Title decade
- Template:Title century
- Template:Title number
- Template:Make YYYY–YY
- Template:Century name from title year
- Template:Century name from title decade
- Template:Century name from decade or year
The above documentation is transcluded from قالب:Title number/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |