الگو:Title disambig text
نسخهای که میبینید، نسخهٔ فعلی این صفحه است که توسط Wikinoor.ir (بحث | مشارکتها) در تاریخ ۳ ژانویهٔ ۲۰۲۳، ساعت ۲۳:۱۴ ویرایش شده است. آدرس فعلی این صفحه، پیوند دائمی این نسخه را نشان میدهد. |
نسخهٔ ویرایششده در تاریخ ۳ ژانویهٔ ۲۰۲۳، ساعت ۲۳:۱۴ توسط Wikinoor.ir (بحث | مشارکتها)
(تفاوت) → نسخهٔ قدیمیتر | نمایش نسخهٔ فعلی (تفاوت) | نسخهٔ جدیدتر ← (تفاوت)
پرونده:Lua-Logo.svg | This template uses Lua: |
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.
Write this to use the current page as title:
{{Title disambig text|{{PAGENAME}}}}
Examples
{{Title disambig text|Title (whatever)}}
→ whatever{{Title disambig text|[[Title (whatever)]]}}
→ whatever
See also
String-handling templates (help page) | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
The above documentation is transcluded from الگو:Title disambig text/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.