Difference between revisions of "Template:Box"

From WebOS Internals
Jump to navigation Jump to search
(adding named parameter for content with a =)
m (fix?)
Line 1: Line 1:
 
<div style="background-color: {{{color|#F5FAFF}}}; border: 1px solid #aaa; padding: .75em; margin-bottom: .75em">
 
<div style="background-color: {{{color|#F5FAFF}}}; border: 1px solid #aaa; padding: .75em; margin-bottom: .75em">
{{#if: {{{content}}} | {{{content}}} | {{{1}}} }}
+
{{#if: {{{content|}}} | {{{content}}} | {{{1}}} }}
 
</div>
 
</div>
  

Revision as of 02:12, 26 July 2009

{{#if: | {{{content}}} | {{{1}}} }}


usage: <source lang='text'>

{{#if: | {{{content}}} | content

}}


</source>

gives:

{{#if: | {{{content}}} | content

}}


If you need to use a = in the box, use: <source lang='text'>

{{#if: content with = | content with = | {{{1}}} }}


</source>