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|}}} | False | 30px | 60px }}; text-transform: uppercase; width: 100%; padding: 10px 0;">
 
<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|KRZ}}}]]</span>
+
<span class="MainPageBox-link">[[{{{TitleLink|Main Page}}} {{#ifeq: {{{ExternalUrl|}}} | True |  | {{!}} }} {{{Title|KRZ}}}]]</span>
 
</p>
 
</p>
  
Line 14: Line 14:
  
 
</div><noinclude>
 
</div><noinclude>
 +
  
  
Line 22: Line 23:
 
| Title =  
 
| Title =  
 
| TitleLink =  
 
| TitleLink =  
 +
| ExternalUrl = (optional. defaults to False)
 
| OneLine = (optional. defaults to True)
 
| OneLine = (optional. defaults to True)
 
| File =  
 
| File =  

Revision as of 09:26, 26 June 2018

KRZ

Equus Oils.png

Your poetic blurb
here…


Usage

{{MainPageBox |
| Title = 
| TitleLink = 
| ExternalUrl = (optional. defaults to False)
| 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)
}}