Changes

Jump to: navigation, search

Template:CardTable2

15 bytes added, 4 years ago
fix width code to also catch cases where an image's native width is less than 300px, and a manual width is specified which is the same as the image's native width
}}{{IfSemantics|[[Card image::{{ #var: $image }}| ]]}}{{ #if: {{{width|}}}
| [[Category:CardTable2 parameter tracking (width)]]{{ #if: {{ #var: $image }}<!-- custom widths only for actual images, not default backings -->
| {{ #iferror: {{ #ifexpr: {{{width}}} < 300{{ #var: $width }}
| {{ #vardefine: $width | {{{width}}} }}
| [[Category:CardTable2 transclusions with bad width values]]

Navigation menu