پرش به محتوا

الگو:Px/توضیحات: تفاوت میان نسخه‌ها

جز
بدون خلاصۀ ویرایش
(صفحه‌ای تازه حاوی «{{زیرصفحه توضیحات}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> __NOTOC__ This is the {{tl|px}}...» ایجاد کرد)
 
جزبدون خلاصۀ ویرایش
 
خط ۶۰: خط ۶۰:
<nowiki>[[Image:{{{image}}} | {{{size}}}px | {{{caption|}}} ]]</nowiki> </code>
<nowiki>[[Image:{{{image}}} | {{{size}}}px | {{{caption|}}} ]]</nowiki> </code>


But since [[25 March]] [[۲۰۰۸ (میلادی)|2008]] that does not work anymore. That is, image sizes on Wikishia now needs to be given in the form "40px", not "40" or "40pxpx". This template helps doing that. Note that the bug has since been fixed, although you can continue using this template.
But since [[25 March]] [[۲۰۰۸ (میلادی)|2008]] that does not work anymore. That is, image sizes on Wikihaj now needs to be given in the form "40px", not "40" or "40pxpx". This template helps doing that. Note that the bug has since been fixed, although you can continue using this template.


=== See also ===
=== See also ===


* [[Wikishia:ClickFix]] – About the "pxpx" bug.
* [[Wikihaj:ClickFix]] – About the "pxpx" bug.
* {{tl|ifempty}} – Helps detect empty parameters and fall back to default values. For instance for handling multiple image name parameters.
* {{tl|ifempty}} – Helps detect empty parameters and fall back to default values. For instance for handling multiple image name parameters.


خط ۸۹: خط ۸۹:
* <code>
* <code>
<nowiki>[[Image:Example.png | 50pxpx | thumb ]]</nowiki> </code> = [[Image:Example.png | 50pxpx | thumb ]]
<nowiki>[[Image:Example.png | 50pxpx | thumb ]]</nowiki> </code> = [[Image:Example.png | 50pxpx | thumb ]]
::Currently fails. But the devs have stated that they are adding back parsing of "pxpx" in the next update to Wikishia. So if you see a small image to the right then Wikishia again accepts "pxpx".
::Currently fails. But the devs have stated that they are adding back parsing of "pxpx" in the next update to Wikihaj. So if you see a small image to the right then Wikihaj again accepts "pxpx".
<br clear=all />
<br clear=all />
* <code>
* <code>
خط ۱۳۱: خط ۱۳۱:
</includeonly>
</includeonly>


[[رده:Wikishia metatemplates|{{PAGENAME}}]]
[[رده:Wikihaj metatemplates|{{PAGENAME}}]]
۲٬۱۰۴

ویرایش