Difference between revisions of "Template:Box"

From Kerbal Space Program Wiki
Jump to: navigation, search
(+more examples;)
Line 15: Line 15:
 
|}
 
|}
  
== Example ==
+
It is possible to add additional rows by using {{Tl|!}} in the Text parameter. One example is {{Tl|SVG available}}.
 +
 
 +
== Examples ==
 
{{Box|Kerbin18.png|Text|#FFCCCC|Title}}
 
{{Box|Kerbin18.png|Text|#FFCCCC|Title}}
  
 
   <nowiki>{{Box|Kerbin18.png|Text|#FFCCCC|Title}}</nowiki>
 
   <nowiki>{{Box|Kerbin18.png|Text|#FFCCCC|Title}}</nowiki>
  
 +
{{Box|notice.svg|'''This article is currently undergoing a major expansion or revamping.''' However, you are free to help in the construction of this page by improving it.|#aaaaff|}}
 +
 +
  <nowiki>{{Box|notice.svg|'''This article is currently undergoing a major expansion or revamping.''' However, you are free to help in the construction of this page by improving it.|#aaaaff|}}</nowiki>
 +
 +
== Additional Box templates ==
 +
* {{Tl|SVG available}}
 +
* {{Tl|Delete}}
 +
* {{Tl|Protect}}
 +
* {{Tl|Spoiler}}
 +
 +
There exists another box template named {{Tl|mbox}} which for example {{Tl|Stub}} uses.
  
 
[[Category:Templates|Box]]</noinclude><includeonly><div style="word-wrap: normal; margin: 0em 0em 0.5em; {{#ifeq: {{{3}}}|transparent|border-style: none;|border-style: none solid solid none;}} padding: 0px; background-color: {{{3|#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; {{#ifeq: {{{3}}}|transparent|border-style: none;|border-style: none solid solid none;}} padding: 0px; background-color: {{{3|#C8FF96}}}; font-size: 95%; border-color:#aaaaaa; border-width:1px;" class="noprint">

Revision as of 18:42, 23 March 2013

Description

This templates create a box with an image.

Parameters

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

It is possible to add additional rows by using {{!}} in the Text parameter. One example is {{SVG available}}.

Examples

Text
 {{Box|Kerbin18.png|Text|#FFCCCC|Title}}
This article is currently undergoing a major expansion or revamping. However, you are free to help in the construction of this page by improving it.
 {{Box|notice.svg|'''This article is currently undergoing a major expansion or revamping.''' However, you are free to help in the construction of this page by improving it.|#aaaaff|}}

Additional Box templates

There exists another box template named {{mbox}} which for example {{Stub}} uses.