FANDOM


Box HoverEdit

CSSEdit

Replace purple with desired color:

.borderimage img { 
   border: 2px solid transparent;
}
 
.borderimage img:hover { 
   border: 2px solid purple;
}

TemplateEdit

Then create a template:

<span class="borderimage">{{{1|}}}</span>

HTMLEdit

Replace BorderImage with the desired template name. Replace Wiki-wordmark with desired filename.

{{BorderImage|[[File:Wiki-wordmark.png]]}}

ResultEdit

Wiki-wordmark

Community content is available under CC-BY-SA unless otherwise noted.