Template:Pageid to title
Jump to navigation
Jump to search
Template:Pageid to title
| This template uses Lua: |
Returns the title (including namespace) of a page specified by its Page ID. Unlike the title, the Page ID does not change when a page is moved, which makes it a stable reference.
Usage
{{Pageid to title|Page ID}}
Examples
| Markup | Renders as |
|---|---|
{{Pageid to title|21304840}}
|
Error: mw.title.new(21304840) failed |
[[{{Pageid to title|21304840}}]]
|
[[Error: mw.title.new(21304840) failed]] |
See also
- Script error: No such module "Template link general". →
- Script error: No such module "Template link general". →
- Script error: No such module "Template link general". →
| The above documentation is transcluded from Template:Pageid to title/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. |