الفرق بين المراجعتين لصفحة: «قالب:Title disambig text»
المظهر
Mohsenmadani (نقاش | مساهمات) أنشأ الصفحة ب'{{ {{{|safesubst:}}}#invoke:String|match|{{{1|{{ {{{|safesubst:}}}PAGENAME}}}}}|%s%((.-)%)||-1|ignore_errors=true}}<noinclude> {{توثيق}} تصنيف:قوالب ا...' |
ar>Wikivahdat safesubst |
||
| سطر ١: | سطر ١: | ||
{{ | {{safesubst<noinclude/>:#invoke:String|match|{{{1|{{PAGENAME}}}}}|%s%((.-%)?)%)||-1|ignore_errors=true}}<noinclude> | ||
{{ | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
مراجعة ٠٥:٣٠، ٨ مارس ٢٠٢٢
| Lua logo | هذا القالب يستعمل لوا: |
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