Template:Image: Difference between revisions
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
|label = Guardian Logo | |label = Guardian Logo | ||
}} | }} | ||
<html> | <html> | ||
Line 20: | Line 19: | ||
</pre> | </pre> | ||
</html> | </html> | ||
</noinclude> | <templatedata> | ||
{ | |||
"params": { | |||
"file": { | |||
"aliases": [ | |||
"File Name" | |||
], | |||
"label": "File name", | |||
"description": "The name of the uploaded file to show", | |||
"example": "Guardian-logo.png", | |||
"type": "wiki-file-name", | |||
"required": true | |||
}, | |||
"label": { | |||
"aliases": [ | |||
"Label" | |||
], | |||
"label": "Image label", | |||
"description": "The label to show underneath the image", | |||
"example": "Guardian Logo", | |||
"type": "string", | |||
"required": true | |||
} | |||
}, | |||
"description": "Image box" | |||
} | |||
</templatedata></noinclude> |
Revision as of 14:50, 15 February 2023
Guardian Logo |
{{Image |file = Guardian-logo.png |label = Guardian Logo }}
Image box
Parameter | Description | Type | Status | |
---|---|---|---|---|
File name | file File Name | The name of the uploaded file to show
| File | required |
Image label | label Label | The label to show underneath the image
| String | required |