Template:Cat Image: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) mNo edit summary |
CptTwinkie (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div class="hoverzoom" style="display: inline-block;">[[File:{{{1|No.png}}}| | <includeonly><div class="hoverzoom" style="display: inline-block;">[[File:{{{1|No.png}}}|128x128px|frameless|link={{{2}}}]] | ||
<div style="display: inline-block; position: relative; bottom: -72px; left: -50%; height: 28px; width: 50%; background: rgba(0,0,0,.8);"><div style="margin-left: auto; margin-right: auto; max-height: 28px; max-width: 100%; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;">{{{2}}}</div></div></div></includeonly><noinclude> | <div style="display: inline-block; position: relative; bottom: -72px; left: -50%; height: 28px; width: 50%; background: rgba(0,0,0,.8);"><div style="margin-left: auto; margin-right: auto; max-height: 28px; max-width: 100%; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;">{{{2}}}</div></div></div></includeonly><noinclude> | ||
==Example== | ==Example== |
Revision as of 22:17, 19 July 2022
Example
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.