모듈:InfoboxImage/설명문서
보이기
이 문서는 모듈:InfoboxImage에 대한 설명입니다. 여기에는 틀 사용법, 분류 등 원래의 모듈 문서에는 포함되지 않는 내용을 담고 있습니다. |
Overview
This module is used within infoboxes to process the image parameters and tidy up the formatting of the result.
Parameters
Parameter | Description |
---|---|
image | Required. The main parameter that should be passed over which contains the image info. |
size | Size to display image. |
maxsize | Maximum size to display image. Note: If no size or sizedefault params specified then image will be shown at maxsize. |
sizedefault | The size to use for the image if no size param is specified. Defaults to frameless. |
alt | Alt text for image |
border | If yes, then a border is added. |
suppressplaceholder | If yes then will suppress certain placeholder images. |
NOte: If you specify the maxsize or sizedefault params, the should include the px after the number.
Sample Usage
|image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}}}