Template:Feature box: Difference between revisions
No edit summary |
|||
| Line 5: | Line 5: | ||
</p> | </p> | ||
<div style="margin: 0 auto; margin-top: 10px; width: 150px; height: 150px; overflow: hidden; border: 4px solid #242d3c;" class="{{#ifeq: {{{ShiftImageY|}}} | True | MainPageBox-shiftimageY | }} {{#ifeq: {{{ShiftImageX|}}} | True | MainPageBox-shiftimageX | }}"> | <div style="margin: 0 auto; margin-top: 10px; width: 150px; height: 150px; overflow: hidden; border: 4px solid #242d3c;" class="{{#ifeq: {{{ShiftImageY|}}} | True | MainPageBox-shiftimageY | }} {{#ifeq: {{{ShiftImageY2|}}} | True | MainPageBox-shiftimageY2 | }} {{#ifeq: {{{ShiftImageX|}}} | True | MainPageBox-shiftimageX | }}"> | ||
[[{{{File|File:Equus Oils.png}}}|{{{ImageAlign|left}}}|{{{ImageSize|250px}}}|link={{{Link|{{{TitleLink|Main Page}}}}}}]] | [[{{{File|File:Equus Oils.png}}}|{{{ImageAlign|left}}}|{{{ImageSize|250px}}}|link={{{Link|{{{TitleLink|Main Page}}}}}}]] | ||
</div> | </div> | ||
| Line 29: | Line 29: | ||
| ImageSize = (width of File thumbnail. defaults to 250px) | | ImageSize = (width of File thumbnail. defaults to 250px) | ||
| ShiftImageY = (if image should be moved down by 25%. defaults to False) | | ShiftImageY = (if image should be moved down by 25%. defaults to False) | ||
| ShiftImageY2 = (if image should be moved down by 38%. defaults to False) | |||
| ShiftImageX = (if image should be moved right by 25%. defaults to False) | | ShiftImageX = (if image should be moved right by 25%. defaults to False) | ||
| Link = (File link. defaults to TitleLink) | | Link = (File link. defaults to TitleLink) | ||