Template:Parsable/doc
Appearance
| This is a documentation subpage for Template:Parsable. It may contain usage information, categories and other content that is not part of the original template page. |
| This template is used on 4,000+ pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the discussion page before implementing them. |
This template determines whether its first parameter can be parsed by parser function #titleparts.
Usage
[edit source]{{parsable|<parameter>}}
asks #titleparts to extract the second part of <parameter>. It returns true (i.e., non-blank) iff this request produces something different from <parameter>. If <parameter> is blank, the result of the test is false (because {{#titleparts:<parameter>|1|2}} then returns a blank string, which is not different from <parameter>).