Template:Px/doc
維基百科,自由的 encyclopedia
This is the {{px}} template.
![]() | 此頁面是Template:Px的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
![]() | 此Template文档被引用於約47,000個頁面。 為了避免造成大規模的影響,所有對此Template文档的編輯應先於沙盒、測試樣例或您的沙盒上測試。 測試後無誤的版本可以一次性地加入此Template文档中,但是修改前請務必於討論頁發起討論。 模板引用數量會自動更新。 |
This meta-template helps other templates, such as infoboxes, to take image size parameters in both of the forms "40" or "40px". It takes up to three parameters and returns the first one that has any content. That is, the first one that is defined (not null) and not empty. Thus a default value for the width of the image can be fed as the second or third parameter.