Even for a low-activity wiki, hosting & rendering many HQ image files takes significant resources and comes with high monthly server costs.
If you're able, please consider contributing to keep the site running to help support this independent, ad-free, fan-run site. Thank you!
Difference between revisions of "Template:Feature box"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<div style="width: 220px; height: 326px; background: #ddd; box-shadow: 4px 4px 0px #242d3c; padding: 0; margin: 5px; text-align: center;"> | <div style="width: 220px; height: 326px; background: #ddd; box-shadow: 4px 4px 0px #242d3c; padding: 0; margin: 5px; text-align: center;"> | ||
− | <p style="background: #242d3c; margin-top: 0; font-size: 24px; height: 60px; line-height: {{#ifeq: {{{OneLine|}}} | | + | <p style="background: #242d3c; margin-top: 0; font-size: 24px; height: 60px; line-height: {{#ifeq: {{{OneLine|}}} | False | 30px | 60px }}; text-transform: uppercase; width: 100%; padding: 10px 0;"> |
− | <span class="MainPageBox-link">[[{{{TitleLink|Main Page}}}|{{{Title| | + | <span class="MainPageBox-link">[[{{{TitleLink|Main Page}}}|{{{Title|KRZ}}}]]</span> |
</p> | </p> | ||
− | <div style="margin: 0 auto; margin-top: 10px; width: 150px; height: 150px; overflow: hidden; border: 4px solid #242d3c;" {{#ifeq: {{{ | + | <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 | }}"> |
− | [[{{{File|File:Equus Oils.png}}}|{{{ImageAlign| | + | [[{{{File|File:Equus Oils.png}}}|{{{ImageAlign|left}}}|{{{ImageSize|250px}}}|link={{{Link|{{{TitleLink|Main Page}}}}}}]] |
</div> | </div> | ||
Line 22: | Line 22: | ||
| Title = | | Title = | ||
| TitleLink = | | TitleLink = | ||
− | | OneLine = (optional. defaults to | + | | OneLine = (optional. defaults to True) |
| File = | | File = | ||
− | | ImageAlign = (optional. defaults to | + | | ImageAlign = (optional. defaults to left) |
| ImageSize = (optional. defaults to 250px) | | ImageSize = (optional. defaults to 250px) | ||
− | | | + | | ShiftImageY = (optional. defaults to False) |
+ | | ShiftImageX = (optional. defaults to False) | ||
| Link = (optional. defaults to TitleLink) | | Link = (optional. defaults to TitleLink) | ||
| Description = | | Description = |
Revision as of 09:18, 26 June 2018
Your poetic blurb
here…
Usage
{{MainPageBox | | Title = | TitleLink = | OneLine = (optional. defaults to True) | File = | ImageAlign = (optional. defaults to left) | ImageSize = (optional. defaults to 250px) | ShiftImageY = (optional. defaults to False) | ShiftImageX = (optional. defaults to False) | Link = (optional. defaults to TitleLink) | Description = | DescThreeLines = (optional. defaults to False) }}