Difference between revisions of "Template:Feature box"
Jump to navigation
Jump to search
(→Usage) |
|||
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) |
Revision as of 12:38, 27 June 2018
Your poetic blurb
here…
Usage
{{MainPageBox | | Title = | TitleLink = | ExternalUrl = (if TitleLink is external. defaults to False) | OneLine = (if Title spans one line. defaults to True) | File = | ImageAlign = (File alignment. defaults to left. use ShiftImageX for centering) | ImageSize = (width of File thumbnail. defaults to 250px) | 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) | Link = (File link. defaults to TitleLink) | Description = | DescThreeLines = (if Description spans three lines. defaults to False) }}