Template:BoxGreen: Difference between revisions

From evermeet.cx Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
{|style="width:{{{width}}};height:{{{height}}};border-spacing:8px;margin:0px -8px"
{|style="{{#if:{{{width|}}}|width:{{{width}}}; }} {{#if:{{{height|}}}|height:{{{height}}}; }} border-spacing:8px; margin:0px -8px"
|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;"
{|style="width:100%; border-spacing:5px; vertical-align:top; background:#f5fffa;"
{{#if: {{{title|}}} |
{{#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>
! style="padding:2px;" {{!}} <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>
|
|
}}
}}

Latest revision as of 15:43, 28 February 2018

{{{text}}}

Usage

{{BoxGreen|[width=500px]|[height=250px]|[title=Place title here]|text={{:Page_to_include}}}}

Example

{{BoxGreen|width=500px|height=150px|title=This is the title|text=Here comes the text.}}

This is the title

Here comes the text.