Home  

Random  

Nearby  



Log in  



Settings  



Donate  



About Wikipedia  

Disclaimers  



Wikipedia





Template:FULLPAGENAME





Template  

Talk  



Language  

Watch  

Edit  





{{FULLPAGENAME}} is not actually a template but instead a magic word, meaning it is a feature of the Wikimedia software. When used, it will return the name of the page it's on, including the namespace. As an example, when placed on this page, it returns Template:FULLPAGENAME. When placed on Wikipedia:Village pump, it will return Wikipedia:Village pump. It is possible to specify which pagename will appear by using a colon (not a pipe as is typical for templates). As an example, {{FULLPAGENAME:Wikipedia:Village pump}} returns Wikipedia:Village pump.

There is actual template code here. The purpose of the template code is to ensure that if someone uses this magic word with a piped parameter, the template code will be invoked and it will not cause an error on the page. Parameter 1 will be used as the : parameter and other parameters will be discarded. This way, if someone mistakenly enters {{FULLPAGENAME|Wikipedia:Village pump}}, the template will change it to the correct {{FULLPAGENAME:Wikipedia:Village pump}}.

When a user mistakenly includes a pipe in a {{FULLPAGENAME}} call, the template code will add the page to the hidden category Category:Pages which use a template in place of a magic word. Pages in this category should be fixed by willing editors.

Tracking category

edit

See also

edit

Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:FULLPAGENAME&oldid=965599821"
 



Last edited on 2 July 2020, at 08:43  


Languages

 


العربية

تۆرکجه
 / Bân-lâm-gú

Corsu
Dansk
Español
Euskara
فارسی

/Hak-kâ-ngî
Bahasa Indonesia
Kurdî
Ladin
Македонски
 / Mìng-dĕ̤ng-nḡ
Нохчийн

پنجابی
Português
Русский
سنڌي
کوردی
Српски / srpski
ி

Тоҷикӣ
Türkçe
اردو
Tiếng Vit


 

Wikipedia


This page was last edited on 2 July 2020, at 08:43 (UTC).

Content is available under CC BY-SA 4.0 unless otherwise noted.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Terms of Use

Desktop