Template:Cat 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 class="hoverzoom" style="display: inline-block;">[[File:{{{1|No.png}}}|128px|frameless|link={{{2}}}]]<div style="display: inline-block; relative: absolute; bottom: 0; left: 0; height: 28; width: 100%; background: rgba(0,0,0,.8);"><div style="margin-left: auto; margin-right: auto;">{{{2}}}</div></div></div></includeonly><noinclude>
<includeonly><div class="hoverzoom" style="display: inline-block;">[[File:{{{1|No.png}}}|128px|frameless|link={{{2}}}]]<div style="display: inline-block; relative: absolute; bottom: 0; left: 0; height: 28; width: 128px; background: rgba(0,0,0,.8);"><div style="margin-left: auto; margin-right: auto;">{{{2}}}</div></div></div></includeonly><noinclude>
==Example==
==Example==
{{Cat_Image|Cat Image.jpg|Template:Cat Image}}
{{Cat_Image|Cat Image.jpg|Template:Cat Image}}

Revision as of 21:45, 19 July 2022

Example

Template:Cat Image

Usage

The Cat Image template is meant to be used when adding large (128px) inline images to CATegory pages.

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

Example Source

{{Cat_Image|Cat Image.jpg|Template:Cat Image}}
  • Cat Image.jpg used with no permission at all.