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 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|40px|link={{{2}}}]]</div>
<div style="position: absolute; right: 0px; top: 0px">[[File:VariantsAvailable.png|128px|link={{{2}}}]]</div>
</div></includeonly><noinclude>
</div></includeonly><noinclude>
==Example==
==Example==

Revision as of 13:02, 23 May 2018

Example

StairsSharp.png
VariantsAvailable.png

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 VariantsAvailable.png 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.