الگو:Case preserving encode
ظاهر
%7B%7B%7B1%7D%7D%7D
این الگو در در پیامهای سامانه استفاده شدهاست. تغییرات آن تأثیر منجر به تغییر بیدرنگ در میانای کاربری سامانهٔ ویکیپدیا میشود. در ویرایش آن احتیاط کنید و همهٔ ویرایشها را پیش از ذخیرهسازی در یک صفحهٔ آزمایشی محک بزنید. |
This is the {{case preserving encode}} meta-template.
This template is used inside the templates {{sec link}}, {{sec link auto}}, and {{sec link image}}. (And it might be used in other templates too.)
This template is used to URL-encode wiki page names for external links to other MediaWiki wikis. Since MediaWiki's own URL-encode functions don't work when making links to other MediaWiki wikis.
This template preserves the case of the first character, and it correctly preserves the namespace name.
Usage
{{Case preserving encode|São Paulo}}
gives: S%C3%A3o_Paulo{{Case preserving encode|são Paulo}}
gives: s%C3%A3o_Paulo
Technical details
For a detailed explanation of the methods used in this template see the talkpage of {{sec link}}.