در حال ویرایش الگو: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 | 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. | ||
=== See also === | === See also === | ||
* [[ | * [[Wikishia: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 | ::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". | ||
<br clear=all /> | <br clear=all /> | ||
* <code> | * <code> | ||
خط ۱۳۱: | خط ۱۳۱: | ||
</includeonly> | </includeonly> | ||
[[رده: | [[رده:Wikishia metatemplates|{{PAGENAME}}]] |