Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:ExternalImage: Difference between revisions

Template page
Created page with "<includeonly>{| class="wikitable infobox-right" ! colspan="2" style="padding:5px;" | {{#tag:html| <img src="{{{imageUrl}}}" width="256px">}} |- | colspan="2" | {{{label}}} |}</includeonly><noinclude> {{ExternalImage |imageUrl = https://cdn.discordapp.com/emojis/1002348238487171102.png |label = Barry, 63 }} <html> <pre> {{ExternalImage |imageUrl = https://cdn.discordapp.com/emojis/1002348238487171102.png |label = Barry, 63 }} </pre> </html> </noinclude>"
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable infobox-right"
<includeonly>{| class="wikitable floatright infobox-right"
! colspan="2" style="padding:5px;" | {{#tag:html| <img src="{{{imageUrl}}}" width="256px">}}
! colspan="2" style="padding:5px;" | {{#tag:html| <img src="{{{imageUrl}}}" width="256px">}}


Line 19: Line 19:
</pre>
</pre>
</html>
</html>
</noinclude>
<templatedata>
{
"params": {
"imageUrl": {
"aliases": [
"Image URL"
],
"label": "Image URL",
"description": "Link to the externally hosted image",
"example": "https://cdn.discordapp.com/emojis/1002348238487171102.png",
"type": "url",
"required": true
},
"label": {
"aliases": [
"Image Label"
],
"label": "Image Label",
"description": "The label to show underneath the image",
"type": "string",
"required": true
}
},
"description": "External image box"
}
</templatedata></noinclude>

Latest revision as of 08:05, 4 April 2025

Barry, 63

{{ExternalImage
|imageUrl = https://cdn.discordapp.com/emojis/1002348238487171102.png
|label = Barry, 63
}}

External image box

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Image URLimageUrl Image URL

Link to the externally hosted image

Example
https://cdn.discordapp.com/emojis/1002348238487171102.png
URLrequired
Image Labellabel Image Label

The label to show underneath the image

Stringrequired