Difference between revisions of "Template:Feature box"

From Highway 0, the Kentucky Route Zero wiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
<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;">
<span class="MainPageBox-link">[[{{{TitleLink|Kentucky Route Zero}}}|{{{Title|''Kentucky<br>Route Zero''}}}]]</span>
+
<span class="MainPageBox-link">[[{{{TitleLink|Main Page}}}|{{{Title|''Kentucky<br>Route Zero''}}}]]</span>
 
</p>
 
</p>
  
<div style="margin: 0 auto; margin-top: 10px; width: 150px; height: 150px; overflow: hidden; border: 4px solid #242d3c;">
+
<div style="margin: 0 auto; margin-top: 10px; width: 150px; height: 150px; overflow: hidden; border: 4px solid #242d3c;" {{#ifeq: {{{ShiftImage|}}} | True | class="MainPageBox-shiftimage" | }}>
[[{{{File|File:Equus Oils.png}}}|{{{ImageAlign|center}}}|{{{ImageSize|250px}}}|link={{{Link|{{{TitleLink|Kentucky Route Zero}}}}}}]]
+
[[{{{File|File:Equus Oils.png}}}|{{{ImageAlign|center}}}|{{{ImageSize|250px}}}|link={{{Link|{{{TitleLink|Main Page}}}}}}]]
 
</div>
 
</div>
  
 
<p style="font-size: 15px; padding: 5px 15px; line-height: 1.25em; height: 46px; {{#ifeq: {{{DescThreeLines|}}} | True | | margin-top: 12.5px; }}">
 
<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|Your poetic blurb <br> here…}}}
 
</p>
 
</p>
  
Line 26: Line 26:
 
| ImageAlign = (optional. defaults to center)
 
| ImageAlign = (optional. defaults to center)
 
| ImageSize = (optional. defaults to 250px)
 
| ImageSize = (optional. defaults to 250px)
 +
| ShiftImage = (optional. defaults to False)
 
| Link = (optional. defaults to TitleLink)
 
| Link = (optional. defaults to TitleLink)
 
| Description =  
 
| Description =  

Revision as of 09:03, 26 June 2018

Kentucky
Route Zero

Equus Oils.png

Your poetic blurb
here…


Usage

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