Template:BoxGreen: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
make title optional |
||
Line 2: | Line 2: | ||
|class="MainPageBG" style="border:1px solid #cef2e0; background:#f5fffa; vertical-align:top; color:#000"| | |class="MainPageBG" style="border:1px solid #cef2e0; background:#f5fffa; vertical-align:top; color:#000"| | ||
{|width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background:#f5fffa;" | {|width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background:#f5fffa;" | ||
{{#if: {{{title|}}} | | |||
! <p style="margin:0; background:#cef2e0; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;">{{{title}}}</p> | ! <p style="margin:0; background:#cef2e0; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;">{{{title}}}</p> | ||
| | |||
}} | |||
|- | |- | ||
|style="color:#000"|{{{text}}} | |style="color:#000"|{{{text}}} |
Revision as of 14:47, 17 October 2017
|
Usage: {{BoxGreen|[width=500px]|[height=250px]|title=Place title here|text={{:Page_to_include}}}}