Difference between revisions of "Template:Feature box"

From Highway 0, the Kentucky Route Zero wiki
Jump to navigation Jump to search
Line 9: Line 9:
 
</div>
 
</div>
  
<p style="font-size: 15px; padding: 5px 15px; line-height: 1.25em; height: 46px; {{#ifeq: {{{DescThreeLines|}}} | True | | margin-top: 15px; }}">
+
<p style="font-size: 15px; padding: 5px 15px; line-height: 1.25em; height: 46px; {{#ifeq: {{{DescThreeLines|}}} | True | margin-top: 6px; | margin-top: 15px; }}">
 
{{{Description|Your poetic blurb <br> here…}}}
 
{{{Description|Your poetic blurb <br> here…}}}
 
</p>
 
</p>

Revision as of 15:43, 30 June 2018

KRZ

Equus Oils.png

Your poetic blurb
here…

Usage

{{Feature box
| 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)
}}