Difference between revisions of "Template:Box"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "<noinclude>== Description == This templates create a box with an image. == Parameters == {| class="wikitable" ! # ! Optional ! Description |- {{ParameterRow|1|Small image on...")
 
m (!fixed parameter numbers;)
Line 21: Line 21:
  
  
[[Category:Templates|Box]]</noinclude><includeonly><div style="word-wrap: normal; margin: 0em 0em 0.5em; border-style: none solid solid none; padding: 0px; background-color: {{{1|#C8FF96}}}; font-size: 95%; border-color:#aaaaaa; border-width:1px;" class="noprint">
+
[[Category:Templates|Box]]</noinclude><includeonly><div style="word-wrap: normal; margin: 0em 0em 0.5em; border-style: none solid solid none; padding: 0px; background-color: {{{3|#C8FF96}}}; font-size: 95%; border-color:#aaaaaa; border-width:1px;" class="noprint">
 
{| cellspacing="8" cellpadding="0" style="background-color: transparent;"
 
{| cellspacing="8" cellpadding="0" style="background-color: transparent;"
| style="vertical-align: middle; width: 32px;" | [[File:{{{2}}}|32px|link=]]
+
| style="vertical-align: middle; width: 32px;" | [[File:{{{1}}}|32px|link=]]
{{#if:{{{3|}}}|
+
{{#if:{{{4|}}}|
! <big>{{{3}}}</big>
+
! <big>{{{4}}}</big>
 
}}
 
}}
| style="vertical-align: middle; width: 100%; text-align: left;" | {{{4}}}
+
| style="vertical-align: middle; width: 100%; text-align: left;" | {{{2}}}
 
|}
 
|}
 
</div></includeonly>
 
</div></includeonly>

Revision as of 16:50, 9 March 2013

Description

This templates create a box with an image.

Parameters

Template:ParameterRowTemplate:ParameterRowTemplate:ParameterRowTemplate:ParameterRow
# Optional Description

Example

Text
 {{Box|Kerbin18.png|Text|#FFCCCC|Title}}