Even for a low-activity wiki, hosting & rendering many HQ image files takes significant resources and comes with high monthly server costs.
If you're able, please consider contributing to keep the site running to help support this independent, ad-free, fan-run site. Thank you!

Difference between revisions of "Template:Feature box"

From Highway 0, the Kentucky Route Zero wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
<div class="featurebox" style="width: 210px; height: 326px; background: #ddd; box-shadow: 4px 4px 0px #999; padding: 0; margin: 5px; text-align: center;">
+
<div class="featurebox" style="width: 200px; height: 326px; background: #ddd; box-shadow: 4px 4px 0px #999; padding: 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|}}} | False | 30px | 60px }}; text-transform: uppercase; width: 100%; padding: 10px 0;">
Line 6: Line 6:
  
 
<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|Equus Oils.png}}}|left|150px|link=File:{{{FileLink|{{{TitleLink|Main Page}}}}}}]]
+
[[File:{{{File|Featurebox Game.png}}}|left|150px|link=File:{{{FileLink|{{{TitleLink|Main Page}}}}}}]]
 
</div>
 
</div>
  

Revision as of 05:54, 28 January 2020

KRZ

Featurebox Game.png

Your poetic blurb
here ...

Usage

{{Feature box
| Title = 
| TitleLink = 
| ExternalUrl =    (if TitleLink is external. default: False)
| OneLine =        (if Title spans one line. default: True)
| File = 
| FileLink =       (image link. default: same as TitleLink)
| Description = 
| DescThreeLines = (if the description spans three lines. defaults: False)
}}