Template:Image: Difference between revisions
(Created page with "<includeonly>{| class="wikitable infobox-right" ! colspan="2" style="padding:5px;" | [[File:{{{file}}}]] |- | colspan="2" | {{{label}}} |}</includeonly><noinclude> {{Image |file:Guardian-logo.png |label:Guardian Logo }} Image box <html> <pre> {{Image |file:Guardian-logo.png |label:Guardian Logo }} </pre> </html> </noinclude>") |
m (Protected "Template:Image" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| class="wikitable infobox-right" | <includeonly>{| class="wikitable infobox-right" | ||
! colspan="2" style="padding:5px;" | [[File:{{{file}}}]] | ! colspan="2" style="padding:5px;" | [[File:{{{file}}}|256px]] | ||
|- | |- | ||
Line 7: | Line 7: | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
{{Image | {{Image | ||
|file | |file = Guardian-logo.png | ||
|label | |label = Guardian Logo | ||
}} | }} | ||
<html> | <html> | ||
<pre> | <pre> | ||
{{Image | {{Image | ||
|file | |file = Guardian-logo.png | ||
|label | |label = Guardian Logo | ||
}} | }} | ||
</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> |
Latest revision as of 09:55, 17 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 |