Difference between revisions of "Template:Feature box"

From Highway 0, the Kentucky Route Zero wiki
Jump to navigation Jump to search
Line 1: Line 1:
<div style="width: 220px; background: #ddd; box-shadow: 4px 4px 0px #242d3c; padding: 0 0 5px 0; margin: 5px; text-align: center;">
+
<div style="width: 220px; 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|}}} | True | 60px | 30px }}; text-transform: uppercase; width: 100%; padding: 10px 0;">
 
<p style="background: #242d3c; margin-top: 0; font-size: 24px; height: 60px; line-height: {{#ifeq: {{{OneLine|}}} | True | 60px | 30px }}; text-transform: uppercase; width: 100%; padding: 10px 0;">
Line 9: Line 9:
 
</div>
 
</div>
  
<p style="font-size: 15px; padding: 5px 15px; line-height: 1.25em; height: 46px; margin-top: {{#ifeq: {{{DescThreeLines|}}} | True | 0 | 25px }};">
+
<p style="font-size: 15px; padding: 5px 15px; line-height: 1.25em; height: 46px; {{#ifeq: {{{DescThreeLines|}}} | True | | margin-top: 12.5px; }}">
 
{{{Description|What even ''is'' this all, anyway…?}}}
 
{{{Description|What even ''is'' this all, anyway…?}}}
 
</p>
 
</p>

Revision as of 08:44, 26 June 2018

Kentucky
Route Zero

Equus Oils.png

What even is this all, anyway…?


Usage

{{MainPageBox |
| Title = 
| TitleLink = 
| OneLine = (optional. defaults to False)
| File = 
| ImageAlign = (optional. defaults to center)
| ImageSize = (optional. defaults to 250px)
| Link = (optional. defaults to TitleLink)
| Description = 
| DescThreeLines = (optional. defaults to False)
}}