ढाँचा:Title disambig text/कागजात

विकिपिडिया, एक स्वतन्त्र विश्वकोशबाट

Usage[सम्पादन गर्नुहोस्]

{{Title disambig text|Title (disambig)}}

If page title is of the form Title (disambig), this function will return disambig. If no parenthetical expression is present, returns an empty string.

Note: do not use linked titles.

Limitations[सम्पादन गर्नुहोस्]

  • Up to 50 characters in the input string. Will return an empty string if Title has more than 50 characters, and error "max index is 50 for str_sub" if disambig has more than 50 characters.
  • Limited set of characters.
  • Expensive.

Examples[सम्पादन गर्नुहोस्]

  • {{Title disambig text|Title (whatever)}} → whatever
  • {{Title disambig text|[[Title (whatever)]]}} → whatever)]
  • {{Title disambig text|123456789.123456789.123456789.123456789.123456789.123456789. (whatever)}}max index is 50 for str_sub
  • {{Title disambig text|Title (123456789.123456789.123456789.123456789.123456789.123456789.)}} → 123456789.123456789.123456789.123456789.123max index is 50 for str_sub

See also[सम्पादन गर्नुहोस्]

Description of all string templates