Difference between revisions of "Template:Box"

From WebOS Internals
Jump to navigation Jump to search
m (fix?)
(apparently we don't have {{#if:}})
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}}} }}
+
{{{1}}}
 
</div>
 
</div>
  
Line 19: Line 19:
 
If you need to use a = in the box, use:
 
If you need to use a = in the box, use:
 
<source lang='text'>
 
<source lang='text'>
{{box | color = #F5FAFF | content =
+
{{box | color = #F5FAFF | 1 =
 
content with =
 
content with =
 
}}
 
}}

Revision as of 02:17, 26 July 2009

{{{1}}}


usage: <source lang='text'>

content


</source>

gives:

content


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

content with =


</source>