टेम्पलेट:IsValidPageName/doc: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
No edit summary
No edit summary
लाइन 1:
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
 
This template returns "<code>valid</code>" if the given page title is valid, or the empty string otherwise. The page does not need to exist in order for the template to return "<code>valid</code>". As a convenience, the template treats "<code>-</code>" as an invalid page title.
 
== Usage ==
Line 16 ⟶ 18:
*<code><nowiki>{{isValidPageName|[[Main Page]]}}</nowiki></code> returns "<code>{{isValidPageName|[[Main Page]]}}</code>"
*<code><nowiki>{{isValidPageName|This page could not POSSIBLY exist, could it?}}</nowiki></code> returns "<code>{{isValidPageName|This page could not POSSIBLY exist, could it?}}</code>"
*<code><nowiki>{{isValidPageName|-}}</nowiki></code> returns "<code>{{isValidPageName|-}}</code>" [[-]]
 
== See also ==