Help:Parser functions/pageid
Jump to navigation
Jump to search
| pageid | {{PAGEID}} |
|
Get the numerical database key identifying the current page. Tends to be more convenient and consistent in comparisons and other operations, versus title variables like {{PAGENAME}} and respective url-encoded counterparts, proper usage of which can be context dependent.
- Example
{{PAGEID}}-> 85924
- Returns
- int Unique page identification number (
0in page preview if article is unpublished)