Open main menu

Editing Template:Feature box

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
<div class="featurebox" style="width: 200px; height: 326px; background: #ddd; box-shadow: 4px 4px 0px #999; padding: 0; margin: 5px; text-align: center;">
+
<div style="width: 220px; background: #ddd; box-shadow: 4px 4px 0px #242d3c; padding: 0 0 5px 0; margin: 5px; text-align: center;">
  
<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|}}} | True | 60px | 30px }}; text-transform: uppercase; width: 100%; padding: 10px 0;">
<span class="featurebox-link">{{#ifeq: {{{ExternalUrl|}}} | True |  | [ }}[{{{TitleLink|Main Page}}} {{#ifeq: {{{ExternalUrl|}}} | True |  | {{!}} }} {{{Title|KRZ}}}]{{#ifeq: {{{ExternalUrl|}}} | True |  | ] }}</span>
+
<span class="MainPageBox-link">[[{{{TitleLink|Kentucky Route Zero}}}|{{{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;">
[[File:{{{File|Featurebox Game.png}}}|left|150px|link={{{FileLink|{{{TitleLink|Main Page}}}}}}]]
+
[[{{{File|File:Equus Oils.png}}}|{{{ImageAlign|center}}}|{{{ImageSize|250px}}}|link={{{Link|{{{TitleLink|Kentucky Route Zero}}}}}}]]
 
</div>
 
</div>
  
<p style="font-size: 15px; padding: 5px 15px; line-height: 1.25em; height: 46px; {{#ifeq: {{{DescThreeLines|}}} | True | margin-top: 6px; | margin-top: 15px; }}">
+
<p style="font-size: 15px; padding: 5px 15px; line-height: 1.25em; height: 46px;">
{{{Description|Your poetic blurb <br> here ...}}}
+
{{{Description|<span style="margin-top: 25px;">What even ''is'' this all, anyway…?</span>}}}
 
</p>
 
</p>
  
 
</div><noinclude>
 
</div><noinclude>
 +
  
 
== Usage ==
 
== Usage ==
  
 
  <nowiki>
 
  <nowiki>
{{Feature box
+
{{MainPageBox |
 
| Title =  
 
| Title =  
 
| TitleLink =  
 
| TitleLink =  
| ExternalUrl =   (if TitleLink is external. default: False)
+
| OneLine = (optional. defaults to False)
| OneLine =        (if Title spans one line. default: True)
 
 
| File =  
 
| File =  
| FileLink =       (image link. default: same as TitleLink)
+
| ImageAlign = (optional. defaults to center)
 +
| ImageSize = (optional. defaults to 250px)
 +
| Link = (optional. defaults to TitleLink)
 
| Description =  
 
| Description =  
| DescThreeLines = (if the description spans three lines. defaults: False)
 
 
}}
 
}}
 
</nowiki>
 
</nowiki>
 +
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Please note that all contributions to Highway 0 are considered to be released under the Creative Commons Attribution-ShareAlike (see HWY0:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)