Template:Block Group Image: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><div style="position: relative; display: inline-block; width: 128px; height: 128px;">[[File:{{{1|No.png}}}|128px|link={{{2}}}]]
<includeonly><div class="hoverzoom" style="position: relative; display: inline-block; width: 128px; height: 128px;">[[File:{{{1|No.png}}}|128px|link={{{2}}}]]
<div style="position: absolute; right: 0px; top: 0px">[[File:VariantsAvailable.png|128px|link={{{2}}}]]</div>
<div style="position: absolute; right: 0px; top: 0px">[[File:VariantsAvailable.png|128px|link={{{2}}}]]</div>
</div></includeonly><noinclude>
</div></includeonly><noinclude>

Revision as of 18:12, 23 May 2018

Example

Usage

The Block Group Image template is meant to be used when adding large (128px) inline images to Category:Block Group. It works much the same as Template:Cat Image but overlays the image with the icon.

{{Block Group Image|<imagename>|<link>}}
  • The code above can be pasted into your page and edited.

Example Source

{{Block Group Image|StairsSharp.png|Template:Block Group Image}}
  • Cat Image.jpg used with no permission at all.